Rules extraction 
Rules extraction for eXplainable AI
Installation
pip install rules-extraction
Contribution
Install Python
Install Python, version 3.9 or newer (3.11 recommanded):
- Linux, macOS, Windows/WSL: Use your package manager to install
python3andpython3-dev - Windows:
winget install Python.Python.3.11
Install dependencies
Using pip
python -m venv .venv
source .venv/bin/activate
pip install .
Add dependencies
To add new dependencies to the project, add them to the pyproject.toml file.
To add them to the virtualenv, use:
pip install .
Work with virtualenv
To activate the virtualenv, use the standard methods:
- Unix:
source .venv/bin/activate - Windows:
.venv\Scripts\activate
To leave the virtualenv, use deactivate.
Install Pre-commit hooks
Git hooks are used to ensure quality checks are run by all developers every time before a commit.
Install with pip install pre-commit.
To enable pre-commit:
pre-commit install
Pre-commit hooks can be run manually with:
pre-commit run --all-files
Release
Metadata
Release files for rules-extraction 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rules_extraction-0.1.4.tar.gz | 16.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rules_extraction-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.6 kB
Release files / rules_extraction-0.1.4.tar.gz
| Download URL | rules_extraction-0.1.4.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbea5318af575f76c03c3b273609d1bb2643838112d11312a1347bd0f4d1d01e
|
|
BLAKE2b-256 checksum How to use checksums |
47323c00d19f637b43686fc5cb0d231aa7bfa9af3f3cc7fe71133decdb59bf51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / rules_extraction-0.1.4-py3-none-any.whl
| Download URL | rules_extraction-0.1.4-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc56f8e7441c0d4912a80577c6778ab03b31e40b4c135e6489c40e1d5ab2e1d4
|
|
BLAKE2b-256 checksum How to use checksums |
be3403e0956c694cf6c750bdc577003a968899e2fe7c01e55b273d7d4ee9499d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|