Skip to main content

Enasis Network Common Library

Project description

Enasis Network Common Library

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

encommon-0.22.13-py3-none-any.whl (133.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for encommon-0.22.13.tar.gz
Algorithm Hash digest
SHA256 deb2a5e6d4a55b09dffc6b34b688e55993008aa6f7acc5c15354114431f821a8
MD5 68f17bd82efe34ec28649c8f8c79e633
BLAKE2b-256 6fa8f7273d9bdc92b65c95ec4caad4a619b0c1036b45f80f56018ab62cd037f3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for encommon-0.22.13-py3-none-any.whl
Algorithm Hash digest
SHA256 5d1f3ec139be92016083d1f669544257a60cfcd5a5c54f8c8d801c98425e37df
MD5 f9c5bc7cccfeb875068426cd583653ad
BLAKE2b-256 f6af60e6e26514be22ab0c7de4ff7f9fea2392ad1c03b90a1efe9cfa3cbca13f

See more details on using hashes here.

Supported by

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