Skip to main content

The async transformation code.

Project description

unasync
=======

|documentation| |travis| |appveyor| |codecov|

.. |travis| image:: https://travis-ci.com/RatanShreshtha/unasync.svg?branch=master
:alt: Travis Build Status
:target: https://travis-ci.com/RatanShreshtha/unasync

.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/sjw2q42mx7jvqbyp/branch/master?svg=true
:alt: AppVeyor Build Status
:target: https://ci.appveyor.com/project/RatanShreshtha/unasync

.. |codecov| image:: https://codecov.io/gh/RatanShreshtha/unasync/branch/master/graph/badge.svg
:alt: Coverage Status
:target: https://codecov.io/gh/RatanShreshtha/unasync

.. |documentation| image:: https://readthedocs.org/projects/unasync/badge/?version=latest
:alt: Documentation Status
:target: https://unasync.readthedocs.io/en/latest/?badge=latest


Welcome to `unasync <https://pypi-hypernode.com/project/unasync/>`_, a project that can transform your asynchronous code into synchronous code.

*Why are we doing it?* - `urllib3/urllib3#1335 <https://github.com/urllib3/urllib3/pull/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 :code:`setup.py` place the following code.

.. code-block:: python
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.

Source Distribution

unasync-0.2.2.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

unasync-0.2.2-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file unasync-0.2.2.tar.gz.

File metadata

  • Download URL: unasync-0.2.2.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for unasync-0.2.2.tar.gz
Algorithm Hash digest
SHA256 5476fc1ca97e66fce7d30208b4a3db07c6fdd50aaf6c4549379e3e9907ea82d2
MD5 5c27a257f40b1ff6e40138a7862c4a08
BLAKE2b-256 585966a1ddba99e331b26905372bbe676edf42dc9922eb8688e307163dd57853

See more details on using hashes here.

File details

Details for the file unasync-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: unasync-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for unasync-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 06067d8ebabfba7040f1425ad58dedddc9e2108873c536f68254cb52b88abd29
MD5 28c062fbe76a5f0a8b811639c06c8689
BLAKE2b-256 a9c5df710ac22d72287edaf8d5605224e19ac8de2bbaed45bbeeff921883e7fe

See more details on using hashes here.

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