Repository navigation
v0.1.1 - Regenerate Python SDK 0.1.1 with package metadata (#13)
🌟 Summary
v0.1.1 modernizes the standalone Ultralytics Platform Python SDK with regenerated API clients, richer package metadata, more flexible inference requests, and improved deployment status typing. 🚀
📊 Key Changes
- Regenerated the Python SDK from the merged Ultralytics OpenAPI definition using the current generic generator.
- Updated the package version to
0.1.1and added complete PyPI metadata, including:- Authors and maintainers
- Project description and keywords
- Python 3.11–3.14 classifiers
- Production/stable and typed-library classifications
- Improved standalone installation guidance in the English, Chinese, and Python SDK READMEs:
- The package requires only the lightweight
httpxruntime dependency. - It does not install the larger
ultralyticspackage. - PyPI version, download, and supported-Python badges are now shown beside the installation instructions.
- The package requires only the lightweight
- Made model and deployment inference requests more flexible:
- Synchronous and asynchronous
predict()methods now accept a genericbodydictionary. - Multipart form fields and uploaded files are separated automatically.
- This supports the current API schema more directly and avoids duplicated generated request parameters.
- Synchronous and asynchronous
- Expanded deployment response typing to represent transitional states such as:
deployingafter updates or startsstoppingafter stops- Existing
readyandstoppedstates remain supported.
- Validated the release thoroughly with formatting and lint checks, Python compilation, package builds, consumer tests, deterministic regeneration, and repository diff checks. ✅
🎯 Purpose & Impact
- Easier integration: Developers can install a smaller, focused SDK for the Ultralytics Platform API without pulling in unrelated dependencies.
- Better compatibility with API evolution: Generic request bodies allow inference endpoints to accommodate current and future multipart parameters more easily.
- More accurate type checking: Deployment status unions help typed Python users correctly handle asynchronous state transitions.
- Clearer package discovery on PyPI: Metadata and keywords improve searchability and communicate supported Python versions and project maturity.
- Potential migration note: Existing code calling
predict()with individual keyword arguments such asfile,source, orconfmay need to move those values into the newbodydictionary. - No direct model change: This release updates the SDK and API client behavior rather than YOLO model architectures or model weights.
- Release-process clarification: Although the package version is set to
0.1.1, this PR by @glenn-jocher did not publish to or modify PyPI.
What's Changed
- Regenerate Python SDK 0.1.1 with package metadata by @glenn-jocher in #13
Full Changelog: v0.1.0...v0.1.1