Skip to main content

Python parser for bash

Project description

bashlex is a Python port of the parser used internally by GNU bash.

For the most part it’s transliterated from C, the major differences are:

  1. it does not execute anything

  2. it is reentrant

  3. it generates a complete AST

See https://github.com/idank/bashlex/blob/master/README.md for more info.

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

bashlex-0.18.tar.gz (68.7 kB view details)

Uploaded Source

Built Distribution

bashlex-0.18-py2.py3-none-any.whl (69.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file bashlex-0.18.tar.gz.

File metadata

  • Download URL: bashlex-0.18.tar.gz
  • Upload date:
  • Size: 68.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1

File hashes

Hashes for bashlex-0.18.tar.gz
Algorithm Hash digest
SHA256 5bb03a01c6d5676338c36fd1028009c8ad07e7d61d8a1ce3f513b7fff52796ee
MD5 18156c91e796a5f676338337b178f476
BLAKE2b-256 7660aae0bb54f9af5e0128ba90eb83d8d0d506ee8f0475c4fdda3deeda20b1d2

See more details on using hashes here.

Provenance

File details

Details for the file bashlex-0.18-py2.py3-none-any.whl.

File metadata

  • Download URL: bashlex-0.18-py2.py3-none-any.whl
  • Upload date:
  • Size: 69.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1

File hashes

Hashes for bashlex-0.18-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 91d73a23a3e51711919c1c899083890cdecffc91d8c088942725ac13e9dcfffa
MD5 7f9b4e2a518ce1525c6f704706d55773
BLAKE2b-256 f4be6985abb1011fda8a523cfe21ed9629e397d6e06fb5bae99750402b25c95b

See more details on using hashes here.

Provenance

Supported by

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