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.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: alloniaconfigs-1.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 604a8da679999b0372e8b7503cef8935b0e91dcbb9feedecb4809fc9558226f7
MD5 6711019228af33357034eaf005707572
BLAKE2b-256 bc5a7d64c97943fdc689668aa48baf050729ed572bda665667a4935df293ec84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: alloniaconfigs-1.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d178e579e2abb9a249f55991599158690be6dbe151fe8536e6d304e827d11a5c
MD5 83c39aab2116b7cbec63f3f9d758d2c0
BLAKE2b-256 bcc94f770b235b090bdc94491a50c79f66817b25d9a697fc825729d6a175179e

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