Coder Social home page Coder Social logo

h5pyd's Introduction

h5pyd

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

Related Projects

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).

h5pyd's People

Contributors

jreadey avatar ajelenak avatar mrossol avatar hyperplaneorg avatar jjaraalm avatar kotfic avatar jacobduckett avatar kmuehlbauer avatar matteodg avatar murlock avatar rsignell-usgs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.