Skip to main content

bAsedPL

bAsedPL (aka "Based-array APL") is an APL-derived language that uses based arrays. It emphasizes simple, consistent notation, borrowing ideas from J and BQN.

Based arrays, named in a 1981 paper and popularized by BQN, treats numbers, characters and functions as atoms, which are collected and shaped in arrays. The atom 3 is distinct from the scalar (rank-0 array) ⊂3.

Work with whole arrays, define functions, and combine them with operators, through an interactive terminal or Python API. Numbers include approximate reals, complex numbers and exact rationals.

Install

pip install basedpl

Command line

bapl -e '+/⍳10'       # 55

Run bapl to open the REPL.

Python

from basedpl import Session

with Session() as apl:
    mean = apl.fn('{(+/⍵)÷≢⍵}')
    print(mean([1, 2, 3]).py)    # 2

Jupyter

The Python package installs the bAsedPL kernel as the apl kernelspec. Select it in Jupyter to run APL cells with persistent names, glyph/name completion and interruption. Explicit ⎕← output streams during execution; ordinary results follow the REPL's display rules.

The same native executable runs the kernel with bapl --kernel -f CONNECTION_FILE, using kernmini for the Jupyter protocol. No Python interpreter is needed when launching the native binary directly.

Use Shift-Tab or ]help name for help, ]help name -source for source. See names and help for Python/IPython support and the name-inspection functions.

Documentation

For source installation and contributing, see DEV.md.

Release files for basedpl 0.1.9

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

Source distribution (sdist)

Source distribution for basedpl 0.1.9
File Size Uploaded
basedpl-0.1.9.tar.gz 1.5 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for basedpl 0.1.9
File
basedpl-0.1.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
basedpl-0.1.9-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
basedpl-0.1.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
basedpl-0.1.9-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
basedpl-0.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
basedpl-0.1.9-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
basedpl-0.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
basedpl-0.1.9-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 32.8 MB

Release files / basedpl-0.1.9.tar.gz

Download URL basedpl-0.1.9.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
645bc0a75b9ca2bda3c2cee6ab899e8b72cdce8f6223320a5379a76c8b2fc531
BLAKE2b-256 checksum
How to use checksums
bb4b96e74a6064a55ac9e941da87377d26db42bfb8854228513b07b0b274f9d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 22, 2026.

Transparency log

Release files / basedpl-0.1.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL basedpl-0.1.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.3 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
91eaa89a97af75277e12996d860d5bd69edc819ce75bd2fafe736cb2323009f5
BLAKE2b-256 checksum
How to use checksums
af9f5e4a3e5336594a9127ec47ccf1f31e7ccd9c3f44122a77ec4fcaab738737
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 22, 2026.

Transparency log

Release files / basedpl-0.1.9-cp313-cp313-macosx_11_0_arm64.whl

Download URL basedpl-0.1.9-cp313-cp313-macosx_11_0_arm64.whl
Size 3.5 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5e6bc4cb1bd9cecbe5be14d0661c6ce4437f0a5ac3f3cbb890f620c1f0d6a75c
BLAKE2b-256 checksum
How to use checksums
9ed3645b4ce918406af267e6645337fcb906affcd2b6a7266160121f9256a789
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 22, 2026.

Transparency log

Release files / basedpl-0.1.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL basedpl-0.1.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.3 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
99bfce93a8f4a45b1a38031286abf34a6e00ad3f6d1d87ee3b6cb20b0ff15cff
BLAKE2b-256 checksum
How to use checksums
d7ed87a4366f181ba3da786cccfde3f06417d3c53317c8e7ebb2db8f8ba70450
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 22, 2026.

Transparency log

Release files / basedpl-0.1.9-cp312-cp312-macosx_11_0_arm64.whl

Download URL basedpl-0.1.9-cp312-cp312-macosx_11_0_arm64.whl
Size 3.5 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f34b0aac8e061366b17ef5be24d98b3e8613b1b8ae8de2399e9c4e931fc86a19
BLAKE2b-256 checksum
How to use checksums
c8067a46124916ed0f81047e3a1ae59eaff57fa40d87940c8129e788216d4151
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 22, 2026.

Transparency log

Release files / basedpl-0.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL basedpl-0.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.3 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
93749f4c7b75a1400317d012899d6da2d7f987723e2633c4faa7be268d345aeb
BLAKE2b-256 checksum
How to use checksums
1d2ddb8731bca8727f973cf0b571e905777b3bdc21562bf800c11faeb1ed1f60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 22, 2026.

Transparency log

Release files / basedpl-0.1.9-cp311-cp311-macosx_11_0_arm64.whl

Download URL basedpl-0.1.9-cp311-cp311-macosx_11_0_arm64.whl
Size 3.5 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d5f3dfcd94548b154f1b2fa0eff6073ae5cafb5361dc397066b797e62818348c
BLAKE2b-256 checksum
How to use checksums
d861597b9330cdff06f4bb2f72d12d0aae9d921e216015255f8ed18a0f78c8f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 22, 2026.

Transparency log

Release files / basedpl-0.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL basedpl-0.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
32e0a43c8766f53f9d48dcb0bd07d99c71323af5c524ca481b58c3921bc9781b
BLAKE2b-256 checksum
How to use checksums
967794bfc6534ab0534a2d3b0767a3fbd0a8ab28727a02ef38d92f89ea992e9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 22, 2026.

Transparency log

Release files / basedpl-0.1.9-cp310-cp310-macosx_11_0_arm64.whl

Download URL basedpl-0.1.9-cp310-cp310-macosx_11_0_arm64.whl
Size 3.5 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
85e513f273fdfd61f3c408d5706eea0333b8ff49f59b9f85820ba3a7b0d4974c
BLAKE2b-256 checksum
How to use checksums
1d582c5c4947c24e4ff55c29337c6dcb85951cb3071629e3272749a39dd4f8f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.9 This release

9 release files

0.1.8

9 release files

0.1.7

9 release files

0.1.6

9 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