Skip to main content

An e621 asyncio API wrapper

Project description

e6py-aio

e6py-aio is an asyncio API wrapper for e621/e926

Requirements

  • Python >= 3.10
  • aiohttp >= 3.8.5
  • attrs >= 22.2.0

Usage

from e6py_aio import E621Client

client = E621Client(login="username", api_key="API Key")
posts = await client.get_posts()

for post in posts:
    print(f"Got post {post.id}")
    print(f"  Rating: {post.rating}")
    print(f"   Score: {post.score}")
    print(f"     URL: {post.file.url}")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

e6py_aio-0.1.3.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

e6py_aio-0.1.3-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file e6py_aio-0.1.3.tar.gz.

File metadata

  • Download URL: e6py_aio-0.1.3.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.4 Windows/10

File hashes

Hashes for e6py_aio-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7660f2071bcbd4789dd85cd3e24d537f734f0d0f19724f8fb77d83af0292e9e6
MD5 a2c6cfe571b5170cf4e4b80ea10fa8fe
BLAKE2b-256 6b6f8bf51266f2920e4a459ed7da513ebb7435b553325856d0d493e62dd7a4cd

See more details on using hashes here.

File details

Details for the file e6py_aio-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: e6py_aio-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.4 Windows/10

File hashes

Hashes for e6py_aio-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e0902390cfdd5a3f3c403ecf462433c21e75158b62011149c0fecc9e759c4803
MD5 75af3ee50a7f14b0fbe7f3315044bfba
BLAKE2b-256 66f7f8b93f7eb59133b178ea5fd3867f8a0a4bb3473898746418e911cee0930b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page