Tweaks for Google Colab.
The colabtweak
git repo is available as PyPi package
pip install colabtweak
In Colab use this
! pip install colabtweak
- Check syntax:
flake8 --ignore=F401
- Remove
.pyc
files:find . -type f -name "*.pyc" | xargs rm
- Remove
__pycache__
folders:find . -type d -name "__pycache__" | xargs rm -rf
- Upload to PyPi with twine:
python setup.py sdist && twine upload -r pypi dist/*
Please open an issue for support.
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.