Skip to main content

Very reusable python code

Project description

Gitpod ready-to-code

Python package

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


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

Uploaded Source

Built Distribution

futsu-0.0.33-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: futsu-0.0.33.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for futsu-0.0.33.tar.gz
Algorithm Hash digest
SHA256 141e7efed38e784d38d352ad5111ab63c0b33390885da1ae020d98b8163b0cc4
MD5 b7f384748f3b7173d0cadd5b8c22b84e
BLAKE2b-256 a8bf923c1a63de8fca7f5d86cb2614154cb01576f156f99d3bd2cb8370cdd348

See more details on using hashes here.

File details

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

File metadata

  • Download URL: futsu-0.0.33-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for futsu-0.0.33-py3-none-any.whl
Algorithm Hash digest
SHA256 df0ccf9a9ca279b5c4d31e7c26d8ba4934d021f44879baa8c5b92d9f250e1bb0
MD5 29a5bffa7d31f9ce336550e4bb1caff9
BLAKE2b-256 18f13f5f161edbeaaf8f742dd2d3b116f029e9e74e2538a1bc89b615b893f7c5

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