Skip to main content

Provides functionality for working with the RabbitMQ tool

Project description

Ingot Rabbitmq Ingot package.

Provides functionality for working with the RabbitMQ tool

For consumers

For using the Ingot package just execute the following command:

pip install ingot_rabbitmq

Of course, need to activate a destination virtual environment before:

source .venv/bin/activate

... or to create one, if it hasn't prepared yet:

python3 -m venv .venv

Bootstrap entrypoint

The Ingot package provides the Bootstrap CLI tool. It allows to begin working with the Ingot package quickly. It generates the following skeletons: TODO. Add builders here after generating their by the ingots package_bootstrap tool.

For using the CLI tool just call the following command:

ingot-rabbitmq-cli <command> --name=<entity_name> --description="The <entity> brief description."

Getting help:

ingot-rabbitmq-cli --help
ingot-rabbitmq-cli <command> --help

For developers

Prepare the project for working

Clone a repository:

mkdir ingots-libs
cd ingots-libs
git clone https://github.com/ABKorotky/ingot-rabbitmq.git
cd ingot-rabbitmq

Prepare a virtual environment:

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

Prepare repository hooks

pip install pre_commit
pre-commit install

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. Set the INGOT_RABBITMQ_VERSION_SUFFIX virtual variable for specify package suffix.

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

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

Use the following command instead:

python -m ingot_rabbitmq.scripts.ingot_rabbitmq ...

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-rabbitmq-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

ingot_rabbitmq-0.1.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ingot-rabbitmq-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.2

File hashes

Hashes for ingot-rabbitmq-0.1.0.tar.gz
Algorithm Hash digest
SHA256 639d0b527fa8e868953740278acdfe325e1d37aa6a8397befeb4fc5cf413da17
MD5 fe648a7dd24a2db821375503857bf86b
BLAKE2b-256 68612bca61c2febeca74a47793671df43ca8c85ea6a40d5130aaa2ada88e3f60

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ingot_rabbitmq-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.2

File hashes

Hashes for ingot_rabbitmq-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e717e470eb123c424d3238ce7d2aa2434caae2d79410345c5854abd0c0b34291
MD5 766dd656a8438ad6161d93cc297b6bba
BLAKE2b-256 547d0399d5655eee9a0c3e05a6752820316bc34059078ef8d78936c19dba4669

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