Simple en- and decryption script
pip install -U PyCryptodome coverage
pip install tenc
usage: tenc [-h] -f PATH -p PASSWORD [-d]
Encrypt and decrypt files
optional arguments:
-h, --help show this help message and exit
-f PATH Path to file
-p PASSWORD The password
-d Should decrypt otherwise encrypt
tenc -p 5a04ec902686fb05a6b7a338b6e07760 -f ./test.json
tenc -p 5a04ec902686fb05a6b7a338b6e07760 -f ./test.json.enc -d
python3 -m unittest discover
coverage run -m unittest discover && coverage report && coverage html
python3 setup.py sdist bdist_wheel
python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
python3 setup.py develop
python setup.py develop --uninstall
# docs
sphinx-apidoc -o source/ ../tenc
cd docs
make clean && make html
python -m compileall .