Skip to content

Releases: CraftyPythonDeveloper/python-stremio

v0.1.0

23 Apr 13:45

Choose a tag to compare

🚀 python-stremio v0.1.0 (Initial Release)

We are thrilled to announce the initial release of python-stremio v0.1.0! 🎉

This release marks a complete modernization and overhaul of the Stremio Addon framework for Python, dropping legacy architectures in favor of a sleek, type-safe, routing-based approach designed for Python 3.14+.

✨ Highlights & New Features

  • Modern Routing Architecture: Completely redesigned API using a decorator-based web hook event model (e.g., @app.on_stream(), @app.on_catalog()), bringing it closely in line with modern frameworks like FastAPI and Starlette.
  • Insanely Fast Execution: Now powered by blacksheep under the hood for a high-performance async/await native network layer.
  • Auto-Optimized JSON Handling: Automatically prefers and leverages high-speed orjson or ujson environments when available.
  • Deep Schema Validation: Aggressively validates your Stremio manifest configuration using standard ExceptionGroup and Python structural pattern matching to surface all schema errors instantly.
  • Fail-Safe Execution: Handlers are safely wrapped so unhandled exceptions map gracefully to HTTP 500 responses without crashing the Addon socket.
  • Forward-Compatible Typing: Leverages PEP 695 Type Aliasing to provide brilliant IDE autocomplete on payload types.
  • Modern Build System: Replaced the outdated setuptools setup with a modern pyproject.toml managed by uv and hatchling.
  • Remote Publishing: New asynchronous utility to easily publish your Addon to the Stremio remote registry (app.publish_to_registry()).

📦 Installation

Install via uv or standard pip:

uv pip install python-stremio