Skip to main content

Unifi Python Voucher API

PyPI PyPI - License

This API contains a Unifi API wrapper specifically for creating vouchers programmatically.

Usage

from unifi import unifi
api = Unifi("foo", "bar", "http://unifi.local")
vouchers = api.generate_voucher(expire=42, usages=23)
for voucher in vouchers:
    print(voucher["code"])

Metadata

Release files for unifipy 1.0.4

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

Source distribution (sdist)

Source distribution for unifipy 1.0.4
File Size Uploaded Provenance Actions
unifipy-1.0.4.tar.gz 2.5 kB Without provenance Details for unifipy-1.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 7.4 kB

Release files / unifipy-1.0.4.tar.gz

Download URL unifipy-1.0.4.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bb3615715886ddd5419f75783c39a17421088ab64a4616b86b9fa98501bef3e7
BLAKE2b-256 checksum
How to use checksums
b58f658e406e0d03003a0d180f394fe8bc1fe1ea048404e33f2bc7899dc615cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

Release files / unifipy-1.0.4-py3-none-any.whl

Download URL unifipy-1.0.4-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
377a90fd7cfcfb6375f8790af98b9c843f5185aa2f344160efb867edd7984fe2
BLAKE2b-256 checksum
How to use checksums
493018eb6fe7fe94ce10302b2d5a488c3375cf550181f813e4790725885da381
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

Security for unifipy 1.0.4

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

1.0.4 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