Skip to main content

A pragmatic minifier for B++ programs

Project description

bppmini

bppmini is a CLI-first B++ minifier/compressor built on top of bxengine parsing/runtime behavior.

Install

pip install bppmini

CLI usage

bppmini -e '[CONCAT "hello" " world"]'
python -m bppmini.compress -e '[CONCAT "hello" " world"]'

Modes

  • -m program (default): full compression except stripping top-level outer whitespace.
  • -m library: full compression including stripping top-level outer whitespace.

Development

Run tests:

python -m unittest discover -s tests -p 'test_*.py' -v

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bppmini-0.1.0.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bppmini-0.1.0-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file bppmini-0.1.0.tar.gz.

File metadata

  • Download URL: bppmini-0.1.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bppmini-0.1.0.tar.gz
Algorithm Hash digest
SHA256 11b9f4e394dd2e138da04830a845116623979d3019e1c4db537aa2c496b13754
MD5 902365c4774c318ef26b1b2ac46d0eee
BLAKE2b-256 fb1a94ba38e3dcc608effaa90b01134f8a0b38aef8fe83805ea35e944bbc4e43

See more details on using hashes here.

Provenance

The following attestation bundles were made for bppmini-0.1.0.tar.gz:

Publisher: publish.yml on infernostars/bppmini

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bppmini-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bppmini-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bppmini-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0de4736bee1fe1fb02cff79f400547ae8e429cb6052587cd7260760719f6301b
MD5 9b42465946b4f3805b4125356e5b8a15
BLAKE2b-256 665514e38be363a3ad0aabfea62bc6e51fe2beda4aedbc86e35530d13bbfe67a

See more details on using hashes here.

Provenance

The following attestation bundles were made for bppmini-0.1.0-py3-none-any.whl:

Publisher: publish.yml on infernostars/bppmini

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page