Very reusable python code
Project description
Futsu
Futsu = Japanese 普通 , means general, ordinary, usual.
You can see this lib is like Apache Commons, but in python.
https://github.com/luzi82/py.futsu
Cheat sheet
gcloud auth login
gcloud config configurations create futsu
gcloud config set project futsu-242513
export GOOGLE_APPLICATION_CREDENTIALS=${PWD}/key/futsu-4bc2f6db1c50.json
virtualenv --python python3 venv
source venv/bin/activate
pip install --upgrade pip wheel
pip install --upgrade setuptools wheel nose twine keyring google-cloud-storage boto3 lazy-import
keyring set https://upload.pypi.org/legacy/ luzi82
keyring set https://test.pypi.org/legacy/ luzi82
rm -rf dist
python3 setup.py test
python3 setup.py sdist bdist_wheel
python3 -m twine upload -u luzi82 --repository-url https://test.pypi.org/legacy/ dist/*
deactivate
mkdir -p tmp;cd tmp
rm -rf venv_test
virtualenv --python python3 venv_test
source venv_test/bin/activate
pip install --index-url https://test.pypi.org/simple/ --no-deps futsu
python3 -c "import futsu;print(futsu.name)"
deactivate
cd ..
source venv/bin/activate
python3 -m twine upload -u luzi82 dist/*
deactivate
# short output
# update version in setup.py
export GOOGLE_APPLICATION_CREDENTIALS=${PWD}/key/futsu-4bc2f6db1c50.json
source venv/bin/activate
rm -rf dist \
&& python3 setup.py test \
&& python3 setup.py sdist bdist_wheel \
&& python3 -m twine upload -u luzi82 dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
futsu-0.0.32.tar.gz
(12.8 kB
view details)
Built Distribution
futsu-0.0.32-py3-none-any.whl
(17.7 kB
view details)
File details
Details for the file futsu-0.0.32.tar.gz
.
File metadata
- Download URL: futsu-0.0.32.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63ae1df479588028b47943879c1a853862f64ee0f998431a355acc17d295622c |
|
MD5 | 6f9f5214bc59bda8a1dc6e5eee314e75 |
|
BLAKE2b-256 | f4f43730da67ab50e76abedfc7399a9fc4a30dfada86206335e5808c8ca294c7 |
File details
Details for the file futsu-0.0.32-py3-none-any.whl
.
File metadata
- Download URL: futsu-0.0.32-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17530f6f6f97b7e2933d04cd0c21bc1949c0829b035676d8ff1ea9e3a7c99c04 |
|
MD5 | fccd84ff26e1d449318c40c03e1d95b2 |
|
BLAKE2b-256 | 87d909463729a4676bd50d3c2dc5e47d797a360c5350d8b0f928d05c511077f9 |