Typed synchronous and asynchronous Python clients generated from the Ultralytics Platform API contract.
🐍 Installation
uv pip install ultralytics-platform
🔑 Authentication
Pass your API key directly when creating a client:
from ultralytics_platform import Platform
client = Platform(api_key="YOUR_API_KEY")
Alternatively, set ULTRALYTICS_API_KEY and omit the api_key argument.
🚀 Usage
Resources are grouped under one client and support context-manager cleanup:
from ultralytics_platform import Platform
with Platform() as client:
response = client.datasets.list()
Every resource is also available through the asynchronous client:
import asyncio
from ultralytics_platform import AsyncPlatform
async def main():
async with AsyncPlatform() as client:
response = await client.datasets.list()
asyncio.run(main())
✨ Features
- Typed synchronous and asynchronous resource clients
- Multipart uploads and custom HTTP clients
- Automatic retries for temporary failures
- Structured API and connection errors
- Context-manager cleanup
📄 License
This SDK is licensed under the AGPL-3.0 License. Commercial licensing is available through Ultralytics Licensing.
🤝 Community
For help and feedback, join the Ultralytics community or Discord.
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 ultralytics_platform-0.0.1.tar.gz.
File metadata
- Download URL: ultralytics_platform-0.0.1.tar.gz
- Upload date:
- Size: 57.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20d046ef272ae90d90d315b23cd366bf11f80c98574a8f6baae0f17ef3ceb33c
|
|
| MD5 |
04638c9263760772f0e4021bad4a1b46
|
|
| BLAKE2b-256 |
d1eec170692af8c375ebbc9ba6d5afbd3ddb346d888afec0c91f50684bd42009
|
Provenance
The following attestation bundles were made for ultralytics_platform-0.0.1.tar.gz:
Publisher:
publish.yml on ultralytics/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ultralytics_platform-0.0.1.tar.gz -
Subject digest:
20d046ef272ae90d90d315b23cd366bf11f80c98574a8f6baae0f17ef3ceb33c - Sigstore transparency entry: 2423698473
- Sigstore integration time:
-
Permalink:
ultralytics/sdk@14e93db8c6023dd46dc32aac9d9b93d9cc6bf0aa -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ultralytics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@14e93db8c6023dd46dc32aac9d9b93d9cc6bf0aa -
Trigger Event:
push
-
Statement type:
File details
Details for the file ultralytics_platform-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ultralytics_platform-0.0.1-py3-none-any.whl
- Upload date:
- Size: 68.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8919d5aba68a41b1cfbe3a5a8581b06acfc73447f8b00ec51c47f222803044d8
|
|
| MD5 |
d3370f599a01a3b1e542d891f1a19327
|
|
| BLAKE2b-256 |
e7333a75aa00f45cc35393b3abf93ec326b942379ba72aff1150582bf01c9bfe
|
Provenance
The following attestation bundles were made for ultralytics_platform-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on ultralytics/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ultralytics_platform-0.0.1-py3-none-any.whl -
Subject digest:
8919d5aba68a41b1cfbe3a5a8581b06acfc73447f8b00ec51c47f222803044d8 - Sigstore transparency entry: 2423699356
- Sigstore integration time:
-
Permalink:
ultralytics/sdk@14e93db8c6023dd46dc32aac9d9b93d9cc6bf0aa -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ultralytics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@14e93db8c6023dd46dc32aac9d9b93d9cc6bf0aa -
Trigger Event:
push
-
Statement type: