Skip to main content

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

Read project documentation built using the Sphinx project. Should you venture into the sections below you will be able to use the sphinx recipe to build documention in the sphinx/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.
    Be sure no uncommited files in tree.

    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
    

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

Uploaded Source

Built Distribution

encommon-0.20.5-py3-none-any.whl (90.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for encommon-0.20.5.tar.gz
Algorithm Hash digest
SHA256 83c297ad940845097f9eb394d15cb7ce8e552f6b74f664410d1745fea320112e
MD5 91412cddff0f3f42e6526bef30bc9019
BLAKE2b-256 56fb3510988cdb991225b5eefcc557c088ef8b1a8ff1ac7cd14dd76266a6c178

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for encommon-0.20.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b0ecd5a5784ff3572a6c8b696a6ab5be47fb9b2404d5303c34480f543669e50a
MD5 45c8a247e4c4cd6d013b34b0009c7a02
BLAKE2b-256 19afe22722b208a63d669aff82189d9a0eb7a2c4d5186139ed13565c310a0678

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