Skip to main content

Codex account snapshot manager

Project description

Codex Manager

codex-manager is a CLI for backing up Codex account state and tracking account cooldown data from live /status output.

Core model

  • Backups are stored as *.tar.gz archives plus adjacent *.metadata.json.
  • Metadata is the source of truth for cooldown, recommend, and account rotation decisions.
  • Live Codex /status output is parsed to capture:
    • account email
    • quota text
    • quota percent left when available
    • weekly reset timestamp

Main commands

  • cm backup: capture live status, build archive metadata, and create a backup.
  • cm status: parse live status and patch the latest metadata for the current account.
  • cm cooldown: show account availability from stored metadata, optionally merged with live status.
  • cm recommend: choose the best account to use next.
  • cm use: switch to another account, defaulting to auth-only restore unless --clean is used.
  • cm restore: restore a full backup into the Codex home.

Status tracking policy

  • use and restore sync the current account status before switching away from it.
  • If live status capture fails, the command retries once.
  • If status capture fails twice, the command exits and instructs the user to rerun with --without-status-check.

Emergency fallback

--without-status-check exists for cases where Codex layout changes or live status is temporarily unavailable.

In that mode:

  • cooldown is estimated as now + 7 days
  • metadata is still written so cooldown state is not lost
  • fallback archive and metadata names are based on the estimated reset time, not the current time

Storage defaults

  • manager home: ~/.codex-manager
  • backup directory: ~/.codex-manager/backups
  • Codex home: ~/.codex

Cloud support

  • Backblaze B2 is supported for remote backup metadata and archive storage.
  • Local and cloud entries can be merged for recommendation and cooldown reporting.

Project details


Download files

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

Source Distribution

codex_manager-3.0.0.tar.gz (49.6 kB view details)

Uploaded Source

Built Distribution

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

codex_manager-3.0.0-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

Details for the file codex_manager-3.0.0.tar.gz.

File metadata

  • Download URL: codex_manager-3.0.0.tar.gz
  • Upload date:
  • Size: 49.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for codex_manager-3.0.0.tar.gz
Algorithm Hash digest
SHA256 ba1733c790ee8398640ad44514010cca3338c35cc5b08e8beda6eac0cc1f4fa8
MD5 df5ddf243f8cd0f9b68a1b0b9381a4da
BLAKE2b-256 f55e932dc7bccde1ba13613b47593acd8832ce1b1d67e671666884783bd1cbdd

See more details on using hashes here.

Provenance

The following attestation bundles were made for codex_manager-3.0.0.tar.gz:

Publisher: publish.yml on dhruv13x/codex-manager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codex_manager-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: codex_manager-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 40.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for codex_manager-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d1c4e9fab4d35c4064726b8bd5ec366e170e9d84f260802e4789c00c6af7d1fd
MD5 a8a05be2bf5be2f142079f1c0e460f91
BLAKE2b-256 283af8dac7b65b3177dacbb2b7ff79929f778527e2fb8058780c8db25773f702

See more details on using hashes here.

Provenance

The following attestation bundles were made for codex_manager-3.0.0-py3-none-any.whl:

Publisher: publish.yml on dhruv13x/codex-manager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page