NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2343 most downloaded on PyPI
Python client library for the Portkey API
Last release 1 months ago
23 Jul 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
3 years old
108 releases · first in 2023
One column per quarter.
Hotfix: prompt rendor response type by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/171
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.5.0...v1.5.1
request_timeout header by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/165
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.4.1...v1.5.0
Bearer logic in authorization header by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/163
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.4.0...v1.4.1
Latency Issue by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/149
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.3.2...v1.4.0
hotfix/ chat completion for azure by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/145
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.3.1...v1.3.2
Sanity Check by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/142
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.3.0...v1.3.1
Feat/openai1.26.0 by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/133
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.2.4...v1.3.0
black package by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/113
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.2.3...v1.2.4
Add OpenAI SDK compliant blurb to readme by @vrushankportkey in https://github.com/Portkey-AI/portkey-python-sdk/pull/108
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.2.2...v1.2.3
Feat/render by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/96
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.2.1...v1.2.2
chore: test case formatting by @VisargD in https://github.com/Portkey-AI/portkey-python-sdk/pull/98
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.2.0...v1.2.1
Update README (async) by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/88
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.1.7...v1.2.0
Feat/async by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/85
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.1.6...v1.1.7
feat: bump version to 1.1.5 by @VisargD in https://github.com/Portkey-AI/portkey-python-sdk/pull/78
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.1.5...v1.1.6
Relax mypy version constraint by @bhuvansingla in https://github.com/Portkey-AI/portkey-python-sdk/pull/77
mypy version constraint by @bhuvansingla in https://github.com/Portkey-AI/portkey-python-sdk/pull/77Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.1.4...v1.1.5
fix: add default value in optional field for pydantic v2 compatibility by @VisargD in https://github.com/Portkey-AI/portkey-python-sdk/pull/74
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.1.3...v1.1.4
feat: update classes with latest openai signature by @VisargD in https://github.com/Portkey-AI/portkey-python-sdk/pull/70
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v.1.1.2...v1.1.3
chore: update typing extensions version constraint by @VisargD in https://github.com/Portkey-AI/portkey-python-sdk/pull/68
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.1.1...v.1.1.2
Expose streaming attribute from PortkeyLLM and ChatPortkey (Langhchain) by @VisargD in https://github.com/Portkey-AI/portkey-python-sdk/pull/65
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.1.0...v1.1.1
Move pydantic from equals to gt version number by @ayush-portkey in https://github.com/Portkey-AI/portkey-python-sdk/pull/63
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.0.1...v1.1.0
Rename prompt to prompts. by @ayush-portkey in https://github.com/Portkey-AI/portkey-python-sdk/pull/62
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.0.0...v1.0.1
NOTE : This is a Breaking Change that Requires Migration.
We're pushing out some exciting new updates to Portkey's SDKs, APIs, and Configs. Portkey's SDKs are upped to major version 1.0 bringing parity with the new OpenAI SDK structure and adding Portkey production features to it. We are also bringing native Langchain & Llamaindex integrations inside the SDK.
NOTE : This is a Breaking Change that Requires Migration.
Here's What's New
Check out the complete portkeys-december-migration for the complete list of changes usage details.
Add load balance example by @vrushankportkey in https://github.com/Portkey-AI/portkey-python-sdk/pull/28
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v0.1.52...v0.1.53
feat: Adding Integration Testing Suite for LLM Integrations by @noble-varghese in https://github.com/Portkey-AI/portkey-python-sdk/pull/23
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v0.1.51...v0.1.52
21 September 2023
fix: Issue with the str comparison on the api path by @noble-varghese in https://github.com/Portkey-AI/portkey-python-sdk/pull/22
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v0.1.50...v0.1.51
Community Content Added by @vrushankportkey in https://github.com/Portkey-AI/portkey-python-sdk/pull/14
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v0.1.49...v0.1.50
19 September 2023
<!-- auto-changelog-below -->
fix: Fixing the issue with the capturing of env variables by @noble-varghese in https://github.com/Portkey-AI/portkey-python-sdk/pull/13
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v0.1.48...v0.1.49
16 September 2023
#13fix: Fixed issue with enum check by @noble-varghese in https://github.com/Portkey-AI/portkey-python-sdk/pull/10
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v0.1.45...v0.1.48
Nothing published for this version
Nothing published for this version
docs: Added examples for azure-openai fallback and loadbalance by @noble-varghese in https://github.com/Portkey-AI/portkey-python-sdk/pull/8
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v0.1.44...v0.1.45
Updating Readme and adding images by @vrushankportkey in https://github.com/Portkey-AI/portkey-python-sdk/pull/2
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/commits/v0.1.44
11 September 2023
#4#3cb806172c3631af06e23b<!-- auto-changelog-above -->
We are excited to announce the stable release of the all-new Portkey Python SDK, version 0.1.44! This SDK makes it easier than ever to add production capabilities to your existing LLM systems with one line of change to your code.
Stability and Reliability: This release marks the stable version of Portkey Python SDK, thoroughly tested to ensure reliable performance in your projects.
Ease of Use: The SDK follows OpenAI SDK footprint, and with one line of change to your existing code, you can add Portkey's production features to your app.
Community Support: Join our growing community of practitioners putting LLMs in production. Share ideas, resolve doubts, and collaborate on projects.
Happy coding!
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →