Skip to main content

The async transformation code.

Project description

unasync

Documentation Status Travis Build Status AppVeyor Build Status Coverage Status

Welcome to unasync, a project that can transform your asynchronous code into synchronous code.

Why are we doing it? - urllib3/urllib3#1335

Installation

pip install unasync

Usage

To use the unasync project you need to install the package and then create a _async folder where you will place the asynchronous code that you want to transform into synchronous code.

And then in your setup.py place the following code.

import unasync

setuptools.setup(
    ...
    cmdclass={'build_py': unasync.build_py},
    ...
)

And when you will build your package you will get your synchronous code in _sync folder.

Documentation

https://unasync.readthedocs.io/en/latest/

License: Your choice of MIT or Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for unasync, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size unasync-0.3.0-py3-none-any.whl (9.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size unasync-0.3.0.tar.gz (15.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page