Skip to main content

Checks compability with the SDyPy SEP005 guidelines

Project description

SDyPy SEP005 Compliance

This package serves to assess the compatibility with the SDyPy proposal for a unified timeseries model.

Installation

Available from PyPI:

pip install sdypy-sep005

Using the package

Validation is provided by the Sep005Data Pydantic model, which checks compliance with the current guidelines.

Its main use case is for the unit tests of a custom import wrapper:

from sdypy_sep005 import Sep005Data

signals = read_from_path(FILE_PATH)  # Your import wrapper
for channel in signals:
    Sep005Data.model_validate(channel)

Contributing

Contributions are welcome and greatly appreciated!

Workflow

A bug fix or enhancement is delivered using a pull request. A good pull request should cover one bug fix or enhancement feature. This keeps the change set easier to review and less likely to need major rework or rejection.

The workflow that developers typically use is as follows.

  1. Fork the sdypy-sep005-compliance repository into your account.

  2. Clone the source onto your development machine:

    git clone https://github.com/OWI-Lab/sdypy-sep005-compliance.git
    cd sdypy-sep005-compliance
    
  3. Install uv and sync the project dependencies:

    uv sync
    

    This creates a virtual environment and installs the default dependency groups (ci and test) defined in pyproject.toml.

  4. Create a branch for local development:

    git checkout -b name-of-your-bugfix-or-feature
    
  5. Develop your fix or enhancement:

    • Make a fix or enhancement (for example, modify a class, method, function, or module).

    • Update an existing unit test or create a new unit test module to verify the change works as expected.

    • Run the test suite:

      uv run pytest
      
  6. Update the docs for anything but trivial bug fixes, then build them to verify the result:

    uv sync --group docs
    cd docs
    uv run make clean
    uv run make html
    
  7. Commit and push changes to your fork:

    git add .
    git commit -m "A detailed description of the changes."
    git push origin name-of-your-bugfix-or-feature
    

    A pull request should preferably only have one commit upon the current main HEAD (via rebases and squash).

  8. Submit a pull request through GitHub.

  9. Check that automated continuous integration steps all pass. Fix any problems if necessary and update the pull request.

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

sdypy_sep005-1.0.1.tar.gz (381.2 kB view details)

Uploaded Source

Built Distribution

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

sdypy_sep005-1.0.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file sdypy_sep005-1.0.1.tar.gz.

File metadata

  • Download URL: sdypy_sep005-1.0.1.tar.gz
  • Upload date:
  • Size: 381.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for sdypy_sep005-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ca050a96a61751b0a64f22c8074f71e7f0cf25be0378b207b4fdc01496bc0858
MD5 3fa41c8978c895b7aeb56bcbaa58d222
BLAKE2b-256 d846b00e53209e84c5150892f4101dfb684fd6cb2f9b55dabc1e191f40704c46

See more details on using hashes here.

File details

Details for the file sdypy_sep005-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: sdypy_sep005-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for sdypy_sep005-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ec27ccf70c4d931617c8c9d5711779953c28ff7b4594b191db0c00f4109da04
MD5 5a8d34992bca8a47a63fc92aa0df5736
BLAKE2b-256 a1b405209f3e4c4fb936f4343da90b5b099a0dd0a65b2ca38576636f45f46114

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