Skip to main content

Enasis Network Common Library

Project description

Enasis Network Common Library

Common classes and functions used in various public and private projects for Enasis Network.


codecov


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

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.

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

Build and upload to PyPi

Build the package.

make -s pypackage

Upload to the test PyPi.

make -s pypi-upload-test

Upload to the prod PyPi.

make -s pypi-upload-prod

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.7.6.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

encommon-0.7.6-py3-none-any.whl (55.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for encommon-0.7.6.tar.gz
Algorithm Hash digest
SHA256 30b05175b6471060c8be912f1a8aaeaead0b2e28c4a4051e6062339ce2369f44
MD5 40c954ca82c3e5c9a4a510385b56a4cb
BLAKE2b-256 8f09888963a6541a48c99374f5e1e16a887816335c85faba297813a0b4c3c0fb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for encommon-0.7.6-py3-none-any.whl
Algorithm Hash digest
SHA256 eec373e4fc79d4c851ad194a772753e927fb2042ddde36eb884d4e752538e540
MD5 1bdc039db090478c04237c823992e122
BLAKE2b-256 a8bbbbbe77284f360d08e673fcedd666961c90a7ac8b51dad82419ba6e6cbf01

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