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.22.tar.gz
(9.2 kB
view details)
Built Distribution
futsu-0.0.22-py3-none-any.whl
(14.8 kB
view details)
File details
Details for the file futsu-0.0.22.tar.gz
.
File metadata
- Download URL: futsu-0.0.22.tar.gz
- Upload date:
- Size: 9.2 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 | 4de1e4c2fe9065321f2ba77c2aae9021e8c4ed4b1e4170c825016307b8a35374 |
|
MD5 | a5b27be5fefb6f9e875b62880accf075 |
|
BLAKE2b-256 | d2cd5f4380e69512677dd5559d3d31c21a9996bdb40ec20de7057ee8a0deb6ff |
File details
Details for the file futsu-0.0.22-py3-none-any.whl
.
File metadata
- Download URL: futsu-0.0.22-py3-none-any.whl
- Upload date:
- Size: 14.8 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 | de9d51fe6b50270d3f661d07e5042e4b6e0ba554fec8e0b3dc19f7a978b92fa7 |
|
MD5 | 80bf5b803cade938ae4f91220e146b30 |
|
BLAKE2b-256 | c64ea0846eb269b41434fd7c804ee8d84de73d4ac69bfbbdeca0f9153cad7f87 |