Coder Social home page Coder Social logo

tert0 / fastapi-framework Goto Github PK

View Code? Open in Web Editor NEW
51.0 4.0 11.0 4.81 MB

A FastAPI Framework for things like Database, Redis, Logging, JWT Authentication, Rate Limits and Sessions

Home Page: https://tert0.github.io/fastapi-framework

License: MIT License

Python 99.28% Shell 0.25% Dockerfile 0.46%
fastapi database redis python3 python framework jwt rate-limit inmemory-cache backend

fastapi-framework's Introduction

Codestyle Code style: black Tests codecov PyPI version PyPI Downloads

A FastAPI Framework for things like Database, Redis, Logging, JWT Authentication, Rate Limits and Sessions

Install

You can install this Library with:

pip install fastapi-framework

Documentation

For the Documentation click here

Features

  • ✅ Database
  • ✅ Redis
  • ✅ Redis Publish/Subscribe
  • ✅ FastAPI JWT
  • ❌ FastAPI Permission System (for routes)
  • ✅ Rate Limits
  • ✅ Config Parser
  • ✅ Session System

License

This Project is Licensed under the MIT License

fastapi-framework's People

Contributors

deepsourcebot avatar dependabot[bot] avatar tert0 avatar tyrell04 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fastapi-framework's Issues

Pydantic project dependency not consistent (possibly others too; consider using a singe python packaging model?)

Describe the bug
It is currently not possible to add fastapi-framework to projects using a different pydantic version.
Seems like @dependabot forgot to take care of the pyproject.toml, as it still references an outdated pydantic version.

"pydantic==1.10.5"

pydantic==1.10.8

To Reproduce

$ poetry add fastapi-framework
Using version ^1.5.3.3 for fastapi-framework

Updating dependencies
Resolving dependencies... (0.1s)

Because fastapi-framework (1.5.3.3) depends on pydantic (1.10.5)
 and no versions of fastapi-framework match >1.5.3.3,<2.0.0.0, fastapi-framework (>=1.5.3.3,<2.0.0.0) requires pydantic (1.10.5).
So, because ourpoetrypackage depends on both pydantic (^1.10.7) and fastapi-framework (^1.5.3.3), version solving failed.

When trying to use the develop branch:

$ poetry add git+https://github.com/Tert0/fastapi-framework.git#develop
Updating dependencies
Resolving dependencies... (0.0s)

Because fastapi-framework (1.5.3.3) @ git+https://github.com/Tert0/fastapi-framework.git@develop depends on pydantic (1.10.5)
 and ourpoetrypackage depends on pydantic (^1.10.7), fastapi-framework is forbidden.
So, because ourpoetrypackage depends on fastapi-framework (1.5.3.3) @ git+https://github.com/Tert0/fastapi-framework.git@develop, version solving failed.

Expected behavior
Package fastapi-framework can be used together with latest Pydantic & FastAPI versions.


(Cheers & thank you for sharing your code! Your open source work is really appreciated!)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.