Bashlex: Bash Parser

JSON →
library 0.18 ·python
verified May 20, 2026 install

Bashlex is a Python library providing a parser for bash commands. It can take a bash command string and convert it into an Abstract Syntax Tree (AST), allowing for programmatic inspection and manipulation of shell commands. The current version is 0.18, with releases occurring roughly annually or bi-annually.

total hits 43
actors 9 distinct systems
last hit 1d ago SERankingBot
ChatGPT-User
16
OAI-SearchBot
6
Script
3
ByteDance
3
GPTBot
2
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇧🇪 Belgium · 🇳🇴 Norway