Documentation
¶
Overview ¶
Command demografix is the command-line client for the Demografix APIs (genderize.io, agify.io, nationalize.io).
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
api
Package api is the demografix CLI's standalone HTTP client for the three Demografix services (genderize.io, agify.io, nationalize.io).
|
Package api is the demografix CLI's standalone HTTP client for the three Demografix services (genderize.io, agify.io, nationalize.io). |
|
batch
Package batch groups names by country and chunks them to the API's 100-per-request cap, then runs the requests with bounded concurrency while preserving input order.
|
Package batch groups names by country and chunks them to the API's 100-per-request cap, then runs the requests with bounded concurrency while preserving input order. |
|
cli
Package cli wires the demografix command tree and owns process exit codes and user-facing error rendering.
|
Package cli wires the demografix command tree and owns process exit codes and user-facing error rendering. |
|
config
Package config resolves the API key and reads/writes the CLI config file.
|
Package config resolves the API key and reads/writes the CLI config file. |
|
enrich
Package enrich enriches a spreadsheet with gender/age/nationality predictions from the public API, joining results back onto the original rows.
|
Package enrich enriches a spreadsheet with gender/age/nationality predictions from the public API, joining results back onto the original rows. |
|
output
Package output renders predictions and quota to the terminal (table), or to json/jsonl/tsv/csv for machine consumers.
|
Package output renders predictions and quota to the terminal (table), or to json/jsonl/tsv/csv for machine consumers. |
|
sheet
Package sheet is the CLI's canonical spreadsheet model plus parsers and emitters for CSV, TSV, JSON, JSONL and XLSX.
|
Package sheet is the CLI's canonical spreadsheet model plus parsers and emitters for CSV, TSV, JSON, JSONL and XLSX. |
|
version
Package version holds the CLI version string.
|
Package version holds the CLI version string. |
Click to show internal directories.
Click to hide internal directories.