Skip to main content

pitybas

A working TI-BASIC interpreter, written in Python.

Installation

pip install pitybas

Usage

Use pb -i vt100 to run programs which need a working home screen.

If you run pb with no filename, it launches an interactive shell.

Usage: pb [options] filename

Options:
    -h, --help        show this help message and exit
    -a, --ast         parse, print ast, and quit
    -d, --dump        dump variables in stacktrace
    -s, --stacktrace  always stacktrace
    -v, --verbose     verbose output
    -i IO, --io=IO    select an IO system: simple (default), vt100
    -x, --strict      raise ERR:UNDEFINED instead of silently defaulting unset variables to 0

You can also run it as a module without installing the console script:

python -m pitybas -i vt100

Known Limitations

  • Graph screen functions are not supported. Commands that draw to the TI-83/84 graph screen (e.g. Circle, Line, DrawF) are not implemented. Programs that use them will fail or produce no output.

Development

Clone the repository and install it in editable mode with the test extras:

pip install -e .[test]
pytest

Release files for pitybas 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pitybas 0.5.1
File Size Uploaded
pitybas-0.5.1.tar.gz 40.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pitybas 0.5.1
File Interpreter ABI Platform
pitybas-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 67.8 kB

Release files / pitybas-0.5.1.tar.gz

Download URL pitybas-0.5.1.tar.gz
Size 40.4 kB
Tags Source
SHA-256 checksum
How to use checksums
45948af252c7cf96b750f8c30ffa0284767090d868b619e1995c14be7044e98a
BLAKE2b-256 checksum
How to use checksums
64641a9f06b15bf3549a5b55974266ddb4e5eb3394c3d8e25b87b85e0dd4a691
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 7, 2026.

Transparency log

Release files / pitybas-0.5.1-py3-none-any.whl

Download URL pitybas-0.5.1-py3-none-any.whl
Size 27.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7409a8e312cc9e070504f00214043d57e423a9985f91a4fc89d0cc34114870e9
BLAKE2b-256 checksum
How to use checksums
be86363e1fc3d74555413310921c373599897918a0c11b20969544f57d985a0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page