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

Uploaded Source

Built Distribution

encommon-0.7.0-py3-none-any.whl (55.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: encommon-0.7.0.tar.gz
  • Upload date:
  • Size: 33.3 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.0.tar.gz
Algorithm Hash digest
SHA256 8b756388e0442afbd2a9fcb98e14a51ec6d8e7065814f3effe081ab479be700b
MD5 445dde99428171ee138974e2d1eaca06
BLAKE2b-256 da3e31a5dfa38bac68157ed829e4216d31916c37608d31593405f9b6b54dc1e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: encommon-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 55.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67012baacd00ad4bd98fa4360d63b3cc7529fb145c2c6164797ba35b1eb03414
MD5 5fbc864a48fea7e810b217e0bac7f4a9
BLAKE2b-256 0384ecf33e0657f279cd9700e0362781b18a3c62bef61fc41c36b43563a589f4

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