SigmaEpsilon.Core - Common developer utilities for Python projects
The package contains some usefull stuff for general Python development activites that turned out to be highly reusable during developing projects in the SigmaEpsilon namespace.
Some of the most notable contents:
-
Metaprogramming
- A collection of meta and abstract base classes.
- A
classpropertydecorator. - A solution to enforce abstract class properties on a class.
- Reusable facilities for project configuration, testing, exceptions, etc.
-
Wrapping
- An extendible
Wrapperclass and a few factory functions to help you safely wrap objects.
- An extendible
Documentation
The documentation is built with Sphinx using the PyData Sphinx Theme and hosted on ReadTheDocs.
Installation
Before attempting to install the package, it is suggested to upgrade pip:
python -m pip install --upgrade pip
sigmaepsilon.core can be installed (either in a virtual enviroment or globally) from PyPI using pip on Python >= 3.7:
>>> pip install sigmaepsilon.core
or chechkout with the following command using GitHub CLI
gh repo clone sigma-epsilon/sigmaepsilon.core
and install from source by typing
>>> pip install .
If you want to run the tests, you can install the package along with the necessary optional dependencies like this
>>> pip install ".[test]"
Development mode
For development purposes, it is suggested to install the package in editable mode, with the optional dependencies for both testing, development and documentation
>>> pip install -e ".[test, dev, docs]"
Testing and coverage
To run the tests, run the following command in the root of the project:
python -m pytest --cov-report html --cov-config=.coveragerc --cov sigmaepsilon.core
License
This package is licensed under the MIT license. See the attached LICENSE file for the details.
Metadata
Release files for sigmaepsilon.core 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sigmaepsilon_core-1.2.2.tar.gz | 29.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sigmaepsilon_core-1.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 63.6 kB
Release files / sigmaepsilon_core-1.2.2.tar.gz
| Download URL | sigmaepsilon_core-1.2.2.tar.gz |
|---|---|
| Size | 29.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ffd6ce4f9e3f10d9d456519fd65cdb8daf1957e3f20f45caf959e69e57981c8
|
|
BLAKE2b-256 checksum How to use checksums |
a1d09ce8a1189b4024cf7a4e0dbe2e273fe7ec4c0c5d1f601c8be9de107d3189
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.8 Linux/6.8.0-1018-aws
|
Release files / sigmaepsilon_core-1.2.2-py3-none-any.whl
| Download URL | sigmaepsilon_core-1.2.2-py3-none-any.whl |
|---|---|
| Size | 34.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03d78159945293886a63bac59faa19d3aee26fc4c7d97697c9bfbeaed89e1317
|
|
BLAKE2b-256 checksum How to use checksums |
bbebd84c8aca5e53b052228ae593d93db868bc12de59e6e0057367e04ef5139b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.8 Linux/6.8.0-1018-aws
|