Skip to main content

Ingot Protobuf Ingot package.

Provides protobuf functionality for Ingots projects

For consumers

For using the Ingot package just execute the following command:

pip install ingot_protobuf

Of course, need to activate a destination virtual environment:

source .venv/bin/activate

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

python3 -m venv .venv

Bootstrap

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

For using the CLI tool just call the following command:

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

Getting help:

ingot-protobuf --help
ingot-protobuf <command> --help

For developers

Prepare the project for working

Clone a repository:

mkdir ingots-libs
cd ingots-libs
git clone https://github.com/<path>/ingot_protobuf.git
cd ingot_protobuf

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 {NAME}_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_protobuf.scripts.ingot_protobuf ...

Metadata

Release files for ingot-protobuf 0.1.0

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

Source distribution (sdist)

Source distribution for ingot-protobuf 0.1.0
File Size Uploaded Provenance
ingot-protobuf-0.1.0.tar.gz 6.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ingot-protobuf 0.1.0
File Interpreter ABI Platform
ingot_protobuf-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.1 kB

Release files / ingot-protobuf-0.1.0.tar.gz

Download URL ingot-protobuf-0.1.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c133fa2be0eb5b50b8585f7f32aff4ef69cad09cb5db56b4c181562797114abd
BLAKE2b-256 checksum
How to use checksums
4141a7693c603fd8befc7317e6e51cd99eb5771db1f23ead1cc3c58a62134eef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2

Release files / ingot_protobuf-0.1.0-py3-none-any.whl

Download URL ingot_protobuf-0.1.0-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14ec61346fd11ec698c36aa7d3de2bc83ae23802f4f6f77707dc55853e55f699
BLAKE2b-256 checksum
How to use checksums
153be1b531418e69f8465de9edcab5853150bfe8f3ccaa4cfa12ab0c4d07afcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2

Security for ingot-protobuf 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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