Repository containing tools used by the AI-Team
-
JsonLoader: tool to load and dump json into files
-
LoggerFactory: tool to create a preconfigured logger using the singleton pattern
python3 -m pip install --upgrade build
python3 -m buildBefore uploading to PyPI you should verify that everything works by uploading to TestPyPI
python3 -m pip install --upgrade twine
python3 -m twine upload --repository testpypi dist/*Test upload to TestPyPI
python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps aichopen-toolsThen refer to the usage section
Once tested on TestPyPI
python3 -m twine upload dist/*First install
pip install .If you have an existing install, and want to ensure package and dependencies are updated
pip install --upgrade .or
pip uninstall aichopen-tools
pip install .pip install aichopen-toolsfrom aichopen_tools.json_loader import JsonLoader
from aichopen_tools.logger import LoggerFactory
You can find examples of issue and pull requests templates in the directory .github