Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Branch and Confluence. You can have consecutive another process.

Project Description

This library is Branch and Confluence. You can have consecutive another process.

timeline >-------------------------------->

main process o---o---o---o---o---o---o---o---o
                  \       \           \
sub process        o-------o-----------o

Requirements

  • Python3

Quick Example

import bracon

b = bracon.Bracon()
b.add(lambda x: "Hello")
b.add(lambda x: x * 2)
b.add(lambda x: print("print from sub process", x))
print("print from main process")

When you run this script, you will get:

print from main process
print from sub process HelloHello

But if you copy and paste on your python shell one by one, you will get:

print from sub process HelloHello
print from main process

Sometime main is called fist, sometime sub is called first. That’s why BraCon runs on another process.

Release History

Release History

This version
History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
bracon-0.0.1.tar.gz (2.4 kB) Copy SHA256 Checksum SHA256 Source Jun 23, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting