
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
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 now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.