Pre-release
This release is a pre-release and may not be stable for production use.
aiopenapi3
A Python OpenAPI 3 Specification client and validator for Python 3.
This project is a fork of Dorthu/openapi3.
Features
- implements …
- Swagger 2.0
- OpenAPI 3.0.3
- OpenAPI 3.1.0
- OpenAPI 3.2.0
- description document parsing via pydantic
- recursive schemas (A.a -> A)
- request body model creation via pydantic
- pydantic compatible "format"-type coercion (e.g. datetime.interval)
- additionalProperties (string-to-any dictionaries, including inline schemas with
allOf/nullable)
- response body & header parsing via pydantic
- blocking and nonblocking (asyncio) interface via httpx2
- SOCKS5 via socksio
- tests with pytest & fastapi
- providing access to methods and arguments via the sad smiley ._. interface
- Plugin Interface/api to modify description documents/requests/responses to adapt to non-compliant services
- YAML type coercion hints for not well-formatted description documents
- Description Document dependency downloads (using the WebLoader)
- logging
export AIOPENAPI3_LOGGING_HANDLERS=debugto get /tmp/aiopenapi3-debug.log
- logging
Documentation
Running Tests
This project includes a test suite, run via pytest. To run the test suite,
ensure that you've installed the dependencies and then run pytest in the root
of this project.
PYTHONPATH=. pytest --cov=./ --cov-report=xml .
Metadata
Release files for aiopenapi3 0.11.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiopenapi3-0.11.0a1.tar.gz | 79.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiopenapi3-0.11.0a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 183.8 kB
Release files / aiopenapi3-0.11.0a1.tar.gz
| Download URL | aiopenapi3-0.11.0a1.tar.gz |
|---|---|
| Size | 79.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b931634de70671c49efe621e2a3fb09918446eba6245108c690690da17a95ce
|
|
BLAKE2b-256 checksum How to use checksums |
9d9b1292841a0e7c52391abeef156afe251a1cc3023e5435788c274bc8fc795c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / aiopenapi3-0.11.0a1-py3-none-any.whl
| Download URL | aiopenapi3-0.11.0a1-py3-none-any.whl |
|---|---|
| Size | 104.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
daec82f3c0cb8d168c8464cc58ca5da13fc3a8928c6549035971f899c19a8c84
|
|
BLAKE2b-256 checksum How to use checksums |
fb7e6e17d62339f6e05c5c4e920a538f240c115c3fb5186e5e72f5aca9a6aeea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|