What is later?
later is a play on Async not happening now but at some point in the future. It was also an awesome name for a toolkit for writing AsyncIO applications. The batteries if you will for AsyncIO.
later is a collection of asyncio batteries created at Meta for supporting asyncio services.
- later offers the following:
- Unittesting
later.unittest.TestCase - An IsolatedAsyncioTestCase that insures tasks are not left orphaned and asyncio never calls its error handler.
later.unittest.mock.AsyncContextManager - A factory for easy mocking out AsyncContextManager
- Tasks*
later.cancel - The correct way to cancel a Task/Future and insure it is awaited
later.as_task - Decorator to turn coroutines into Tasks.
later.Watcher - Watch tasks and ensure they don’t die - take action when they do. This is kinda like a asyncio.TaskGroup
later.herd - A Decorator that provides coroutines with basic thundering herd protection.
later.task.TaskSentinel - A Completed Future, a default value for a asyncio.Task argument so you don’t also have to accept None.
- Synchronization
later.event.BiDirectionalEvent - two way asyncio.Event for Handshake style synchronization.
License
later is Apache licensed, as found in the LICENSE file
Metadata
Release files for later 26.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| later-26.8.1.tar.gz | 31.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| later-26.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 75.6 kB
Release files / later-26.8.1.tar.gz
| Download URL | later-26.8.1.tar.gz |
|---|---|
| Size | 31.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e86d7586f098ceb38f629b97b22764bf62917c4f601dd459e71fc644c7e1c99
|
|
BLAKE2b-256 checksum How to use checksums |
55824453234fd3382d5456c223303249757a19a7addd7a44e19dc9c9ffa69220
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|
Release files / later-26.8.1-py3-none-any.whl
| Download URL | later-26.8.1-py3-none-any.whl |
|---|---|
| Size | 43.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ebd30ed02be18e5eaf654518d2a11329bb37508db3fce90a9ef578dcb705fdfb
|
|
BLAKE2b-256 checksum How to use checksums |
d1b37c0b5d34fc8d755364ffe0e542da71c9b975f58254a4ce4d34adea492db6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|