Brodcast
what is this
Do you know the scrach brodcast block, its that but in python
documentation
| function | action | example |
|---|---|---|
| @brodcast.on(name) | Put this above the function you want to activate with brodcast replace the name variable with the name you want the variable to call said function |
|
| brodcast.cont(name) | This command will activate all fuctions assigned to the name variable and continue withount waiting |
|
| brodcast.wait(name) | This command is like brodcast.con but will wait for all of the functions to finish before continueing |
|
| brodcast.debug() | This command is used for |
|
brodcast also supports threding aplications
change = False
@brodcast.on("test")
def my_func():
global change
print("a")
change = True
while change:
time.sleep(.1)
print("c")
@brodcast.on("test")
def my_func2():
global change
while not change:
time.sleep(.1)
print("b")
change = False
brodcast.wait("test")
print()
print("done")
# outputs a, b, c, then done
Release files for ezbroadcast 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 | |
|---|---|---|---|
| ezbroadcast-0.0.1.tar.gz | 14.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ezbroadcast-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.4 kB
Release files / ezbroadcast-0.0.1.tar.gz
| Download URL | ezbroadcast-0.0.1.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da1ef17b874a1ed01d8e65e300311334f7d7cef01b38caa9abb471ea8f6822fa
|
|
BLAKE2b-256 checksum How to use checksums |
71d64c6bcc4f4bc194dc9337dc71897de83627f69f77a0a0c9241a0262100147
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / ezbroadcast-0.0.1-py3-none-any.whl
| Download URL | ezbroadcast-0.0.1-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e424f85cf2ab06d25ec644214f8415e16681dd248d091195ece533390fb54a8
|
|
BLAKE2b-256 checksum How to use checksums |
2d8f3c6bcda56b0be69b17cd6ffc9c18be15f27ed3a641035e071c2d76347a3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|