Skip to content

timedcy/aio-pipes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asyncio Pipes

Coverage Status

This module provides a set of pipe-like data structures for use with asyncio-based applications.

def capitalize(name):
  return name.capitalize()
  
def say_hello(data):
  return "Hello {name}".format(name=data)

pipe = new Pipeline("My First Pipeline") | capitalize | say_hello
pipe < open("list_of_names.txt")
pipe > sys.stdout
asyncio.run_until_complete(pipe.start())

Pipelines

Pipelines are composed of pipes and filters.

About

Asynchronous pipes in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%