Skip to main content

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

⚠️ 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
    

Metadata

Release files for enbasics 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for enbasics 0.2.2
File Size Uploaded
enbasics-0.2.2.tar.gz 11.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for enbasics 0.2.2
File Interpreter ABI Platform
enbasics-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 25.1 kB

Release files / enbasics-0.2.2.tar.gz

Download URL enbasics-0.2.2.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
46c47664e47923b1fc77658d3891ba44eca52f11002d2b77a18edd1e94065640
BLAKE2b-256 checksum
How to use checksums
49f58b5c0dd3df2ea48f1598cdb3dbad3fcd065ab32eda0ade41a82048f9295f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.6

Release files / enbasics-0.2.2-py3-none-any.whl

Download URL enbasics-0.2.2-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
581a9db333ab71b78294986df55b24e7c4110375da7a6d65212fd1ff49c36287
BLAKE2b-256 checksum
How to use checksums
3ae8b3e5bee0bbf28828435dfb6ef231606b25091a153a7ce8e31a250825ca4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.6

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page