Skip to main content

Utilities for connecting Akita to FastAPI

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

akita_fastapi-0.0.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

akita_fastapi-0.0.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file akita_fastapi-0.0.2.tar.gz.

File metadata

  • Download URL: akita_fastapi-0.0.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for akita_fastapi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 af0a4c36358dd19698087077b6a4b0f6ed10be01423dee2cc9adf56c51a2e4e8
MD5 afde032831231f3b5644e733dcb28816
BLAKE2b-256 78b98338e95fedd0fc1bb222a3149ef6be808f883d85233c0fafeb27b694212d

See more details on using hashes here.

File details

Details for the file akita_fastapi-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: akita_fastapi-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for akita_fastapi-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 47ce9cb6e48e051cd7903e581339c733f1ed066a9917813382c76fa1799a55a8
MD5 898344b22a3d3f89382a91672cbb96ab
BLAKE2b-256 df80e4e766863c679a488582fde269f6b4e5844a036fd74f565ff0c74c2df49b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page