Skip to main content

noonlight-py

Asynchronous Noonlight API client for Python (based on the API documented here)

Usage

>>> import noonlight

# Initialize the client with your token from completing an OAuth2 flow 
#    with Noonlight (and optionally your aiohttp session and timeout)

>>> client = noonlight.NoonlightClient(token = "my_api_token_from_noonlight")

# Create an alarm object using the body parameters documented here:
#   https://docs.noonlight.com/reference#create-alarm

>>> alarm = await client.create_alarm(body = {'location.coordinates': {'lat':38.897957, 'lng':‎-77.036560, 'accuracy': 5} } )

# Check alarm status

>>> print(alarm.status)

# Cancel alarm

>>> cancelled = await alarm.cancel()

Metadata

Release files for noonlight 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 noonlight 0.1.1
File Size Uploaded Provenance Actions
noonlight-0.1.1.tar.gz 4.5 kB Without provenance Details for noonlight-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 10.1 kB

Release files / noonlight-0.1.1.tar.gz

Download URL noonlight-0.1.1.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c4869b985820967e12735d168fe32785d1553a07e6dd01365996050fd66a9b7f
BLAKE2b-256 checksum
How to use checksums
94a22d14b9b2ee233281bbb468f4550f5b0263152dc9b9477c16d68eed28f82b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/3.6.4

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

Download URL noonlight-0.1.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea8a8a497f6c96fdaddfd70addc55e3f41ce0f2f642e28bb4553878b11ab5442
BLAKE2b-256 checksum
How to use checksums
c788ad15e76ce1105cd5e5f796536b5139d6a734d792ac410670e21e2e308b2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/3.6.4

Security for noonlight 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