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

Uploaded Source

Built Distribution

futsu-0.0.11-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: futsu-0.0.11.tar.gz
  • Upload date:
  • Size: 6.2 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.1 CPython/3.6.7

File hashes

Hashes for futsu-0.0.11.tar.gz
Algorithm Hash digest
SHA256 584e174d9e98a923fd91c3083e589558bd3b6848aa43a18afae32838a45c7328
MD5 343cb812840a9ce7b6ad48f93e38da2a
BLAKE2b-256 ab9b7a6b6bb271e3852ff9ab68a68209d97436dc198c8c4056a2988c9b3fad60

See more details on using hashes here.

File details

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

File metadata

  • Download URL: futsu-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 10.2 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.1 CPython/3.6.7

File hashes

Hashes for futsu-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 25b85fcf48b3c50f44bf3420db422737818f7f085e70d77f7e878544262efa16
MD5 885cdc84d5cca209f1d2af268575330d
BLAKE2b-256 5621045f08d781dd2196b18be58017cf3a7c877780e55c9953ca7e226f3ea576

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