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 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

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

Uploaded Source

Built Distribution

futsu-0.0.14-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: futsu-0.0.14.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for futsu-0.0.14.tar.gz
Algorithm Hash digest
SHA256 8e923def910f474e5f3f17e110ae910ae34f6e05bfbda3b1e33cfa24a456c4fe
MD5 1149f42b53d3f548be6067d2028b2ef2
BLAKE2b-256 0e82ebd8a40f6c3c54c9aa3d3897e782890f431712d316500b2f76a9cd155bd0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: futsu-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for futsu-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 02b3c701e471800abdadba2f3eb557fc23ed3464d5ea58fc3c3f378b76d0094f
MD5 1971d7ab30b94834e813dacf79f33dcd
BLAKE2b-256 2d97b5f5bb2f9294c4075937c086b001a553a8d4ac8c6aeb31e674e29a2d865c

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