Skip to main content

A toolbox for asyncio services

Project description

https://github.com/facebookincubator/later/actions/workflows/ci.yml/badge.svg?branch=main https://img.shields.io/badge/code%20style-black-000000.svg

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 offers the following functions:

  • asyncio Event enhancements
    • BiDirectionalEvent - Back channel of information for the setter to ensure the waiter has called wait() a second time

  • asyncio Task enhancements
    • Watcher - Watch tasks and ensure they don’t die - take action when they do

  • asyncio Unittesting enhancements
    • TestCase - Use in place of IsolatedAsyncioTestCase for more wins

    • IsolatedAsyncioTestCase is backported for 3.7 users

later currently backports 3.8’s async_case + mock libraries for 3.7 users.

License

later is Apache licensed, as found in the LICENSE file

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

later-23.11.30.tar.gz (50.0 kB view details)

Uploaded Source

Built Distribution

later-23.11.30-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

File details

Details for the file later-23.11.30.tar.gz.

File metadata

  • Download URL: later-23.11.30.tar.gz
  • Upload date:
  • Size: 50.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for later-23.11.30.tar.gz
Algorithm Hash digest
SHA256 d1aac6eb07b0c7aa0ad5c1c2643133111a5c896672c166dd752adc38fb5e5bf7
MD5 bc1cb9c266b4e940afff08841a8ecca3
BLAKE2b-256 f1aea20e1ced2b44b9446c2949ea873d5563f294ce6e5a84b3a99de1878b3a20

See more details on using hashes here.

Provenance

File details

Details for the file later-23.11.30-py3-none-any.whl.

File metadata

  • Download URL: later-23.11.30-py3-none-any.whl
  • Upload date:
  • Size: 56.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for later-23.11.30-py3-none-any.whl
Algorithm Hash digest
SHA256 94cf11d50fb55157424ffce60145b6bd4c5cde312d4db3cfb02f2029a8f27297
MD5 9abc357c68746001f974d92155cfcba3
BLAKE2b-256 cc14f5ac5fffdf0a0a9277280abc4c4030c7c84b3e8ba7d398c6a95ea8e58991

See more details on using hashes here.

Provenance

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