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.gzarchives plus adjacent*.metadata.json. - Metadata is the source of truth for
cooldown,recommend, and account rotation decisions. - Live Codex
/statusoutput 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--cleanis used.cm restore: restore a full backup into the Codex home.
Status tracking policy
useandrestoresync 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba1733c790ee8398640ad44514010cca3338c35cc5b08e8beda6eac0cc1f4fa8
|
|
| MD5 |
df5ddf243f8cd0f9b68a1b0b9381a4da
|
|
| BLAKE2b-256 |
f55e932dc7bccde1ba13613b47593acd8832ce1b1d67e671666884783bd1cbdd
|
Provenance
The following attestation bundles were made for codex_manager-3.0.0.tar.gz:
Publisher:
publish.yml on dhruv13x/codex-manager
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
codex_manager-3.0.0.tar.gz -
Subject digest:
ba1733c790ee8398640ad44514010cca3338c35cc5b08e8beda6eac0cc1f4fa8 - Sigstore transparency entry: 1348313987
- Sigstore integration time:
-
Permalink:
dhruv13x/codex-manager@495f99540a9648d559c314eeec5a5b933e6ed729 -
Branch / Tag:
refs/tags/v3.0.0 - Owner: https://github.com/dhruv13x
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@495f99540a9648d559c314eeec5a5b933e6ed729 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1c4e9fab4d35c4064726b8bd5ec366e170e9d84f260802e4789c00c6af7d1fd
|
|
| MD5 |
a8a05be2bf5be2f142079f1c0e460f91
|
|
| BLAKE2b-256 |
283af8dac7b65b3177dacbb2b7ff79929f778527e2fb8058780c8db25773f702
|
Provenance
The following attestation bundles were made for codex_manager-3.0.0-py3-none-any.whl:
Publisher:
publish.yml on dhruv13x/codex-manager
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
codex_manager-3.0.0-py3-none-any.whl -
Subject digest:
d1c4e9fab4d35c4064726b8bd5ec366e170e9d84f260802e4789c00c6af7d1fd - Sigstore transparency entry: 1348314067
- Sigstore integration time:
-
Permalink:
dhruv13x/codex-manager@495f99540a9648d559c314eeec5a5b933e6ed729 -
Branch / Tag:
refs/tags/v3.0.0 - Owner: https://github.com/dhruv13x
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@495f99540a9648d559c314eeec5a5b933e6ed729 -
Trigger Event:
push
-
Statement type: