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.3.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

akita_fastapi-0.0.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: akita_fastapi-0.0.3.tar.gz
  • Upload date:
  • Size: 8.0 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.3.tar.gz
Algorithm Hash digest
SHA256 7879509befc59454ebf088c688b0aa7d066ac252786e696cc6174f1e78fa8e52
MD5 a38f1ec2ad45f4db8d2bf52ab0b54519
BLAKE2b-256 3de17e33e433f1e386da170cd00111659b59e78d4f36edbe9cb89cc0de5d7b10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: akita_fastapi-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 faaff7f89b03d466a09a795e6c9f613419b332551886ac6fb5cb5c01718fe7b9
MD5 df8adf887801168b912c91a685728ac0
BLAKE2b-256 7a261981d3fdad0422d419a8abc2a318e03be23daa708c9418db793f10557717

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