Skip to main content

Flake8 FastAPI Route Case

A Flake8 FastAPI plugin to ensure all FastAPI routes follow the same case.

Rationale

In a project, you may have many FastAPI endpoints, this plugin will ensure all FastAPI routes follow the same case so you don't end up with mismatched case.

@router.get("/users/user_info")
def get_user_info():
    ...

# should be /users/user_info to follow naming convention
@router.post("/users/userInfo")
def post_user_info():
    ...

Download files

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

Source Distribution

flake8_fastapi_route_case-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flake8_fastapi_route_case-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file flake8_fastapi_route_case-0.1.0.tar.gz.

File metadata

  • Download URL: flake8_fastapi_route_case-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Darwin/22.1.0

File hashes

Hashes for flake8_fastapi_route_case-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a47e759173dc5b1b50ae7b9064f5545b7c3276da4c3650de2581ecb0806ae919
MD5 2aaf8b32b299419a193077251fef3c7b
BLAKE2b-256 5daed104b3c1a1d5480e46d9b0ca9518ccc85ba25780deb619db461c18f8adfe

See more details on using hashes here.

File details

Details for the file flake8_fastapi_route_case-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for flake8_fastapi_route_case-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d83f4926398b3ae5ce5d66c98614823079a787bc298c523c20caa0ac0e52b861
MD5 4a3370c9073b9eff27b98fe24555b112
BLAKE2b-256 a2f162a36de5099409819ac35c6dde55ae288c64c8351427432db2c4e7e7ab60

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page