Skip to main content

An async wrapper made in Python for Zane API.

Project description

Made for Python 3.6+. Website Link

Example:

import aiozaneapi # Import the package so it can be used.

client = aiozaneapi.Client('Token Here') # Instantiate the Client.

try:
    image = await client.magic('Image URL Here') # This will return a BytesIO object.
except aiozaneapi.GatewayError as err:
    print(f'Error has occurred on the server-side. {err}')
except aiozaneapi.UnauthorizedError as err:
    print(f'Error has occurred on the client-side. {err}')

await client.close() # Close the client unless you want aiohttp screaming at you.

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

aiozaneapi-1.6.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

aiozaneapi-1.6-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file aiozaneapi-1.6.tar.gz.

File metadata

  • Download URL: aiozaneapi-1.6.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for aiozaneapi-1.6.tar.gz
Algorithm Hash digest
SHA256 82b692ab527696089f455bc4aa8241309254db392d4ff3881b4973b853d75784
MD5 72d9b93ed4d27d6d05dba4d6fc56da66
BLAKE2b-256 1c45537e99093728c2a1d3c72a6e5dadc8b730e848c3a3e8c2f807515a24a09c

See more details on using hashes here.

File details

Details for the file aiozaneapi-1.6-py3-none-any.whl.

File metadata

  • Download URL: aiozaneapi-1.6-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for aiozaneapi-1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 14d2e94af54604bd6524e44382ec8333ab70997bf626a4fb82541c6cfe0bc3e1
MD5 e8884ceec03ef81abc3a808d631d1fbd
BLAKE2b-256 4bdd228d82f763fb9ad507b228c1c318c1cd7c0124bd042c0bb7ca0f199deb98

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