Skip to main content

basta

basta finds code that nothing runs: unused files, exports, module-private declarations and imports in JavaScript, TypeScript, JSX and TSX, in Vue, Svelte and Astro components, and in Python. It reads Rust dead code from the compiler's own diagnostics.

This package ships the same self-contained Rust binary as the npm and crates.io releases, as platform wheels for macOS (arm64, x64), Linux (glibc and musl, x64 and arm64) and Windows (x64, arm64). It installs the basta command. There is no Python code in it and it needs no Node.js.

The name on PyPI is basta-cli because basta was taken.

Install

pip install basta-cli          # or: pipx install basta-cli / uv tool install basta-cli
basta .

uvx --from basta-cli basta .   # run without installing

pre-commit

The repository publishes a .pre-commit-hooks.yaml, and the hook installs this wheel:

repos:
  - repo: https://github.com/kucherenko/basta
    rev: v0.3.1
    hooks:
      - id: basta

Metadata

Release files for basta-cli 0.3.1

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

Built distributions (wheels)

Table of built distributions (wheels) for basta-cli 0.3.1
File
basta_cli-0.3.1-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
basta_cli-0.3.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
basta_cli-0.3.1-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
basta_cli-0.3.1-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
basta_cli-0.3.1-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details
basta_cli-0.3.1-py3-none-manylinux_2_34_aarch64.whl Python 3 none Linux glibc 2.34+ ARM64 Details
basta_cli-0.3.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
basta_cli-0.3.1-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details

Total release size: 25.7 MB

Release files / basta_cli-0.3.1-py3-none-win_arm64.whl

Download URL basta_cli-0.3.1-py3-none-win_arm64.whl
Size 5.0 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
2c09f4a189fe8c086671b36c3607c2402ab8724d7cfcd1db60bb02ed0732b42e
BLAKE2b-256 checksum
How to use checksums
2e1ea4ec880e4c54167ffbaf312e5e62261904d1dd5762c83372d10cff359c99
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 Oct 10, 2026.

Transparency log

Release files / basta_cli-0.3.1-py3-none-win_amd64.whl

Download URL basta_cli-0.3.1-py3-none-win_amd64.whl
Size 5.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7b24ad494670b06d09b409f7053062193f60e59776b0f0503a25a6c43b73ad38
BLAKE2b-256 checksum
How to use checksums
e882696381e5d1f8bbf1295b55587566e9c079750ffba4b73d8dc9902db54581
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 Oct 10, 2026.

Transparency log

Release files / basta_cli-0.3.1-py3-none-musllinux_1_2_x86_64.whl

Download URL basta_cli-0.3.1-py3-none-musllinux_1_2_x86_64.whl
Size 2.8 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
3c8410dac2f6a5d968f881016f3bb4492b1ffee0afb0b55c6af9ccc4dfeceecb
BLAKE2b-256 checksum
How to use checksums
8f0efa3733cb11e978aa98fd38922767dfe3eed734780e06d01c2a3e4bb6c11b
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 Oct 10, 2026.

Transparency log

Release files / basta_cli-0.3.1-py3-none-musllinux_1_2_aarch64.whl

Download URL basta_cli-0.3.1-py3-none-musllinux_1_2_aarch64.whl
Size 2.6 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
6311e9ecb1ef2381269ee029100d67628ca42ffbd72ace1641a97db40dd1c2df
BLAKE2b-256 checksum
How to use checksums
9c41b2a67f730b07220d7b94a713fd1916465c77e1a92ae7e286dbaa02dd17d5
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 Oct 10, 2026.

Transparency log

Release files / basta_cli-0.3.1-py3-none-manylinux_2_34_x86_64.whl

Download URL basta_cli-0.3.1-py3-none-manylinux_2_34_x86_64.whl
Size 2.7 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
572c8a924c3010fc6db4a3b03cff7c85f96597b23630a3b518664d14d5c0721a
BLAKE2b-256 checksum
How to use checksums
eeacb5d49c6db92dc6dbd076d88b572b2c666027a07d1139f63795f6fbdb5554
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 Oct 10, 2026.

Transparency log

Release files / basta_cli-0.3.1-py3-none-manylinux_2_34_aarch64.whl

Download URL basta_cli-0.3.1-py3-none-manylinux_2_34_aarch64.whl
Size 2.6 MB
Tags Linux glibc 2.34+ ARM64 Python 3
SHA-256 checksum
How to use checksums
24167ec76148339c0ad46f31cc72d6439229ba4e8e9102d421db7da1efbb7615
BLAKE2b-256 checksum
How to use checksums
773b40a69ca346c9a2e958e5b288b6c13dc9b87d507d3eb00308de8049d4b717
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 Oct 10, 2026.

Transparency log

Release files / basta_cli-0.3.1-py3-none-macosx_11_0_arm64.whl

Download URL basta_cli-0.3.1-py3-none-macosx_11_0_arm64.whl
Size 2.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7b087b1510d8764f85d47c1a80b1add0f48d2c783b021f6878a0a1bb83a408db
BLAKE2b-256 checksum
How to use checksums
9142456fa832caed17a854c5cbe4000ad43ff70c5ee046a1dd525833aa146899
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 Oct 10, 2026.

Transparency log

Release files / basta_cli-0.3.1-py3-none-macosx_10_12_x86_64.whl

Download URL basta_cli-0.3.1-py3-none-macosx_10_12_x86_64.whl
Size 2.6 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
bf0f38f31bd82ea7c8842e247adcd0d782751a78624fb4a775cdd45df6854187
BLAKE2b-256 checksum
How to use checksums
2c779eed26c1297d31b8332da275e7712637464f398376aab4d3ca6db6e062b4
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 Oct 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.1 This release

8 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