dsbc CLI - DeepSeek Balance Checker
This is the CLI component of the dsbc (DeepSeek Tools Collection). It's a Python command-line tool to check DeepSeek API account balances and view available models.
Installation
From PyPI
pip install dsbc
From source
# From the repository root
cd cli
pip install -e .
Usage
# Set your API token
export DEEPSEEK_API_TOKEN="your-token-here"
# Check balance
dsbc
# View models
dsbc --models
# JSON output
dsbc --json
# Health check
dsbc --health
Development
See the main README.md for development instructions.
Project Structure
cli/
├── deepseek_balance/ # Main Python package
│ ├── __init__.py # Package exports
│ ├── cli.py # CLI interface (dsbc command)
│ └── client.py # API client
├── tests/ # Test suite
├── pyproject.toml # Modern packaging config
├── setup.py # Legacy packaging support
├── uv.lock # uv lock file
├── requirements.txt # pip requirements
└── README.md # This file
License
MIT - See LICENSE file.
Metadata
Release files for dsbc 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dsbc-1.0.2.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dsbc-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.9 kB
Release files / dsbc-1.0.2.tar.gz
| Download URL | dsbc-1.0.2.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6c29c8236fa58d736f3f790e8b45576742c06217c9891c73ee14e2689e957e4
|
|
BLAKE2b-256 checksum How to use checksums |
dd36a00b8084c5e5844bd9a54812f6a36d5fc9111630ec03db87af9c6418fb9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 19, 2026.
Transparency logRelease files / dsbc-1.0.2-py3-none-any.whl
| Download URL | dsbc-1.0.2-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f2671f9c7016789641411fd57fa9a9fde91dac93ed9d56e3c1a33c5cac23111
|
|
BLAKE2b-256 checksum How to use checksums |
7830e8632e2e2b12ae1dd0981107ec59c82120a5961656164e23c60e79e6de8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 19, 2026.
Transparency log