Skip to main content

AsyncNT

An asynchronous way to fetch data from nitrotype.

Features

  • Asyncio support

  • Access to the Nitro Type API

  • Rate limit of 10 requests per second

  • Cache to speed up requests

Installation

pip install asyncnt

Basic Usage

import asyncio
import asyncnt


async def main():
    #create a session
    async with asyncnt.Session() as session:
        #get a Racer object
        racer = await session.get_racer("travis")
        #print races the racer has
        print(racer.races)

        #get a Team object
        team = await session.get_team("NT")
        #print team's daily speed
        print(team.daily_speed)

Check out the docs for more information.

Lisence

MIT

Metadata

Release files for asyncnt 1.7.0

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

Source distribution (sdist)

Source distribution for asyncnt 1.7.0
File Size Uploaded Provenance
asyncnt-1.7.0.tar.gz 9.8 kB Without provenance Details

Release files / asyncnt-1.7.0.tar.gz

Download URL asyncnt-1.7.0.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b20519643e3f1a965bf25382aa61401c8e0e7a57130c92be38da5a310f3629fc
BLAKE2b-256 checksum
How to use checksums
19657f5ba0c944000c53970d1764c030e8fa59c1501b8945aa475735c9367a4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

Security for asyncnt 1.7.0

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.

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