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.2.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.2-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file filtering_pipeline-0.2.2.tar.gz.

File metadata

  • Download URL: filtering_pipeline-0.2.2.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for filtering_pipeline-0.2.2.tar.gz
Algorithm Hash digest
SHA256 16cad63dfe48dcce256202e6a9c27fec2cbfc0f32c9af44f585a931190bfb269
MD5 ab7365f906d74a158eca9785e9cf25b3
BLAKE2b-256 2acd463fb37f3b85a752de9c42da79add9580a99c09e612987b1f8355efef013

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for filtering_pipeline-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8b70ca0f345a6860ec8ef4601e6bf77fbf1b7f7334dddac6b197269821c55457
MD5 519f2e1c84c4a1e288e7327932cb38ce
BLAKE2b-256 0f16580ad6e6131fc28265a734eaaac714cc381831b79d99b81449c13511147f

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