Skip to main content

Asterism Utils

An interface for interacting with data from Asterism Books (asterismbooks.com).

Configuration

You can optionally store your credentials in a asterism_utils.toml file in the current directory or your home directory:

email = "your-email@example.com"
password = "your-secret-password"

Usage

All commands can be accessed via the asterism CLI:

# With uv (recommended)
uv run asterism [COMMAND] [ARGS]

# Or if installed directly
asterism [COMMAND] [ARGS]

Commands

1. Wholesale Customers

Generate a CSV of current wholesale customers.

asterism customers [--email EMAIL]

Outputs: asterism_customers_YYYY-MM-DD.csv

2. Payment History

Download monthly payment history (transfers and item details).

asterism payments 2026-01

Argument: MONTH (YYYY-MM) Outputs: asterism_payments_2026-01.csv

3. Payment History Range

Download payment history for a range of months.

asterism payments-range 2025-01 2025-03 my_reports/

Arguments:

  • START_MONTH: YYYY-MM
  • END_MONTH: YYYY-MM
  • OUTPUT_BASE: Directory (if ends in /) or filename prefix.
    • If my_reports/: saves my_reports/asterism_payments_2025-01.csv, etc.
    • If stats_: saves stats_2025-01.csv, etc.

4. Sales Orders

Download sales orders for a specific month.

asterism orders 2026-01 [--publisher "Publisher Name"]

Argument: MONTH (YYYY-MM) Option: --publisher (Required if your account manages multiple publishers; otherwise autodetected). Outputs: asterism_orders_2026-01.csv

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asterism_utils-0.3.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asterism_utils-0.3.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file asterism_utils-0.3.0.tar.gz.

File metadata

  • Download URL: asterism_utils-0.3.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for asterism_utils-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3afda169400d21cfd92f6a9c5e51985423e35f81cfe3ec8bce8982bee7b60d58
MD5 e098b9f8e907dcdc59c1b97651a85af7
BLAKE2b-256 6364569cd1a83f4fc1e89d4ea98268379a99a75b04c12f8aa62c795c22ee5f30

See more details on using hashes here.

File details

Details for the file asterism_utils-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: asterism_utils-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for asterism_utils-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a86ee4d2f4537c1713384b6c611ab828bd6e6d9fc43226a821dc827f7ca09a7
MD5 e8b2ab7129e4f8b6932d56353c018a8b
BLAKE2b-256 bacf38b325fcd5c2f5895da3a1bf80ebbcce8818f1a807036738681ebb96e6f9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page