Skip to main content

Adds a record loaders to the pyPhases package

Project description

Extension for pyPhasesRecordloader

Usage

In a phase you can access the data through the RecordLoader:

Add the plugins and config values to your project.yaml::

name: NoxProject
plugins:
  - pyPhasesML
  - pyPhasesRecordloaderNox
  - pyPhasesRecordloader

phases:
  - name: MyPhase

config:
  nox-path: C:/datasets/recordings

In a phase (phases/MyPhase.py) you can access the records using the RecordLoader:

from pyPhasesRecordloader import RecordLoader
from pyPhases import Phase

class MyPhase(Phase):
    def run(self):
      recordIds = recordLoader.getRecordList()
      for recordId in recordIds:
        record = recordLoader.getRecord(recordId)

Run your project with python -m phases run MyPhase.

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

pyphasesrecordloadernox-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pyphasesrecordloadernox-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for pyphasesrecordloadernox-0.1.0.tar.gz
Algorithm Hash digest
SHA256 588c378c4bec1705898ec6e657f9f66e8b8474b9d60cdabefd584374a561fd07
MD5 b9ef14a4767711a88d3df07917302d99
BLAKE2b-256 1f9469b681cf769ba1d7fb1837ed579686673e587292ab84505844a9b3fe56a1

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