Public Project AllOnIAConfigs
This project contains the :obj:~alloniaconfigs.configs.Configs class that allows the user to
easily handle configurations.
You can find the user documentation this URL
This is a public project. Everyone is welcome to contribute to it.
Installation
pip install alloniaconfigs
Contributing
This is an open-source project. Everyone is welcome to contribute to it. To do so, fork the repository, add your features/fixes on your forked repository, then open a merge request to the original repository.
Install dependencies using poetry
This project uses Poetry to manage its working environment. Install it before coding in project.
Then, run
poetry env use python3.12
poetry install
poetry run pre-commit install
Testing
poetry run pytest tests # Parallelized
poetry run pytest tests -n 0 # Sequential
# Sequential with logs (logs can't work with parallelized tests)
poetry run pytest tests -n 0 -s # -s is the equivalent of --capture=no
Coverage
We use pytest-cov to display the coverage, so, after run
tests you can check the reports (term, html, xml are enabled), if you want to
improve your coverage, the better thing to do is to check the html report in
your browser:
open htmlcov/index.html
Lint
To run the linters used by this project, you can run:
poetry run pre-commit run # Run lint only on staged files
# Manually check conventional commits format:
poetry run pre-commit run gitlint --hook-stage commit-msg --commit-msg-filename .git/COMMIT_EDITMSG
User documentation
The documentation source files are located in here. If you add new features, please add them to the documentation as well.
You can buid the documentation locally by doing
cd docs
make html
The produced documentation should then be readable by opening the file in docs/build/html/index.html in a web browser.
Release files for alloniaconfigs 1.1.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 | |
|---|---|---|---|
| alloniaconfigs-1.1.2.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alloniaconfigs-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / alloniaconfigs-1.1.2.tar.gz
| Download URL | alloniaconfigs-1.1.2.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
604a8da679999b0372e8b7503cef8935b0e91dcbb9feedecb4809fc9558226f7
|
|
BLAKE2b-256 checksum How to use checksums |
bc5a7d64c97943fdc689668aa48baf050729ed572bda665667a4935df293ec84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.1 Linux/5.4.0-148-generic
|
Release files / alloniaconfigs-1.1.2-py3-none-any.whl
| Download URL | alloniaconfigs-1.1.2-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d178e579e2abb9a249f55991599158690be6dbe151fe8536e6d304e827d11a5c
|
|
BLAKE2b-256 checksum How to use checksums |
bcc94f770b235b090bdc94491a50c79f66817b25d9a697fc825729d6a175179e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.1 Linux/5.4.0-148-generic
|