msrest
AutoRest swagger generator Python client runtime.
Install
msrest on PyPI
pip
pip install msrestuv
uv add msrestpoetry
poetry add msrestPackage facts
| License | MIT License (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — azure-core, certifi, isodate, requests-oauthlib, requests |
| Maintenance | abandoned — 1,522 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: msrest-0.7.1-py3-none-any.whl
About msrest
from the package's own PyPI description — quoted content, verbatim
AutoRest: Python Client Runtime
.. image:: https://travis-ci.org/Azure/msrest-for-python.svg?branch=master :target: https://travis-ci.org/Azure/msrest-for-python
.. image:: https://codecov.io/gh/azure/msrest-for-python/branch/master/graph/badge.svg :target: https://codecov.io/gh/azure/msrest-for-python
Installation
To install:
.. code-block:: bash
$ pip install msrest
Release History
2022-06-10 Version 0.7.1 +++++++++++++++++++++++++
Bugfixes
- Declare correctly msrest as Python 3.6 and more only for clarity #251
2022-06-07 Version 0.7.0 +++++++++++++++++++++++++
Features
- Add
azure-coreas installation requirement #247 - Replace
SerializationErrorandDeserializationErrorinmsrest.exceptionswith those inazure.core#247
Bugfixes
- Typing annotation in LROPoller (thanks to akx) #242
Thanks to kianmeng for typo fixes in the documentation.
2021-01-26 Version 0.6.21 +++++++++++++++++++++++++
Bug Fixes
- Fixes
failsafe_deserializeintroduced in0.6.20#232
2021-01-25 Version 0.6.20 +++++++++++++++++++++++++
Features
- Add
failsafe_deserializemethod to...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
msrest provides the Python client runtime for AutoRest-generated Azure SDK clients, handling serialization, deserialization, authentication, and HTTP request/response management for REST APIs.
Installation is low-friction with five runtime dependencies (azure-core, certifi, isodate, requests-oauthlib, requests), all standard libraries. However, the package is abandoned—last release was June 2022 (1522 days ago) and the repository is archived, meaning no maintenance or security updates are forthcoming.
Licensed under MIT (permissive), allowing broad use, modification, and distribution with minimal restrictions.
Usage
pip install msrest
from msrest.serialization import Serializer, Deserializer
from msrest.authentication import BasicAuthentication
serializer = Serializer()
deserializer = Deserializer()
auth = BasicAuthentication('username', 'password')
Requires Python 3.6 or later; intended for use with AutoRest-generated SDK clients, not as a standalone HTTP library.
Verdict: msrest is a stable, permissively licensed runtime for Azure AutoRest clients with low install friction, but it is abandoned as of June 2022 with no active maintenance. Suitable only for existing projects already locked to this dependency; new projects should evaluate whether azure-core or other maintained alternatives better serve their needs.
Needs verification
- Whether azure-core (now a direct dependency as of v0.7.0) is the recommended migration path for new Azure SDK work
- Whether the archived repository status reflects a planned transition to azure-core or a genuine end-of-life
Similar packages
permissive · top 1,000 on PyPI
azure-commonpermissive · top 1,000 on PyPI
deprecationpermissive · top 1,000 on PyPI
parsopermissive · top 1,000 on PyPI
Deprecatedpermissive · top 1,000 on PyPI
xmltodictpermissive · top 1,000 on PyPI
azure-coreunclear · top 1,000 on PyPI
argon2-cffipermissive · top 1,000 on PyPI
cssselect2permissive · top 1,000 on PyPI
py-serializablepermissive · top 1,000 on PyPI