
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
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 ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.