Skip to main content

python-hologram-api

Python client for https://dashboard.hologram.io/api.

https://img.shields.io/pypi/v/python-hologram-api.svg https://img.shields.io/travis/vicyap/python-hologram-api.svg https://coveralls.io/repos/github/vicyap/python-hologram-api/badge.svg?branch=master Documentation Status

Installation

pip install python-hologram-api

Documentation

Usage

HologramClient is the main class you should use. Most of its methods are sub-categorized based on the endpoint that the method interfaces with. For example, user account management is under client.user.

To use python-hologram-api in a project:

import os
from python_hologram_api.client import HologramClient

HOLOGRAM_API_KEY = os.environ.get('HOLOGRAM_API_KEY')
client = HologramClient(HOLOGRAM_API_KEY)

Example Usages:

# List Devices
resp = client.devices.list()
if resp.get('success'):
    devices = resp.get('data')

# Get a Device
device_id = 1234
resp = client.devices.get(device_id)
if resp.get('success'):
    device = resp.get('data')

# Activate SIMs
sims = ['99990000000012345678']
plan = 73
tier = 1
resp = client.cell.activate_sims(sims, plan, tier)
assert resp.get('success') is not None

The following submodules are available:

  • Device Management

    • client.devices

    • client.cell

    • client.tags

    • client.data_plans

  • Hologram Cloud

    • client.csr

    • client.sms

    • client.cloud

    • client.spacebridge

  • Account Management

    • client.user

    • client.org

License

  • Free software: MIT license

History

0.1.6 (2017-10-27)

  • Add coverage to travis

  • Add coveralls to travis and README

0.1.5 (2017-10-27)

  • Update README formatting/highlighting

0.1.4 (2017-10-23)

  • Add python_hologram_api.rst to documentation

0.1.3 (2017-10-23)

  • Update documentation

0.1.2 (2017-10-23)

0.1.1 (2017-10-23)

  • Travis Errors

0.1.0 (2017-10-20)

  • Mistakes were made.

Metadata

Release files for python-hologram-api 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-hologram-api 0.1.6
File Size Uploaded Provenance Actions
python_hologram_api-0.1.6.tar.gz 18.2 kB Without provenance Details for python_hologram_api-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-hologram-api 0.1.6
File Interpreter ABI Platform Actions
python_hologram_api-0.1.6-py2.py3-none-any.whl Python 3, Python 2 none any Details for python_hologram_api-0.1.6-py2.py3-none-any.whl

Total release size: 31.4 kB

Release files / python_hologram_api-0.1.6.tar.gz

Download URL python_hologram_api-0.1.6.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1688faa46acf527d0cb40f7201b0f7689969bcd4b3ce3063af1b11d8061c3cc2
BLAKE2b-256 checksum
How to use checksums
f418260cf59790215a4ebef30e5f76d54929d87a6a9471c2490e7d8b385f20b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / python_hologram_api-0.1.6-py2.py3-none-any.whl

Download URL python_hologram_api-0.1.6-py2.py3-none-any.whl
Size 13.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0ad4bf1c6894600c68fd1dc1523c5c1b09c21269ee64b00cf5654aa32fc08545
BLAKE2b-256 checksum
How to use checksums
690d71c08d6292c7bd76e625b0a8905a166382b0426c2f1116cf031be246173f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for python-hologram-api 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page