Skip to main content

PyTorch-compatible edge profile dataset API

Project description

HeavyEdge-Dataset

Supported Python Versions PyPI Version License CI CD Docs

Package to load edge profile data as PyTorch dataset.

Usage

HeavyEdge-Dataset provides ProfileDataset which wraps profile data file.

A simple use case to load two-dimensional coordinates of profiles and their lengths:

from heavyedge import get_sample_path, ProfileData
from heavyedge_dataset import ProfileDataset
with ProfileData(get_sample_path("Prep-Type2.h5")) as file:
    data = ProfileDataset(file, 2)[:]

Refer to the package documentation for more information.

Documentation

The manual can be found online:

https://heavyedge-dataset.readthedocs.io

If you want to build the document yourself, get the source code and install with [doc] dependency. Then, go to doc directory and build the document:

$ pip install .[doc]
$ cd doc
$ make html

Document will be generated in build/html directory. Open index.html to see the central page.

Developing

Installation

For development features, you must install the package by pip install -e .[dev].

Testing

Run pytest command to perform unit test.

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

heavyedge_dataset-1.0.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

heavyedge_dataset-1.0.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file heavyedge_dataset-1.0.0.tar.gz.

File metadata

  • Download URL: heavyedge_dataset-1.0.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for heavyedge_dataset-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7411945dbd1eee3cbeaf373fbf9eda9e3a719bbcb5de459ca49c43de9fcf1878
MD5 ecd5adf9fc31830ef2affb06b2f32e59
BLAKE2b-256 da98c00d4e3363006680461d5e77698f19d97a20cbb49a60f4e3fd889d0401d8

See more details on using hashes here.

File details

Details for the file heavyedge_dataset-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for heavyedge_dataset-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 265a555a49325075907753c025de943c069a49e0906dbf4997edf4ce8b1be947
MD5 adc7cd34b2a87fcc9cc5c5e632831740
BLAKE2b-256 226e36ede8413af4511b96e43e2a7840f1eb98ac5e9567414f5071302e32c629

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