Python Bot EXpression (PyBEX)
A simple Interpreted Dynamic Programming Language for describing chat bot commands and behavior.
Installing PyBEX
PyBEX is available on PyPI:
python -m pip install -U pybex
Language Elements
String
"Hello, World"
'single or double - doesn\'t matter'
"""multiline
ones"""
'''are
supported'''
Number
# integers
69
420
1_000_000 # 1000000
# and floats
3.1415
5e-10
Variable
args
sender
_underscore
Funcalls
f()
f(g())
f(69, 420, 3.1415)
f("can take in any other language element")
Interactive mode
use command:
python -m pybex
bex> say(99,
... "bottles of beer",
... "on the wall.")
99 bottles of beer on the wall.
bex> if(1, "pi", 3.1415)
'pi'
Interpret from the file
use command:
python -m pybex <file_path>
(replace <file_path> with path of your script file)
say(if(
int(input()),
"non-zero input",
"zero input"
))
Metadata
Release files for pybex 0.0.2
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 |
|---|---|---|---|---|
| pybex-0.0.2.tar.gz | 9.2 kB | Without provenance | Details for pybex-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pybex-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for pybex-0.0.2-py3-none-any.whl |
Total release size: 18.8 kB
Release files / pybex-0.0.2.tar.gz
| Download URL | pybex-0.0.2.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77170b089e99c0a147d36f0bb79629a9e10f40e27417b343d003c71fc107c470
|
|
BLAKE2b-256 checksum How to use checksums |
fb1f16ec68624a6e96be43a2519848ed24ec0cb404fcf1d13609772f47eca688
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0rc1
|
Release files / pybex-0.0.2-py3-none-any.whl
| Download URL | pybex-0.0.2-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0dc39b551926809117ed35ce2624a935d85e9032a779f1c410561d6b45b6fded
|
|
BLAKE2b-256 checksum How to use checksums |
7f88ac3b73439dd975966b1161bb4f0c0fb560a4d055394cf39c6811706b3d8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0rc1
|
Security for pybex 0.0.2
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.