Added first structure and tests

This commit is contained in:
2020-11-19 23:06:57 +01:00
parent b3b09d2462
commit adfef66621
20 changed files with 144 additions and 0 deletions

24
docs/init_template.txt Normal file
View File

@@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
"""
{} {}
~~~~~~~~~~~~~~~~~~~
{}
:copyright: (c) {} {}
:license: {}
"""
__title__ = '{}'
__author__ = '{}'
__license__ = '{}'
__copyright__ = '{}'
__version__ = '{}'
from collections import namedtuple
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
version_info = VersionInfo(major={}, minor={}, micro={})

10
docs/structure.md Normal file
View File

@@ -0,0 +1,10 @@
- sh_edraft
- common # Contains Interfaces and models for the hole library
- interface
- model
- configuration # Contains classes for app configuration by JSON, ENV vars and arguments
- discord # Contains classes for better use of discord.py
- logging # Contains classes for logging
- mailing # Contains classes for mailing
- messenger # Contains classes for sh_messenger_server client
- service # Contains classes to provide and use the services defined in this library

2
docs/todo.md Normal file
View File

@@ -0,0 +1,2 @@
- create logger
- use logger in publisher