Skip to main content

Class to handle configurations

Project description

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.

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

alloniaconfigs-1.1.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

alloniaconfigs-1.1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file alloniaconfigs-1.1.1.tar.gz.

File metadata

  • Download URL: alloniaconfigs-1.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/5.4.0-148-generic

File hashes

Hashes for alloniaconfigs-1.1.1.tar.gz
Algorithm Hash digest
SHA256 8de89e882044d9795d411af6a75ca8c0c98da8eaa93a8056db308ce620136a81
MD5 55925be976fca306c5d601fe00db2c15
BLAKE2b-256 0740579725875a1221ba972a1411aa001625ff2dd98b6acaeb7e1b47223f5fda

See more details on using hashes here.

File details

Details for the file alloniaconfigs-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: alloniaconfigs-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/5.4.0-148-generic

File hashes

Hashes for alloniaconfigs-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8a8aa2e93e5f5a28e586b6e1093c5c766b5e9ec7a62a06fc1c230d72b69333a2
MD5 65bc0598192f81af9a489c22aaa69225
BLAKE2b-256 9c99ec08e9e3c7eb7cfc0b43ff1bce11f759604c038c9bdc70ca645387ab2c28

See more details on using hashes here.

Supported by

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