GithubHelp home page GithubHelp logo

ecarlettihc / hyperapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeromemaslowski/bbs-hypercube-api

0.0 0.0 0.0 539 KB

License: BSD 3-Clause "New" or "Revised" License

Python 99.99% Batchfile 0.01%

hyperapi's Introduction

HyperCube API

Let you access all your Data on HyperCube Data Platform

visit https://www.hcube.io

Requirements

  • Python 3.6.2
  • Pip

User Documentation

Direct link

Quick installation

on windows

pip install --upgrade HyperAPI

on linux/mac

pip3 install --upgrade HyperAPI

Sample python code :

from HyperAPI.hdp_api import Router
api = Router(token="USER_TOKEN", url="https://trial.hcube.io")

Dev Documentation

Direct link

Building and installing the HyperAPI module manually

Building the python wheel

From the repository root folder, run the following command lines:

Set an environment variable PACKAGE_VERSION the define the version number for the HyperAPI.

on windows

set PACKAGE_VERSION=x

on linux/mac

export PACKAGE_VERSION=x

Generate the HyperAPI wheel file.

on windows

python setup.py sdist bdist_wheel

on linux/mac

python setup.py sdist bdist_wheel

The file will be generated on the in the /dist folder and be named HyperAPI-x-py3-none-any.whl x being the provided version number.

Installing the python wheel

The wheel can be installed directly using pip:

on windows

pip install /dist/HyperAPI-_x_-py3-none-any.whl

on linux/mac

pip3 install /dist/HyperAPI-_x_-py3-none-any.whl

Using the module from the source files

  • Option 1: run python from the source forlder:
  • Option 2: add the HyperAPI folder to the python path:

Option 2

Running Tests

From the Repository root folder run the following command line:

on windows

python -m unittest discover -s tests -p "*_test.py" -v

on linux/max

python3 -m unittest discover -s tests -p "*_test.py" -v

hyperapi's People

Contributors

alainsenoth3 avatar jeromemaslowski avatar gregorygatellierh3 avatar serkansahin avatar olivierloison avatar michaelvasseurbe avatar fujianfeng avatar cedriccazin avatar marouendevs avatar eric-jesover avatar eyakalboussi1 avatar pietromartino avatar clementhc avatar alison-prouteau 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.