Skip to main content

Vortexa SDK

Project description

VortexaSDK

CircleCI Code style: black All Contributors

Welcome to Vortexa's Python Software Development Kit (SDK)! We built the SDK to provide fast, interactive, programmatic exploration of our data. The tool lets Data Scientists, Analysts and Developers efficiently explore the world’s waterborne oil movements, and to build custom models & reports with minimum setup cost.

The SDK sits as a thin python wrapper around Vortexa's API, giving you immediate access to pandas DataFrames.

Example

In an interactive Python console, run:

>>> from datetime import datetime
>>> from vortexasdk import CargoMovements
>>> df = CargoMovements()\
        .search(filter_activity='loading_state',
            filter_time_min=datetime(2017, 8, 2),
            filter_time_max=datetime(2017, 8, 3))\
        .to_df()

returns:

quantity vessels.0.name product.group.label product.grade.label events.cargo_port_load_event.0.end_timestamp events.cargo_port_unload_event.0.start_timestamp
0 1998 ALSIA SWAN Clean products Lube Oils 2017-08-01T06:10:45+0000 2017-08-27T14:38:15+0000
1 16559 IVER Dirty products nan 2017-08-02T17:20:51+0000 2017-09-07T07:52:20+0000
2 522288 BLUE SUN Crude Gharib 2017-08-02T04:22:09+0000 2017-08-13T10:32:09+0000

Quick Start

Try me out in your browser:

Binder

Installation
$ pip install vortexasdk

or

$ pip3 install vortexasdk

The SDK requires Python versions between 3.7 and 3.10. See Setup FAQ for more details.

To install the SDK on an Apple ARM-based machine, use Python versions between 3.7 and 3.10 and use the latest version of pip. This is supported in the SDK versions 0.41.0 or higher.

Authentication

Set your VORTEXA_API_KEY environment variable, that's all. Alternatively, the SDK prompts to you enter your API Key when running a script interactively.

To get an API key and experiment with Vortexa's data, you can request a demo here.

Check Setup

To check the SDK is setup correctly, run the following in a bash console:

$ python -m vortexasdk.check_setup

or

$ python3 -m vortexasdk.check_setup

A successful setup looks like this:

check_setup.png

Next Steps

Learn how to call Endpoints

Glossary

The Glossary can be found at Vortexa API Documentation. The Glossary outlines key terms, functions and assumptions aimed at helping to extract powerful findings from our data.

Documentation

Read the documentation at VortexaSDK Docs

Contributing

We welcome contributions! Please read our Contributing Guide for ways to offer feedback and contributions.

Thanks goes to these wonderful contributors (emoji key):


Kit Burgess

🎨 💻

tinovs

💻 👀

David Andrew Starkey

💻 📖 💡

syed

👀

Jakub Korzeniowski

🤔

Edward Wright

📓

Patrick Roddy

📓

Romain

📓 🤔

Natday

💼 🤔 📓

ArthurD1

📓

Chloe Connor

📓

Achilleas Sfakianakis

📓

Sean Barry

💻 📖

Konrad Moskal

💻

Pawel Pietruszka

💻

Olly De Sousa

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

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

vortexasdk-0.75.2.tar.gz (147.4 kB view details)

Uploaded Source

Built Distribution

vortexasdk-0.75.2-py3-none-any.whl (288.0 kB view details)

Uploaded Python 3

File details

Details for the file vortexasdk-0.75.2.tar.gz.

File metadata

  • Download URL: vortexasdk-0.75.2.tar.gz
  • Upload date:
  • Size: 147.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.17

File hashes

Hashes for vortexasdk-0.75.2.tar.gz
Algorithm Hash digest
SHA256 2d640cddbad3f6f7348d3363c60fa66ce2faa11215b4be599b842239a226765e
MD5 64b54e9617b3dd8f601f3fed2b87481c
BLAKE2b-256 a5661f931af812544cf75782ccb42f08503e735146fa000df39999edb3715a30

See more details on using hashes here.

File details

Details for the file vortexasdk-0.75.2-py3-none-any.whl.

File metadata

  • Download URL: vortexasdk-0.75.2-py3-none-any.whl
  • Upload date:
  • Size: 288.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.17

File hashes

Hashes for vortexasdk-0.75.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fe0ccf580b4420c507a8975dee532df90dfd4315a8cc822a4cd60a1482ba496e
MD5 43b9a93f4b6aa11eecdcc796dc658fac
BLAKE2b-256 bc8f1461c7c641bfc739363b9a790e75720e43b39644db376e4b75612b5e607c

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