Skip to main content

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.

  1. 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.

  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

filtering_pipeline-0.2.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

filtering_pipeline-0.2.0-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2Python 3

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

Hashes for filtering_pipeline-0.2.0.tar.gz
Algorithm Hash digest
SHA256 12024590bf3f2fa494be2cc4dfefa4789a917b21f8d89cc3f7711079329f2f2f
MD5 9a62e910cd59b144ab5a3b5c26f96ed7
BLAKE2b-256 a979cde122372586a5f636fee29cba58977ce4b1a1746b7bc49c2673acfb0ef1

See more details on using hashes here.

File details

Details for the file filtering_pipeline-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for filtering_pipeline-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 59f14af184cac3e67c18429061c749943a6fbfb084f44f4e9af443311dcf0f73
MD5 8f368c23fa494c348d4baa9b7d0faaa5
BLAKE2b-256 4d06133bd164ad9e48ff69aaee66ca476887000a4a2dacfc26f0ecbf065c242f

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