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

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.12.0.tar.gz (43.0 kB view hashes)

Uploaded Source

Built Distribution

encommon-0.12.0-py3-none-any.whl (71.3 kB view hashes)

Uploaded Python 3

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