Skip to main content

No project description provided

Project description

Ingot Redis Ingot package.

For consumers

For using the Ingot package just execute the following commands:

  • Add the package to the requirements.txt file of your project.
  • Install int using the pip tool.
  • TODO. Add here something extra information.

Package CLI

The package provides CLI. It allows to start working with the package quickly. It contains the following commands: TODO. Add builders here after generating their by the ingots package_bootstrap tool.

For using the CLI tool just call the following command:

ingot-redis-cli <command>

Getting package CLI help:

ingot-redis-cli --help
ingot-redis-cli <command> --help

For developers

Prepare the project for working

Clone a repository:

mkdir ingots-libs
cd ingots-libs
git clone
cd ingot-redis

Prepare a virtual environment:

python3.9 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Prepare repository hooks

pip install pre_commit
pre-commit install
pre-commit autoupdate

Configure code-quality tools:

pip install black flake8 mypy coverage

Configure the Sphinx tool

Please, use the following page for configuring the Sphinx documentation generator: Sphinx

pip install sphinx
sphinx-build -b html docs docs/build -v

Using the tox tool

The Ingot package allows automation via the tox tool.

pip install tox

Use configured tox tool for several activities.

tox -e reformat - auto reformat code by the black tool, makes ordering import too.

tox -e cs - checks code style by PEP8.

tox -e ann - checks annotations of types by the mypy tool.

tox -e utc - runs unittests with the coverage tool.

tox -e report - builds coverage report for the project.

tox -e doc - builds a package documentation.

tox -e build - builds a package form current branch / tag / commit.

tox -e upload - uploads package to the PyPI index. Set the PYPI_REPOSITORY_ALIAS virtual variable for specify PyPI destination.

Calling tox without parameters will execute the following steps: cs, ann, utc and report.

Using package CLI locally

Obviously, it's impossible to call the package CLI via package entry-point.

Use the following command instead:

python -m ingot_redis.scripts.ingot_redis ...

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

ingot-redis-0.1.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ingot_redis-0.1.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file ingot-redis-0.1.0.tar.gz.

File metadata

  • Download URL: ingot-redis-0.1.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for ingot-redis-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a1ce2483a528522917347f83f258988f32cd8432914076d12e291f82a02f4f24
MD5 36b9527533d5570b1b5e0ecefd65c123
BLAKE2b-256 60c08b45c403bd8784017ccb2ec318210ba6af6182a2e0a282fadebc9407ab8e

See more details on using hashes here.

File details

Details for the file ingot_redis-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ingot_redis-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for ingot_redis-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0420a1037a098c45640a44b393085033eb06d4cd6d28d12ea9370062a90524a7
MD5 a014ecdc3777a84e3670634ef9d44bf5
BLAKE2b-256 7192969e8635f42fecb2bf95675b3901e613d7ffa00a01f775eae3deef9c8313

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page