Mypackage is a python package template for convenience of personal project development.
- https://github.com/bast/somepackage
- https://docs.python-guide.org/writing/structure/
- https://www.makeareadme.com/
- https://keepachangelog.com/en/1.0.0/
pip3 install --user cookiecutter
cookiecutter https://github.com/xuzuoyang/mypackage -c cookiecutter project_name=AnotherPackage
>>> from mypackage import dict_substract
>>> dict_substract({}, {'a': 11})
{}
>>> dict_substract({'a': 12}, {'a': 11})
{'a': 12}
>>> dict_substract({'a': 11, 'b': 0}, {'a': 11})
{'b': 0}
python3.5+
- add tests.
- add travis ci.
- add use of tox.
- cookiecutter mypackage.
- enrich setup.cfg for lint.