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 config configurations create futsu
gcloud config set project futsu
export GOOGLE_APPLICATION_CREDENTIALS=${PWD}/key/futsu-4bc2f6db1c50.json
virtualenv --python python3 venv
source venv/bin/activate
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.19.tar.gz
(8.8 kB
view details)
Built Distribution
futsu-0.0.19-py3-none-any.whl
(14.5 kB
view details)
File details
Details for the file futsu-0.0.19.tar.gz
.
File metadata
- Download URL: futsu-0.0.19.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 502cf5a90ac01feea35d2918e8078b7baf2609412a274a8680b2d8642bb3becd |
|
MD5 | 932f286b90ad37c22d0474a0c6e01e25 |
|
BLAKE2b-256 | 8ded4479f2f0487b4b792149b6ab6d90c92f0ab108affec79f4864969b266f7a |
File details
Details for the file futsu-0.0.19-py3-none-any.whl
.
File metadata
- Download URL: futsu-0.0.19-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c61adaa388c486a591b6f1f47416c5f46229bcea704916d33872bdc5b718e55 |
|
MD5 | fe74d361ce0adddfd611b85908903c60 |
|
BLAKE2b-256 | 972d9bbe5e5d3ee88539b16918fd99ab21671ef9f482a9f76e7978cf56dde504 |