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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: akita_fastapi-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 154e126f3257409ff7d54a41d8930ccd3d1088e0f3174aaa144c56c145068ddb
MD5 39630bed099d60f66cc5aace6dee5179
BLAKE2b-256 006070c64673a202a0ec7f44643f8efa5ed2d400c4ed38dbb7401b73754a6279

See more details on using hashes here.

File details

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

File metadata

  • Download URL: akita_fastapi-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31ec545a3f6bd654f341499c6adbb2243a26eef1b4b9a1d60b7f91773db00c77
MD5 52b2d963988594480dac50f269e5ffb4
BLAKE2b-256 a75ca0c3b3f01d24b83d1740c8360dd90ad0c20c003c1e83ac7c62d458bcf41a

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