This package implements the design pattern tube and filters for making AI pipeline pre- and post-processing
Project description
Preprocessing
Installation
We use conda as an environment manager and poetry as dependency manager.
- Generate a conda env First, create and activate a basic conda env from the env_prep.yml file.
Run
conda env create -f ./env/env_prep.yml
then
conda activate env_prep
NB: it can be good to change the conda name env into env_basic_conda.yml file.
- Install poetry and package dependencies
To install package dependencies with poetry,
poetry install
To update package dependencies,
poetry update
Testing
For running all the tests:
poetry run pytest
For running a specific test:
poetry run pytest path/my_test
See test coverage : [TO COMPLETE]
Preprocessing pipeline
Good pratices
PEP8
Use the pep8 norm to format all the code. Specific pep8 parameters are given into the pyproject.toml file.
autopep8 --in-place --aggressive --aggressive ./
FLAKE8
[TO COMPLETE]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file filtering_pipeline-0.2.0.tar.gz.
File metadata
- Download URL: filtering_pipeline-0.2.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12024590bf3f2fa494be2cc4dfefa4789a917b21f8d89cc3f7711079329f2f2f
|
|
| MD5 |
9a62e910cd59b144ab5a3b5c26f96ed7
|
|
| BLAKE2b-256 |
a979cde122372586a5f636fee29cba58977ce4b1a1746b7bc49c2673acfb0ef1
|
File details
Details for the file filtering_pipeline-0.2.0-py2.py3-none-any.whl.
File metadata
- Download URL: filtering_pipeline-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59f14af184cac3e67c18429061c749943a6fbfb084f44f4e9af443311dcf0f73
|
|
| MD5 |
8f368c23fa494c348d4baa9b7d0faaa5
|
|
| BLAKE2b-256 |
4d06133bd164ad9e48ff69aaee66ca476887000a4a2dacfc26f0ecbf065c242f
|