
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.