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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: futsu-0.0.31.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for futsu-0.0.31.tar.gz
Algorithm Hash digest
SHA256 1d2cfc0639e933fcc6c9d5c4ad6ce8d449ce055ea73aa83425220a06953e67f5
MD5 4403a0c237059432b6a5776802b7bca4
BLAKE2b-256 4564adbe30686e176dee31457d9550c9b48dacfa5fee5d0c4c9ea912da83799c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: futsu-0.0.31-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for futsu-0.0.31-py3-none-any.whl
Algorithm Hash digest
SHA256 98d6677ca302f6bb468d6639d9436aef5f864b211541e8203b752060ec62c006
MD5 282b3d00d2bc51db036ca5d5564c1262
BLAKE2b-256 05076732f759e6608149364d75668c69f83cce7e4d9b29142893a74011e45152

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