/api_file_handler

Upload and download files using FastAPI

Primary LanguagePythonMIT LicenseMIT

API File Handler

Upload and download files using FastAPI

Usage

  • auth_apikey.py: Authenticates using an APIKey that can be stored as an env var APIKEY. Defaults to a randomly generated url safe UUID.
  • auth_server.py: Authenticates using the server's USER and PASSWORD. If password is not available as env var, requests from the user.

PRO-Tip

Coding Standards

Docstring format: Google
Styling conventions: PEP 8
Clean code with pre-commit hooks: flake8 and isort

Linting

PreCommit will ensure linting, and the doc creation are run on every commit.

Requirement
pip install --no-cache --upgrade sphinx pre-commit recommonmark

Usage
pre-commit run --all-files

Runbook

made-with-sphinx-doc

https://thevickypedia.github.io/api_file_handler/

License & copyright

© Vignesh Sivanandha Rao

Licensed under the MIT License