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
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.35.tar.gz
(13.8 kB
view details)
Built Distribution
futsu-0.0.35-py3-none-any.whl
(18.8 kB
view details)
File details
Details for the file futsu-0.0.35.tar.gz
.
File metadata
- Download URL: futsu-0.0.35.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c5a0aee27694fb904a5a91a80fd1cd79ef481761ec2065901f3157ceed7acfc |
|
MD5 | 1cd77cd0be743915224f47bc61614d59 |
|
BLAKE2b-256 | c1c6c999c7bfd608869631b21d2ef228f7bb4337d863708ca985a7cb434304a5 |
File details
Details for the file futsu-0.0.35-py3-none-any.whl
.
File metadata
- Download URL: futsu-0.0.35-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ea3c5c5c59de947228d373857fcfd1044cfad35abc810789de1fcbe4483a3a0 |
|
MD5 | 9466163d8ed089eac6a97af6d7a380cc |
|
BLAKE2b-256 | 31d3df2b46bba911c0b00ba039cd074e30fd3f2bda163965fdbae9fe60bae6b6 |