Skip to main content

Lazy slicing and transpose operations for h5py

Project description

lazy_ops

Provides a class to allow for lazy transposing and slicing operations on h5py datasets

Example Usage:

import h5py
from lazy_ops import DatasetView

dsetview = DatasetView(dataset) # dataset is an instantiated h5py dataset
view1 = dsetview.lazy_slice[1:10:2,:,0:50:5].lazy_transpose([2,0,1]).lazy_slice[25:55,1,1:4:1,:].lazy_transpose()

A = view1[:]          # Brackets on DataSetView call the h5py slicing method, that returns the data
B = view1.dsetread()  # same as view1[:]

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

lazy_ops-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distributions

lazy_ops-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

lazy_ops-0.1.0-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lazy_ops-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for lazy_ops-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8d8f675d5d38747919858660af6211fdcf8e79f96c732c6e0d0573884a75d0ce
MD5 a80a57052017863061947d15a42fef0e
BLAKE2b-256 7b88a1452544c3b007908c4d814e003b9fa1b716d4dd1fa28099fd0131ae6a1b

See more details on using hashes here.

File details

Details for the file lazy_ops-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lazy_ops-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5

File hashes

Hashes for lazy_ops-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90ff2758e8332b898877fb8531717bbb181326f8096bdf37f9112dd870ecfdca
MD5 0764b6023417c70512c77a9f03b75acf
BLAKE2b-256 90f0f5d60b668c96438779e5826051b54c0bb159c5b1ef5c53f1ad05ed2c56ab

See more details on using hashes here.

File details

Details for the file lazy_ops-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: lazy_ops-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for lazy_ops-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 79b73aedbb9212e93fd2699692e3e8af19c715c8c3c82fbcef4b4a3a85cf4b68
MD5 c5f3e1b6fe2fd05ecc6a25d3529b8fab
BLAKE2b-256 f1dfa91f5733587cfa6c803c2673af734a7c9e44b19b1935b4180d00bc61c3e5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page