Skip to main content

Enasis Network Project Basics

Project description

Enasis Network Project Basics

This project has not released its first major version.

Support functions useful in a wide variety of development 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.

Installing the package

Installing stable from the PyPi repository

pip install enbasics

Installing latest from GitHub repository

pip install git+https://github.com/enasisnetwork/enbasics

Additional package dependencies

  • enbasics[badges] for constructing project badges.

Constructing project badges

python -m enbasics.execution.badges \
  --output "path/to/badge.png" \
  --label "Badge" \
  --value "failure"

See this project's document.yml for ideas!

Quick start for local development

Start by cloning the repository to your local machine.

git clone https://github.com/enasisnetwork/enbasics.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

enbasics-0.2.0.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

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

enbasics-0.2.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file enbasics-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for enbasics-0.2.0.tar.gz
Algorithm Hash digest
SHA256 35ba8cff8e96145369162f145462eef5394141dc0bf1412e3fd95bd03532402f
MD5 4b2f51d4e80cf5d46fa60d022896afe7
BLAKE2b-256 100938ee676e918af5f3227edec11efabaff359e11dfe2ad746e317b02550591

See more details on using hashes here.

File details

Details for the file enbasics-0.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for enbasics-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12047c6b93f974a0befa58a7e7b2e9b7b6e8642af8a2acbf6f97a2f8a4faa4aa
MD5 a2226f3440667bb4ab02403004505e5a
BLAKE2b-256 1f346b43284850921b638eaf5239951a2e8784c0f99e2928205381b0310c8215

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