Enasis Network Common Library
Project description
Enasis Network Common Library
:warning: This project has not released its first major version.
Common classes and functions used in various public and private projects.
Documentation
Documentation is on Read the Docs.
Should you venture into the sections below you will be able to use the
sphinx
recipe to build documention in the docs/html
directory.
Projects using library
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
:warning: Ensure that no changes are pending.
-
Rebuild the environment.
make -s check-revenv
-
Update the version.txt file.
-
Push to the
main
branch. -
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
-
Update Read the Docs documentation.
-
Consider running builds on dependent projects.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file encommon-0.19.1.tar.gz
.
File metadata
- Download URL: encommon-0.19.1.tar.gz
- Upload date:
- Size: 53.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5276c641b14ffec94d0a85dcc4bb338e7e6d3b4443b19b8ac1a958e477c68a44 |
|
MD5 | dab502fddca05fefb5016996903185ae |
|
BLAKE2b-256 | a053333149b64b2be5fff1907bf16cdaa42702d7d41f6fa50f3353c85df7e606 |
File details
Details for the file encommon-0.19.1-py3-none-any.whl
.
File metadata
- Download URL: encommon-0.19.1-py3-none-any.whl
- Upload date:
- Size: 90.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99ced87eb5cfedc4a401c0eed57d42d9407b0fba0a8633f4ecdbc5e7bb927bbe |
|
MD5 | cfe646a8e46f17abdade7165332bcc0d |
|
BLAKE2b-256 | ba0665023b6b13d4a3884fbd0206725a096513edf2ae7f17a75c6c0ef402b017 |