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.24.tar.gz
(9.5 kB
view details)
Built Distribution
futsu-0.0.24-py3-none-any.whl
(14.6 kB
view details)
File details
Details for the file futsu-0.0.24.tar.gz
.
File metadata
- Download URL: futsu-0.0.24.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8386e95ae71a61c647e6dddaa4f9503d9b793090b2b8b20d95fa8d47e44ea9b0 |
|
MD5 | 13eb4bbd50d3a4ffccfcdc49513d7789 |
|
BLAKE2b-256 | c1e896e27031a7eb15631739e73b594f5821714855eb709e154b42a5bbe50acb |
File details
Details for the file futsu-0.0.24-py3-none-any.whl
.
File metadata
- Download URL: futsu-0.0.24-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3263e2118a2ae9f454971b87a6c18b503b2696dbf78a8be1870e1cd24c4de24e |
|
MD5 | f3e2abc279eaaec85e19c53fd4b10cde |
|
BLAKE2b-256 | a5975169322ed0ed0277f872cd272e0c084ec2c13ac3a1670275cee37c4633db |