bashlex 0.18


pip install bashlex

  Latest version

Released: Jan 18, 2023

Project Links

Meta
Author: Idan Kamara
Requires Python: >=2.7, !=3.0, !=3.1, !=3.2, !=3.3, !=3.4

Classifiers

Development Status
  • 4 - Beta

Environment
  • Console

Intended Audience
  • Developers

License
  • OSI Approved :: GNU General Public License v3 or later (GPLv3+)

Operating System
  • OS Independent

Programming Language
  • Python

Topic
  • Software Development :: Libraries :: Python Modules
  • System :: System Shells
  • Text Processing

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.

Wheel compatibility matrix

Platform Python 2 Python 3
any

Files in release

Extras: None
Dependencies:
enum34