Skip to main content

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

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

   rm -rf dist \
&& python3 setup.py test \
&& python3 setup.py sdist bdist_wheel \
&& python3 -m twine upload -u luzi82 dist/*

Project details


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.12.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

futsu-0.0.12-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file futsu-0.0.12.tar.gz.

File metadata

  • Download URL: futsu-0.0.12.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for futsu-0.0.12.tar.gz
Algorithm Hash digest
SHA256 9d02e327f8c95ce683be472bdabebcd9fa90be954c262e7266fbb8270ffb03c6
MD5 13d8a408788a35440552fdbe2e236c42
BLAKE2b-256 e9e59d014cb133a60b5edb6100cd2d66da15292d6481935e26f94a7831209cc1

See more details on using hashes here.

File details

Details for the file futsu-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: futsu-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for futsu-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 e88713955ba1db6d5c1d6a7dfa5b09c1cc7e48f7673b2064ea9a9d1943ac29cd
MD5 5adc5550994a6d57955d33099c68ed8e
BLAKE2b-256 2d5011b123a30098107fcf31aa26ae7dec1c734a43d0b71d3db4313e4f286a8c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page