
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Dictionary parser is a Python CLI tool for processing and exporting dictionary word lists with customizable filters, formats, and casing options.
Perfect for building vocabulary apps, language tools, or educational datasets.
a
, a-c
, a,c,f
)lower
, upper
, or no changelocal_index
, length
Install via pip:
pip install dictionary-parser
dictionary-parser input.txt output/ --letters=a-c --format=csv --case=lower
Option | Description |
---|---|
--letters | Letter filter: a, a-c, or a,c,f |
--format | Output format: json (default) or csv |
--case | Word casing: lower, upper, or nochange (default) |
--merge | Export all data into one file instead of per-letter files |
--metadata | Comma-separated list of metadata fields to include: local_index, length |
--use-local-index | Use local index per letter instead of global index |
--sort | Sort words in the output files |
--help | Show help message and exit |
Only export words starting with A, B, or C in lowercase CSV:
dictionary-parser input.txt output/ --letters=a-c --format=csv --case=lower
Export only A and F in JSON to a single file:
dictionary-parser input.txt output/ --letters=a,f --merge
dictionary-parser/
โโโ dictionary-parser/ # Main CLI app folder
โโโ docs/ # Docs Folder
โโโ tests/ # Pytest unit tests
Full documentation available at: https://dictionary-parser.readthedocs.io
We love contributions! See our CONTRIBUTING.md for how to get started.
This project is licensed under the MIT License.
Built with Typer and Python.
FAQs
A CLI tool for generating csv or json files from word dictionaries.
We found that dictionary-parser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socketโs new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.