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.28.tar.gz
(12.8 kB
view details)
Built Distribution
futsu-0.0.28-py3-none-any.whl
(17.7 kB
view details)
File details
Details for the file futsu-0.0.28.tar.gz
.
File metadata
- Download URL: futsu-0.0.28.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 | ac498f88a58b0f4b1250acbbafc60c580ffabfbb6d6fdf498186c583099c23c4 |
|
MD5 | da23978019f24981681233f82a05c1ca |
|
BLAKE2b-256 | f2c8c87d627ceee18c66c49801c1003f19bc16659be81843215be364c8054fb7 |
File details
Details for the file futsu-0.0.28-py3-none-any.whl
.
File metadata
- Download URL: futsu-0.0.28-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 | 336d9896a82e440e218a4b1abf3ac5909cd858ea546cbc21a660acf5b0a904b9 |
|
MD5 | 2c8964efdd9970614bee463e17695aa4 |
|
BLAKE2b-256 | 292421a870b2224e16f71c6dabc6cead04e8c657178f3ff2c93af4dffac27213 |