Python software developer kit for the Omnia Timeseries API.
Project description
OMNIA Timeseries SDK for Python
Python software developer kit for the Omnia Timeseries API.
General
About
This is the Python SDK for developers and data scientists working with Omnia Timeseries. The package integrates with pandas to help you work easily and efficiently with the data.
Getting started
Run the below command in a Python environment to install the latest release
pip install omnia_timeseries_sdk
.. or upgrade existing installation
pip install --upgrade omnia_timeseries_sdk
To access Omnia you have to set the following environmental variables. The values are provided by the Omnia administrators.
set omniaResourceId="omnia-resource-id"
set omniaClientId="your-client-id"
set omniaClientSecret="very-very-secret-shared-key"
Import the Omnia client in your own scripts...
from omnia_timeseries_sdk import OmniaClient
... and get to work. Here is an introduction.
Take a look at the resources listed below to learn more.
Resources
Contribute
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Prerequisites
Install Python version 3.7 or later from either https://www.python.org or https://www.anaconda.com.
Clone the source code repository
At the desired location, run:
git clone https://github.com/equinor/omnia-timeseries-sdk-python.git
Installing
To get the development environment running:
... create an isolated Python environment and activate it,
python -m venv /path/to/new/virtual/environment
/path/to/new/virtual/environment/Scripts/activate
... install the dev dependencies in requirements.txt,
pip install -r requirements.txt
.. and install the package in development mode.
python setup.py develop
You should now be able to import the package in the Python console,
import omnia_timeseries_sdk
help(omnia_timeseries_sdk)
Running the tests
The automated tests are run using Tox.
tox
The test automation is configured in tox.ini.
Building the package
Build tarball and wheel distributions by:
python setup.py sdist bdist_wheel
The distribution file names adhere to the PEP 0427
convention {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.whl
.
Deployment
Wait for it...
Versioning
We apply the "major.minor.micro" versioning scheme defined in PEP 440.
Authors
- Per Voie - tovop
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for omnia_timeseries_sdk-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6962401fb6136a32682a015a9c0e6999d56785c6b5d7778bc3751fdfd4339ec3 |
|
MD5 | 80f426a30832666f48bdd51c9eefbe56 |
|
BLAKE2b-256 | 4bd76366236ecf1187037633821fae40ce3043e98b009b8a3b8dbb3324693c5a |
Hashes for omnia_timeseries_sdk-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aca93ea6d1f518ff8911f6ea9a1fc2ee5b8b2dbc8fa1aec838b765c88db9385 |
|
MD5 | ebf8e45b19f6e1b5f1c57a45e896f0cd |
|
BLAKE2b-256 | 8bfe6bdd8d0ff7db8f5d63093cf29510956b76da1aa40f50f9e80e43a1b930b8 |