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.2.1.tar.gz (6.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pyphasesrecordloadernox-0.2.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for pyphasesrecordloadernox-0.2.1.tar.gz
Algorithm Hash digest
SHA256 3568606d83714f6035550ce7093b8c49c5417183a1ec1d5ae143f17216181c15
MD5 3336bfa3bf6fec45f7f505f4ac1fb59c
BLAKE2b-256 ca7bc82d05e273f42a07fb10e31e605a5c0c1709746d45ba4a9f4c2eb5627e47

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