BraCon
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.
Metadata
Release files for bracon 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bracon-0.0.1.tar.gz | 2.4 kB | Without provenance | Details for bracon-0.0.1.tar.gz |
Release files / bracon-0.0.1.tar.gz
| Download URL | bracon-0.0.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac7ac0c840670fa957c374a5a077616190c0e71d9fdb5c85b4d07a76871126be
|
|
BLAKE2b-256 checksum How to use checksums |
fd0fc3f9a7ea32956aaa2fbbad32dbd01959a6fec34775131df6803c1164c171
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bracon 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.