A CLI tool for the One API project.
Project description
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.
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
one_api_cli-1.0.0.tar.gz
(7.1 kB
view details)
Built Distribution
File details
Details for the file one_api_cli-1.0.0.tar.gz
.
File metadata
- Download URL: one_api_cli-1.0.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b9582bea8365f3f2f0e0650c55680c473874ed24fc372ceae357203884bb907 |
|
MD5 | 3f575b771e39ea2880243ea29aec3fb7 |
|
BLAKE2b-256 | 983ceec0fcce6c92fe4080f559e5f906ac92d264b483242eff76f3eb28e16b06 |
File details
Details for the file one_api_cli-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: one_api_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2507ee9e3e226bb6e6b8144e8255f9e29e621b82d19c0f04f4f1b396139275c |
|
MD5 | e90044a7233d5fe08949a32b3beebee9 |
|
BLAKE2b-256 | 1f251871aa22a10f35a82f1e4cb59ee43989defb20702019a60100bcd35cb194 |