Skip to main content

h5py compatible client lib for HDF REST API

Project description

https://travis-ci.org/HDFGroup/h5pyd.svg?branch=master

Python client library for HDF5 REST interface

Introduction

This repository contains library, test, and examples of h5pyd - a Python package for the HDF REST interface.

The library is provides a high-level interface to the REST specification that is generally easier to use than invoking http calls directly.

The package is based on the popular h5py package and aims to be source compatible with the h5py high level interface.

Websites

Installing

Via pip:

pip install h5pyd

From a release tarball or Git checkout:

python setup.py install

By default the examples look for a local instance of h5serv. See the https://github.com/HDFGroup/h5serv for instructions on installing and running h5serv.

These tests are also to designed to work with HSDS (see https://github.com/HDFGroup/hsds). Install HSDS locally, or set environment variables (see next section) to point to an existing HSDS instance.

Testing

Setup the following environment variables that inform h5pyd which endpoint and username to use:

  • HS_ENDPOINT - “http://127.0.0.1:5000” for h5serv installed locally or appropriate remote endpoint

  • HS_USERNAME - “test_user1” or your preferred username

  • HS_PASSWORD - password for above username - “test” for test_user1 with local h5serv install

  • TEST2_USERNAME - “test_user2” or your preffered username

  • TEST2_PASSWORD - password for above username - “test” for test_user2 with local h5serv install

  • H5PYD_TEST_FOLDER - server folder that will be used for generated files. Use: “h5pyd_test.hdfgroup.org” for local h5serv install. For HSDS, posix-style paths are also supported, e.g.: /home/bob/h5pyd_test. For HSDS use hstouch command to create the folder before running the test, e.g.: $ hstouch /home/bob/h5pyd_test/

Run: $python testall.py to execute the test suite.

Uninstalling

Just remove the install directory and all contents to uninstall.

Reporting bugs (and general feedback)

Create new issues at http://github.com/HDFGroup/h5pyd/issues for any problems you find.

For general questions/feedback, please use the Kita forum (https://forum.hdfgroup.org/c/kita).

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

h5pyd-0.4.4.tar.gz (116.6 kB view details)

Uploaded Source

Built Distribution

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

h5pyd-0.4.4-py3-none-any.whl (143.9 kB view details)

Uploaded Python 3

File details

Details for the file h5pyd-0.4.4.tar.gz.

File metadata

  • Download URL: h5pyd-0.4.4.tar.gz
  • Upload date:
  • Size: 116.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for h5pyd-0.4.4.tar.gz
Algorithm Hash digest
SHA256 2adfedfa1f46c13dc27b399034cbd694b4de4dc60b28abc35fc3ae01a312319f
MD5 633b2f7602182c607cf6bcd5c78a3ae1
BLAKE2b-256 50cdd27d392897136f383ad3d46a4a6d3400cb6bf5391b21190cd3c55cf43e41

See more details on using hashes here.

File details

Details for the file h5pyd-0.4.4-py3-none-any.whl.

File metadata

  • Download URL: h5pyd-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 143.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for h5pyd-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2a1f5b5d6ce0ec30009237b89daff86fa151f9fb4f494d0efff2b25f09731438
MD5 a282000dd9c6966e03c13e116d354335
BLAKE2b-256 cf6cf8a79363ec4751d93032745670e799e888a4b6ee76994ac76e8707e0ca9e

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