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 pip
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.23.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

futsu-0.0.23-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for futsu-0.0.23.tar.gz
Algorithm Hash digest
SHA256 6385d93c165fd6cc99ab9fe7392221b3ab0a74c7f743ece8442c835cf6b14adb
MD5 54e3efa2a19b163deeb8774ea581a1b0
BLAKE2b-256 a8d8df051eee73eb747529e846b9e03e496a127ebf083658dd81b21d152a930b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for futsu-0.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 8d2c915cb3e8a36fa5707d91f385e8df8eb4825d530bb24b6c23f41ffdad2d37
MD5 b19302c8d0dda173346fae68e3e0b1f0
BLAKE2b-256 c0a6d7f05681c2e227d901fe8ebe0f46fd25aa04ffee5d6a1907a4de011cc9d7

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