Enasis Network Common Library
This project has not released its first major version.
Common classes and functions used in various public and private projects.
Documentation
Read project documentation
built using the Sphinx project.
Should you venture into the sections below you will be able to use the
sphinx recipe to build documention in the sphinx/html directory.
Projects using library
- Enasis Network Remote Connect
- Enasis Network Homie Automate
- Enasis Network Chatting Robie
- Enasis Network Orchestrations
Installing the package
Installing stable from the PyPi repository
pip install encommon
Installing latest from GitHub repository
pip install git+https://github.com/enasisnetwork/encommon
Quick start for local development
Start by cloning the repository to your local machine.
git clone https://github.com/enasisnetwork/encommon.git
Set up the Python virtual environments expected by the Makefile.
make -s venv-create
Execute the linters and tests
The comprehensive approach is to use the check recipe. This will stop on
any failure that is encountered.
make -s check
However you can run the linters in a non-blocking mode.
make -s linters-pass
And finally run the various tests to validate the code and produce coverage
information found in the htmlcov folder in the root of the project.
make -s pytest
Version management
⚠️ Ensure that no changes are pending.
-
Rebuild the environment.
make -s check-revenv -
Update the version.txt file.
-
Push to the
mainbranch. -
Create repository release.
-
Build the Python package.
Be sure no uncommited files in tree.make -s pypackage -
Upload Python package to PyPi test.
make -s pypi-upload-test -
Upload Python package to PyPi prod.
make -s pypi-upload-prod
Metadata
Release files for encommon 0.23.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| encommon-0.23.1.tar.gz | 80.0 kB | Without provenance | Details for encommon-0.23.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| encommon-0.23.1-py3-none-any.whl | Python 3 | none | any | Details for encommon-0.23.1-py3-none-any.whl |
Total release size: 220.5 kB
Release files / encommon-0.23.1.tar.gz
| Download URL | encommon-0.23.1.tar.gz |
|---|---|
| Size | 80.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0c92d3f8014f2e253ed77f105f0ff0a11d88f8d41f23967d3894cb88b43a1ee
|
|
BLAKE2b-256 checksum How to use checksums |
cf8949ebed4fa706c0d4b72a65ca9b05ac19c8429e5fcde207121cb97deee444
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / encommon-0.23.1-py3-none-any.whl
| Download URL | encommon-0.23.1-py3-none-any.whl |
|---|---|
| Size | 140.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0fc12aaebf83746da661367c4a844776a84b44c78326db12ee60598119312b6b
|
|
BLAKE2b-256 checksum How to use checksums |
3e45bd5b6e988a358c5a8035696136e7ca151242ead3cb9e1d4eb1f41ffc279b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Security for encommon 0.23.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.