Skip to main content

Quicker FastApi developing tools

Build CI Netlify status
Package version Python versions License


Documentation: https://fastapi-restful.netlify.app

Source Code: https://github.com/yuval9313/fastapi-restful

Base on: https://github.com/dmontagu/fastapi-utils


FastAPI is a modern, fast web framework for building APIs with Python 3.7+.

But if you're here, you probably already knew that!


Features

This package includes a number of utilities to help reduce boilerplate and reuse common functionality across projects:

  • Resource Class: Create CRUD with ease the OOP way with Resource base class that lets you implement methods quick.
  • Class Based Views: Stop repeating the same dependencies over and over in the signature of related endpoints.
  • Repeated Tasks: Easily trigger periodic tasks on server startup
  • Timing Middleware: Log basic timing information for every request
  • OpenAPI Spec Simplification: Simplify your OpenAPI Operation IDs for cleaner output from OpenAPI Generator
  • SQLAlchemy Sessions: The FastAPISessionMaker class provides an easily-customized SQLAlchemy Session dependency

It also adds a variety of more basic utilities that are useful across a wide variety of projects:

  • APIModel: A reusable pydantic.BaseModel-derived base class with useful defaults
  • APISettings: A subclass of pydantic.BaseSettings that makes it easy to configure FastAPI through environment variables
  • String-Valued Enums: The StrEnum and CamelStrEnum classes make string-valued enums easier to maintain
  • CamelCase Conversions: Convenience functions for converting strings from snake_case to camelCase or PascalCase and back
  • GUID Type: The provided GUID type makes it easy to use UUIDs as the primary keys for your database tables

See the docs for more details and examples.

Requirements

This package is intended for use with any recent version of FastAPI (depending on pydantic>=1.0), and Python 3.7+.

Installation

pip install fastapi-restful  # For basic slim package :)

pip install fastapi-restful[session]  # To add sqlalchemy session maker

pip install fastapi-restful[all]  # For all the packages

License

This project is licensed under the terms of the MIT license.

Metadata

Release files for fastapi-restful-myfork 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastapi-restful-myfork 0.5.0
File Size Uploaded Provenance Actions
fastapi_restful_myfork-0.5.0.tar.gz 16.2 kB Without provenance Details for fastapi_restful_myfork-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-restful-myfork 0.5.0
File Interpreter ABI Platform Actions
fastapi_restful_myfork-0.5.0-py3-none-any.whl Python 3 none any Details for fastapi_restful_myfork-0.5.0-py3-none-any.whl

Total release size: 34.9 kB

Release files / fastapi_restful_myfork-0.5.0.tar.gz

Download URL fastapi_restful_myfork-0.5.0.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
93c8d4f7c4638c71072ce135e46f9cf1607c09fd7ef41e264604899904ef2977
BLAKE2b-256 checksum
How to use checksums
797850dcadd8be3328a8a21e709fe70e30003d8800a5157267f65023a74052ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.6 Linux/6.6.8-zen1-1-zen

Release files / fastapi_restful_myfork-0.5.0-py3-none-any.whl

Download URL fastapi_restful_myfork-0.5.0-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f25a7cb496f510bbee5c85fa6b7e508648c3c9f3b51a1069958cf7a55d9d849e
BLAKE2b-256 checksum
How to use checksums
4e6fc20cf7bbd5f0b7868c62899ea735f0152280d872d01576eb3740a0138d49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.6 Linux/6.6.8-zen1-1-zen

Security for fastapi-restful-myfork 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page