Skip to main content

Hovercode Python SDK

Typed Python client for the Hovercode API (dynamic and static QR codes).

Documentation

Project documentation is published on GitHub Pages: https://theperrygroup.github.io/hovercode/

Installation

python -m pip install hovercode

Authentication

Hovercode uses token authentication. Provide your token either:

  • Via environment variable HOVERCODE_API_TOKEN, or
  • By passing api_token= to HovercodeClient.

Quickstart

from hovercode import HovercodeClient

client = HovercodeClient()  # reads HOVERCODE_API_TOKEN

qr = client.hovercodes.create(
    workspace="YOUR-WORKSPACE-ID",
    qr_data="https://twitter.com/hovercodeHQ",
    primary_color="#1DA1F2",
)

print(qr["id"])
print(qr["svg"][:80])

Common operations

qr_full = client.hovercodes.get_hovercode(qr["id"])
activity = client.hovercodes.get_activity(qr["id"], page_size=50)

client.hovercodes.update(qr["id"], display_name="New name")
client.hovercodes.delete_hovercode(qr["id"])

Notes

  • Do not call the Hovercode API from a browser client (it would expose your token).

Metadata

Release files for hovercode 0.1.1

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

Source distribution (sdist)

Source distribution for hovercode 0.1.1
File Size Uploaded Provenance Actions
hovercode-0.1.1.tar.gz 20.8 kB Without provenance Details for hovercode-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hovercode 0.1.1
File Interpreter ABI Platform Actions
hovercode-0.1.1-py3-none-any.whl Python 3 none any Details for hovercode-0.1.1-py3-none-any.whl

Total release size: 37.8 kB

Release files / hovercode-0.1.1.tar.gz

Download URL hovercode-0.1.1.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3a004a8a4ec4d6872e9b4f8e4d4f1ac2185a6f5012a490cb908cf5bc0b880348
BLAKE2b-256 checksum
How to use checksums
dd6a052cb072b60cc4ff2abdd934c28640334492c317d70844b1866403324ebf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / hovercode-0.1.1-py3-none-any.whl

Download URL hovercode-0.1.1-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6427299ef6c2b5b53452e971de4b27d10426628e4c07158764c9dcb9713da617
BLAKE2b-256 checksum
How to use checksums
f9b912614b9b026d543a3e9c47def5911f7b69a7c8d4ff45e38c237232a666cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for hovercode 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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