Skip to main content

Akita FastAPI Integration

This package extends fastapi.testclient.TestClient in order to instrument FastAPI integration tests, capturing requests and responses to the service under test. You can drop in akita_fastapi.testclient.HarClient everywhere you use FastAPI's TestClient, and Akita will use your integration tests to build a spec for your service.

Why build specs? A spec shows your service's APIs. Using Akita to build specs from your integration tests makes it clear what APIs your code implements -- and you can diff specs, showing what impact a code change will have on your customers. For more info, see Catching Breaking Changes Faster in the Akita docs.

See it in Action

Take a look at the Akibox FastAPI Tutorial, which implements a toy Dropbox-like file server and tests it using the Akita FastAPI Integration.

Release files for akita-fastapi 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for akita-fastapi 0.0.3
File Size Uploaded
akita_fastapi-0.0.3.tar.gz 8.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for akita-fastapi 0.0.3
File Interpreter ABI Platform
akita_fastapi-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 16.5 kB

Release files / akita_fastapi-0.0.3.tar.gz

Download URL akita_fastapi-0.0.3.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7879509befc59454ebf088c688b0aa7d066ac252786e696cc6174f1e78fa8e52
BLAKE2b-256 checksum
How to use checksums
3de17e33e433f1e386da170cd00111659b59e78d4f36edbe9cb89cc0de5d7b10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.0

Release files / akita_fastapi-0.0.3-py3-none-any.whl

Download URL akita_fastapi-0.0.3-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
faaff7f89b03d466a09a795e6c9f613419b332551886ac6fb5cb5c01718fe7b9
BLAKE2b-256 checksum
How to use checksums
7a261981d3fdad0422d419a8abc2a318e03be23daa708c9418db793f10557717
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.0

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page