BotBoy
Multithreading & processing worker that executes functions and prints the result
Installation
pip install botboy
Usage
Create a new BotBoy object with a pre-defined function object and a name
from botboy import BotBoy
bot = BotBoy('Adder', lambda x, y: x + y)
Display the information
bot.display_information()
Adder
<function
Execute function object on separate thread
bot.execute(1, 2)
Adder is executing task: <function
Retrieved result from Adder: 3
Execute function object on separate process
bot.set_processing() # Can be turned back to thread by running same method
bot.execute(3, 4)
Adder is executing task: <function
Retrieved result from Adder: 7
Test
Runs the tests on the core module
make test
Metadata
Release files for botboy 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 |
|---|---|---|---|---|
| botboy-1.tar.gz | 3.4 kB | Without provenance | Details for botboy-1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| botboy-1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for botboy-1-py2.py3-none-any.whl |
Total release size: 6.1 kB
Release files / botboy-1.tar.gz
| Download URL | botboy-1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f933bd852f2258271c76030d9e5692619e375b3bd600fb62dd968adba8c09bfd
|
|
BLAKE2b-256 checksum How to use checksums |
21e0092e616b9d76727448fcac34c242b0c36714277c6fed381cefea4d89044c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|
Release files / botboy-1-py2.py3-none-any.whl
| Download URL | botboy-1-py2.py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bf173ea2d86316f1d4e68defbd94ccb2f81460792c2f7ebc5a547a0e991f68b4
|
|
BLAKE2b-256 checksum How to use checksums |
7e85b0793c2faea5146cc52e131b59bd958976bdc0cae22e866b50a2d66eee7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|
Security for botboy 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.