Skip to main content

Enasis Network Common Library

Project description

Enasis Network Common Library

:children_crossing: This project has not released its first major version.

Common classes and functions used in various public and private projects.


codecov


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.

  1. Rebuild the environment.

    make -s check-revenv
    
  2. Update the version.txt file.

  3. Push to the main branch.

  4. Create repository release.

  5. Build the Python package.

    make -s pypackage
    
  6. Upload Python package to PyPi test.

    make -s pypi-upload-test
    
  7. Upload Python package to PyPi prod.

    make -s pypi-upload-prod
    
  8. Update Read the Docs documentation.

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

encommon-0.15.0.tar.gz (48.3 kB view details)

Uploaded Source

Built Distribution

encommon-0.15.0-py3-none-any.whl (82.0 kB view details)

Uploaded Python 3

File details

Details for the file encommon-0.15.0.tar.gz.

File metadata

  • Download URL: encommon-0.15.0.tar.gz
  • Upload date:
  • Size: 48.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for encommon-0.15.0.tar.gz
Algorithm Hash digest
SHA256 b5e633a194d2a0abb5a3be99bdda553bb9b1267a9a4443fa95fcbb5fd2747eb7
MD5 64a0f2a4a1cd4fd78e5ed9070a934a78
BLAKE2b-256 7cdfd7eee8d6cda7e62eaa7b56944c787df057023846a69c69f6a90ba6a8a617

See more details on using hashes here.

File details

Details for the file encommon-0.15.0-py3-none-any.whl.

File metadata

  • Download URL: encommon-0.15.0-py3-none-any.whl
  • Upload date:
  • Size: 82.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for encommon-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a6bfacd45442e07ddf42580d9c452d48061ec32a71dffba9c92d7a5099dd7f9
MD5 05d6018db8e7b3bc3c3d8a296909698e
BLAKE2b-256 e26e7417cf16c2fcc4c48c40d2c9b7cff65dd4f10955d104395166bc44540f93

See more details on using hashes here.

Supported by

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