Skip to main content

A Python client library for interfacing with the CPI Magstar system

Project description

magstar-python-client

A Python client library for Computational Physics Inc.'s Magstar magnetometer networks.

Installing

Either install directly from git:

git clone https://github.com/CPIProductionDataLab/magstar-python-client.git
cd magstar-python-client
python setup.py install

or install from PyPI:

pip install magstar-client

Usage

from magstar_client import MagstarV1API

BASE_URL = "???"
YOUR_API_KEY = "???"

api = MagstarV1API(BASE_URL, YOUR_API_KEY)
print(api.get_stations())

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

magstar-client-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

magstar_client-0.1.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file magstar-client-0.1.0.tar.gz.

File metadata

  • Download URL: magstar-client-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for magstar-client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 24da253d21c9dd783f1c7f33e424f7c7e504179ad66a8f835d12f99a16b250d6
MD5 cfa178c6efb10b97fbba79ede4cdd39b
BLAKE2b-256 253586f2efa257571192b54455b9eaca8d9b16c8e584977a6ab4e281cf33207c

See more details on using hashes here.

File details

Details for the file magstar_client-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: magstar_client-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for magstar_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa04bc0da045a8f18e1ebf3e2c068724ea91bd8f600be0c36be921c42b49b689
MD5 920fb376325b28bfb827184629e00744
BLAKE2b-256 28c4e61dbfd12abdf66ab416edc0a09117f06bf1fd6846a4d24c5ba501bf8dc9

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