Skip to content

FastAPI boilerplate for big projects (Large size Clothing)

Notifications You must be signed in to change notification settings

miguelgrubin/fastapi-boilerplate

Repository files navigation

Main Dependencies

  • uvicorn: Asynchronous web server interface, similar to rack on Ruby.
  • fastapi: Asynchronous typed web framwork that generates openapi specs based on types.
  • pydantic: Validator/Serializer based on typed Python and dataclasses.
  • typer: Terminal library to create easy cli command based on types, generating autocompletes and --help.
  • rich: Terminal library to generate beautiful output on cli.
  • arrow: Library to manage datetimes easily.
  • passlib: Library to hash password, use Two Factor Authentication, encrypt and decrypt data.
  • python-jose[cryptography]: Library to JavaScript Object Signing and Encryption (JOSE) = JWS + JWE + JWK + JWA + JWT
  • aiohttp: Async client for http

Testing Dependencies

  • pytest: Testing framework and runner, 100% compatible with native unittesting framework and nosetest.
  • faker: Library to generate fake data.
  • coverage: Tool to generate coverage reports using pytests, native unittesting or nosetest.

Development Tooling

Environment

  • pipenv: Manage dependencies, security vulnerabilities via safety and creates virtual environments. Similar to npm on NodeJS.

Documentation

  • mkdocs: Generates HTML help pages from markdowns stored on docs.
  • mkdocs-material: Material theme for mkdocs.

Linters

  • mypy: Checks types integrity.
  • pylint: Checks code style to enforce PEP8, avoid code smells and suggest refactors.

Formatters

  • isort: Apply format and order to imports described on PEP8
  • black: Apply deterministic format, similar to pycodestyle but faster and simpler.

About

FastAPI boilerplate for big projects (Large size Clothing)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published