Skip to main content

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.

Release files for ingots 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ingots 0.2.1
File Size Uploaded
ingots-0.2.1.tar.gz 40.9 kB Details

Release files / ingots-0.2.1.tar.gz

Download URL ingots-0.2.1.tar.gz
Size 40.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4add79b064b35662abc0bf52906454e91da2ded4d16ed00968c30a2ba4e7e354
BLAKE2b-256 checksum
How to use checksums
e0f17dab2efc18dd70f65990054c6c49ad426258d7d9714e18c090928b5ff997
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page