Skip to main content

Apychal

What?

This is the async version of pychal.

Why don't you submit this as a PR? What I did here was very simple. However it breaks compatibility with older versions of Python, which can be an issue. If you're going to use an async version of pychal, I think you're already aware of the reason why! apychal was initially made to work with ATOS (which is now here), a Discord bot relying on asynchronous tasks to be efficient.

Requirements

Please note that it :

  • Only supports Python 3.6+ (modern asyncio, removed legacy code).
  • Replaces requests with aiohttp (which makes this module asynchronous).

How to use

That's it for the main differences, otherwise it should be the same to use as the original.

You can install apychal with PyPI :

pip install apychal

Get started (example)

import asyncio
import achallonge

achallonge.set_credentials("user", "my_api_key")

async def main():
    participants = await achallonge.participants.index('mytournament')
    print(participants)

asyncio.run(main())

Metadata

Release files for apychal 1.12.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 apychal 1.12.0
File Size Uploaded
apychal-1.12.0.tar.gz 7.2 kB Details

Built distribution (wheel)

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

Total release size: 15.5 kB

Release files / apychal-1.12.0.tar.gz

Download URL apychal-1.12.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9fa1162f9fbb6b4e6c5cdd8e583d1651b920117a6bf1fdfa6f3e3e7f3d4e7126
BLAKE2b-256 checksum
How to use checksums
0ea5aeae4402ce0ab409e129f5649cb73f5609c7d319a74f4a9ddb98eb908a44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / apychal-1.12.0-py3-none-any.whl

Download URL apychal-1.12.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10b346e7b4ff40f9a299173e833fa0f2ce1184326aae4fe2554bb9042a25ffab
BLAKE2b-256 checksum
How to use checksums
446c353440bf8c279bf2c43d41ae8becf5844debcc5447e610815a134453bacf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

1.12.0 This release

2 release files

1.10.0

1 release file

1.9.8

1 release file

1.9.7

1 release file

1.9.6

1 release file

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