One API CLI
A Python CLI for the One API project.
Setup
Install the package using pip:
pip install one-api-cli
Setup environment variables:
export ONE_API_BASE_URL=https://your_base_url
export ONE_API_ACCESS_TOKEN=your_access_token # Optional
export ONE_API_SESSION_TOKEN=your_session_token # Optional
Usage
See examples in Jupyter notebooks.
Metadata
Release files for one-api-cli 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| one_api_cli-1.0.0.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| one_api_cli-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.9 kB
Release files / one_api_cli-1.0.0.tar.gz
| Download URL | one_api_cli-1.0.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b9582bea8365f3f2f0e0650c55680c473874ed24fc372ceae357203884bb907
|
|
BLAKE2b-256 checksum How to use checksums |
983ceec0fcce6c92fe4080f559e5f906ac92d264b483242eff76f3eb28e16b06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.18
|
Release files / one_api_cli-1.0.0-py3-none-any.whl
| Download URL | one_api_cli-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2507ee9e3e226bb6e6b8144e8255f9e29e621b82d19c0f04f4f1b396139275c
|
|
BLAKE2b-256 checksum How to use checksums |
1f251871aa22a10f35a82f1e4cb59ee43989defb20702019a60100bcd35cb194
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.18
|