Skip to main content

A Framework for creating a boilerplate template for ai projects that are ready for MLOps

Project description

pyPhase Project-builder

This Generator will create a ready-to-go pyPhase-Project, based on a config-Yaml.

Setup

pip install phases

create project.yaml

minimal

name: "myProject"
namespace: myGroup
phases:
    stage1:
        - name: Phase1
          description: my first phase
        - name: Phase2
          description: my second phase

run with python myProject

complete

name: "sleepClassificationCNN"
namespace: tud.ibmt
exporter:
    - ObjectExporter
    - KerasExporter
publisher:
    - DotSience
phases:
    prepareData:
        - name: DataWrapper
          description: get EDF Data
          exports: 
            - trainingRaw
            - validationRaw
            - evaluationRaw
        - name: EDF4SleepStages
          description: Prepare EDF Data for sleep stage recognition
          exports: 
            - trainingTransformed
            - validationTransformed
    train:
        - name: SleepPhaseDetectionModel
          description: Create Model for sleep stage recognition
          exports: 
            - model
    evaluate:
        - name: SleepPhaseDetectionModel
          description: Create Model for sleep stage recognition

Generate

phases create

Development

The generator will create stubs for each phase, publisher, storage, exporter and generator that does not exists in the pyPhase-Package. The stubs are in the project folder and implement empty method that are required.

To implement your project, you only need to fill those methods. For the minimal example you need to fill the main-methods of Phase1 (myProject/phases/Phase1.py) and Phase2.

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

phases-0.1.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

phases-0.1.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file phases-0.1.0.tar.gz.

File metadata

  • Download URL: phases-0.1.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Windows/10

File hashes

Hashes for phases-0.1.0.tar.gz
Algorithm Hash digest
SHA256 515fda38d79d17759e72114f3bb105ed58e2d77e5255e1d346e0be797ab35107
MD5 0721fe04ff0a75fb6c4a4a8acbdcb9eb
BLAKE2b-256 75d2130b728895d1fee00e66a75b74f6d283f193e09482a876ab55c0481ddc28

See more details on using hashes here.

File details

Details for the file phases-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: phases-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Windows/10

File hashes

Hashes for phases-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65a2ab79c3070486baa6ab4537c5d1e0dcb75521ba4ed2f373806a0eee432635
MD5 c1ec060490aa45b0303a024ceaad39b4
BLAKE2b-256 da21b133dc0b6aa546c925877d41527fe08f14c8e52191703a4f5c138cbf90cf

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