This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding:utf-8 | |
import concurrent | |
import logging | |
from concurrent import futures | |
from concurrent.futures import ThreadPoolExecutor | |
from datetime import datetime | |
from time import sleep | |
from app.app_logic_base import AppLogicBase | |
from app.enum.gender_type import GenderType |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding:utf-8 | |
import os | |
from pathlib import PurePath | |
from util import app_config | |
""" | |
appクラスの基底クラスです。 | |
""" | |
__author__ = "t.ebinuma" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding:utf-8 | |
import unittest | |
from app.write_csv_file import WriteCsvFile | |
from sql import emp | |
from test.unit_test_base import UnitTestBase | |
""" | |
CSVファイル書き込みを行うサンプルアプリケーションのテストです | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding:utf-8 | |
import unittest | |
from app.read_csv_file import ReadCsvFile | |
from sql import fruit | |
from test.unit_test_base import UnitTestBase | |
""" | |
CSVファイル読み込みを行うサンプルアプリケーションのテストです | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding:utf-8 | |
import filecmp | |
import logging | |
import os | |
import unittest | |
from app.sql import sql_common | |
from app.util import app_config, file_access, message_access, string_helper, db_access | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding:utf-8 | |
import logging | |
import logging.config | |
import os | |
import sys | |
import yaml | |
from app.util import db_access, string_helper |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding:utf-8 | |
import csv | |
import logging | |
import os | |
from app.app_logic_base import AppLogicBase | |
from app.sql import employees | |
from app.util import app_config, message_access, date_helper | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding:utf-8 | |
import datetime | |
import glob | |
import logging | |
import os | |
from app.util import app_config, date_helper | |
""" | |
ログファイルをローテーション(バックアップと過去ファイル削除)するサンプルアプリケーションです |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding:utf-8 | |
import logging | |
from app.app_logic_base import AppLogicBase | |
from app.util import message_access, app_config, mail_sender | |
""" | |
メール送信するサンプルアプリケーションです | |
""" | |
__author__ = "t.ebinuma" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding:utf-8 | |
import email | |
import email.header | |
import imghdr | |
import logging | |
import mimetypes | |
import os | |
import smtplib | |
from email.mime.base import MIMEBase | |
from email.mime.multipart import MIMEMultipart |
NewerOlder