Pretzel asynchronous python framework
Project description
Pretzel
[![Build Status][build_badge]][build_url] [![Coverage Status][coverage_badge]][coverage_url]
Is an asynchronous application framework for python
Features
C# like async/await(async/yield) paradigm for asynchronous programming (monad base)
Cool asynchronous I/O loop implementation
Uniform asynchronous stream implementation for sockets and pipes
Interact with subprocesses asynchronously
Greenlet support (but not required)
Remote code executing over ssh or in child process (with only requirements python and ssh itself)
Python 2/3, PyPy compatible
Asynchronous python shell python -mpretzel.apps.shell (requires greenlet)
Examples
[Simple echo server](https://gist.github.com/aslpavel/5635559)
[Cat remote file over ssh](https://gist.github.com/aslpavel/5635610)
[build_badge]: https://api.travis-ci.org/aslpavel/pretzel.png “build status” [build_url]: https://travis-ci.org/aslpavel/pretzel [coverage_badge]: https://coveralls.io/repos/aslpavel/pretzel/badge.png?branch=master “coverage status” [coverage_url]: https://coveralls.io/r/aslpavel/pretzel?branch=master
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.