Skip to main content

The framework for developing different web-services (asynchronous) and reusable components for them.

Project description

Ingots

The framework for developing different web-services (asynchronous) and reusable components for them.

For consumers

Installation

For using the framework just execute the following commands:

python3.12 -m venv .venv
source .venv/bin/activate
pip install ingots

For developers

Cloning the project

Execute the following commands:

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

Prepare a virtual environment

Execute the following commands:

python3.12 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt

Prepare repository hooks

Execute the following commands:

pre-commit autoupdate
pre-commit install

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

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

Using the tox tool

The project has some automation via the tox tool.

Use the tox tool for the following 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 environment variable for specifying PyPI destination.

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

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

ingots-0.2.1.tar.gz (40.9 kB view details)

Uploaded Source

File details

Details for the file ingots-0.2.1.tar.gz.

File metadata

  • Download URL: ingots-0.2.1.tar.gz
  • Upload date:
  • Size: 40.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for ingots-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4add79b064b35662abc0bf52906454e91da2ded4d16ed00968c30a2ba4e7e354
MD5 bd15db7d4954b2e422ce36f7ce227783
BLAKE2b-256 e0f17dab2efc18dd70f65990054c6c49ad426258d7d9714e18c090928b5ff997

See more details on using hashes here.

Supported by

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