Skip to main content

Pyteria

Example

import asyncio
import soteria

async def main():
    cache = soteria.MemoryCache()
    client = soteria.Client(auth="<TOKEN HERE>", cache=cache)

    # fetch a user from the api
    user = await soteria.User.fetch(client, 12345)
    print(user)

    # fetch the list of followers
    followers = await user.fetch_followers()
    print(followers)

    # you can always access the cached list of followers if async is not allowed
    print(user.followers)

    # remember to close the client after execution
    await client.close()

asyncio.run(main())

Features

  • Mostly complete coverage of the Soteria API.
  • Caching support with customiziable cache implementations.
  • Complete type safety with your favorite type checker. 🚀

Metadata

Release files for pyteria 0.1.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 pyteria 0.1.0
File Size Uploaded Provenance Actions
pyteria-0.1.0.tar.gz 7.4 kB Without provenance Details for pyteria-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 18.2 kB

Release files / pyteria-0.1.0.tar.gz

Download URL pyteria-0.1.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
156c20096d297e7a6ed459e20977774a25beee19e350ed30e8b1b4412131061f
BLAKE2b-256 checksum
How to use checksums
0cceb3106288384b1bc764cd03f1d0629a511cc59cad57ae969bc9965e205c75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.18.0 CPython/3.12.5 Darwin/22.6.0

Release files / pyteria-0.1.0-py3-none-any.whl

Download URL pyteria-0.1.0-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cb3fe32d6ff085ddf38095d9e188d18a4356485d61520d0231268263824aeb5
BLAKE2b-256 checksum
How to use checksums
bc81ddbfcef2c8585df8140239ec8d24e36f369d8ea26744d6bd79c3f2311814
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.18.0 CPython/3.12.5 Darwin/22.6.0

Security for pyteria 0.1.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.

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

Release history Release notifications | RSS feed

This release

0.1.0 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