Skip to main content

Kind of like JavaScript promises (in Python!)

Project description

PromiseAPI

Provides a Promise-like syntax for a JS Promise-like object in Python. It does not currently implement all methods (still a WIP), but the methods already implemented, such as then, catch, and _finally, do not behave exactly as they do in JavaScript. However, they behave similarly enough that similar code would not get too messed up. Examples are in test.py.

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

promiseapi-1.0.0.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

promiseapi-1.0.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

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