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.post0.tar.gz (4.5 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.post0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: heavyedge_dataset-1.0.0.post0.tar.gz
  • Upload date:
  • Size: 4.5 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.post0.tar.gz
Algorithm Hash digest
SHA256 eac9cf3b85aa2a469779471c19673ff30dc18c9f45d598ecd5370b195b4d73c5
MD5 a599b8ef9025bd76fe87e32bc803e86a
BLAKE2b-256 910509859e62fc552ec306b0554d44f29237a4a9ba8177346b00d3bb75a55787

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for heavyedge_dataset-1.0.0.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 d865a550f4596505f6c356a2a2dc74fab619888ed83371a13fbcd74bd3a11def
MD5 b785f8d0c049d297a4bc6ebf6ea209a9
BLAKE2b-256 f0ed8f0de3a23e6e9b71dae1cb497e06bc9560da3565f8a161e582583e8d417a

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