This release is a pre-release and may not be stable for production use.
BAL — Bio-Availability Language
Independent interpreted language · development version 0.5.0.dev1
BAL now includes its own .bal programming language frontend and interpreter:
lexer, parser, expression grammar, lexical scopes, functions, lists, dictionaries,
conditionals, loops, standard built-ins, a REPL, bal run, and bal check.
Its research built-ins connect the language to the BAL availability equation,
parameter fitting and global sensitivity modules.
Independence
BAL has a separate language syntax, runtime package, command-line executable, project metadata, documentation, tests and CI workflow. It has no BPL dependency or BPL code. Python 3.10+ is used only as the reference implementation host.
Install and run
python -m pip install .
bal --version
bal check examples/availability.bal
bal run examples/availability.bal
bal run examples/hello.bal
bal repl
Example
let dds_rate = 0.70
let first_pass = 0.15
let feedback = 0.40
let y = availability(dds_rate, first_pass, feedback, 2.0, 1.2)
print y
See the language specification. This is an independent language prototype; it is not a clinical decision or dosing system.
Metadata
Release files for bio-availability-language 0.5.0.dev1
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 |
|---|---|---|---|---|
| bio_availability_language-0.5.0.dev1.tar.gz | 11.6 kB | With provenance | Details for bio_availability_language-0.5.0.dev1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bio_availability_language-0.5.0.dev1-py3-none-any.whl | Python 3 | none | any | Details for bio_availability_language-0.5.0.dev1-py3-none-any.whl |
Total release size: 23.6 kB
Release files / bio_availability_language-0.5.0.dev1.tar.gz
| Download URL | bio_availability_language-0.5.0.dev1.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
732d0d23223fd4b4b10248c7050f67b2c5af0213c142c9f038c4c5c9c4722832
|
|
BLAKE2b-256 checksum How to use checksums |
bf444cd3d1e356ace1914c6a15aff2b39ab33999fcab3de6b7e186775795483a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / bio_availability_language-0.5.0.dev1-py3-none-any.whl
| Download URL | bio_availability_language-0.5.0.dev1-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
112388d84fe6b87d715c08dedf2106c96e57037b1ffd34df110d2f2cdf4ede36
|
|
BLAKE2b-256 checksum How to use checksums |
a10d057488bf88b73c9d4f227212e139ebbc385b0039428bf1e9f9dbdc8e57e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logSecurity for bio-availability-language 0.5.0.dev1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for bio_availability_language-0.5.0.dev1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logA 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.