├── .dockerignore ├── .flake8 ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── documentation_request.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ ├── codestyle.yaml │ ├── deploy_docs.yaml │ ├── deploy_pypi.yaml │ └── tests.yaml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── Dockerfile ├── LICENSE ├── README.md ├── coverage.sh ├── docker-compose.yaml ├── docs ├── config │ └── index.md ├── database │ ├── example.md │ ├── index.md │ ├── insert_delete_modify.md │ ├── models.md │ └── query.md ├── environment.md ├── in_memory_backends │ ├── api │ │ ├── delete_exists.md │ │ ├── expires.md │ │ ├── increase_decrease.md │ │ ├── index.md │ │ ├── set_get.md │ │ └── sets.md │ ├── in_memory_backend │ │ └── index.md │ └── redis │ │ ├── connection.md │ │ └── index.md ├── index.md ├── jwt │ ├── example.md │ ├── index.md │ ├── jwt_io_screenshot.png │ └── jwt_tokens.md ├── rate_limit │ ├── example.md │ ├── index.md │ └── rate_limit_manager.md └── session │ ├── callbacks-middleware.md │ ├── example.md │ ├── index.md │ ├── initialize.md │ └── session-data.md ├── fastapi_framework ├── __init__.py ├── config.py ├── database.py ├── in_memory_backend.py ├── jwt_auth.py ├── logger.py ├── modules.py ├── permissions.py ├── rate_limit.py ├── redis.py ├── session.py └── settings.py ├── mkdocs.yml ├── mypy.ini ├── pyproject.toml ├── setup.py ├── test.env ├── test.sh └── tests ├── test_config.py ├── test_database.py ├── test_in_memory_backend.py ├── test_jwt_auth.py ├── test_logger.py ├── test_modules.py ├── test_rate_limit.py ├── test_redis.py ├── test_session.py └── test_settings.py /.dockerignore: -------------------------------------------------------------------------------- 1 | venv/ 2 | .mypy_cache/ 3 | .git/ 4 | -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 120 3 | ignore = F401,E402 -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/documentation_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/.github/ISSUE_TEMPLATE/documentation_request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/codestyle.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/.github/workflows/codestyle.yaml -------------------------------------------------------------------------------- /.github/workflows/deploy_docs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/.github/workflows/deploy_docs.yaml -------------------------------------------------------------------------------- /.github/workflows/deploy_pypi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/.github/workflows/deploy_pypi.yaml -------------------------------------------------------------------------------- /.github/workflows/tests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/.github/workflows/tests.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/README.md -------------------------------------------------------------------------------- /coverage.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/coverage.sh -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /docs/config/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/config/index.md -------------------------------------------------------------------------------- /docs/database/example.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/database/example.md -------------------------------------------------------------------------------- /docs/database/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/database/index.md -------------------------------------------------------------------------------- /docs/database/insert_delete_modify.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/database/insert_delete_modify.md -------------------------------------------------------------------------------- /docs/database/models.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/database/models.md -------------------------------------------------------------------------------- /docs/database/query.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/database/query.md -------------------------------------------------------------------------------- /docs/environment.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/environment.md -------------------------------------------------------------------------------- /docs/in_memory_backends/api/delete_exists.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/in_memory_backends/api/delete_exists.md -------------------------------------------------------------------------------- /docs/in_memory_backends/api/expires.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/in_memory_backends/api/expires.md -------------------------------------------------------------------------------- /docs/in_memory_backends/api/increase_decrease.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/in_memory_backends/api/increase_decrease.md -------------------------------------------------------------------------------- /docs/in_memory_backends/api/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/in_memory_backends/api/index.md -------------------------------------------------------------------------------- /docs/in_memory_backends/api/set_get.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/in_memory_backends/api/set_get.md -------------------------------------------------------------------------------- /docs/in_memory_backends/api/sets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/in_memory_backends/api/sets.md -------------------------------------------------------------------------------- /docs/in_memory_backends/in_memory_backend/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/in_memory_backends/in_memory_backend/index.md -------------------------------------------------------------------------------- /docs/in_memory_backends/redis/connection.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/in_memory_backends/redis/connection.md -------------------------------------------------------------------------------- /docs/in_memory_backends/redis/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/in_memory_backends/redis/index.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/jwt/example.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/jwt/example.md -------------------------------------------------------------------------------- /docs/jwt/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/jwt/index.md -------------------------------------------------------------------------------- /docs/jwt/jwt_io_screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/jwt/jwt_io_screenshot.png -------------------------------------------------------------------------------- /docs/jwt/jwt_tokens.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/jwt/jwt_tokens.md -------------------------------------------------------------------------------- /docs/rate_limit/example.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/rate_limit/example.md -------------------------------------------------------------------------------- /docs/rate_limit/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/rate_limit/index.md -------------------------------------------------------------------------------- /docs/rate_limit/rate_limit_manager.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/rate_limit/rate_limit_manager.md -------------------------------------------------------------------------------- /docs/session/callbacks-middleware.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/session/callbacks-middleware.md -------------------------------------------------------------------------------- /docs/session/example.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/session/example.md -------------------------------------------------------------------------------- /docs/session/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/session/index.md -------------------------------------------------------------------------------- /docs/session/initialize.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/session/initialize.md -------------------------------------------------------------------------------- /docs/session/session-data.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/docs/session/session-data.md -------------------------------------------------------------------------------- /fastapi_framework/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/fastapi_framework/__init__.py -------------------------------------------------------------------------------- /fastapi_framework/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/fastapi_framework/config.py -------------------------------------------------------------------------------- /fastapi_framework/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/fastapi_framework/database.py -------------------------------------------------------------------------------- /fastapi_framework/in_memory_backend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/fastapi_framework/in_memory_backend.py -------------------------------------------------------------------------------- /fastapi_framework/jwt_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/fastapi_framework/jwt_auth.py -------------------------------------------------------------------------------- /fastapi_framework/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/fastapi_framework/logger.py -------------------------------------------------------------------------------- /fastapi_framework/modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/fastapi_framework/modules.py -------------------------------------------------------------------------------- /fastapi_framework/permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/fastapi_framework/permissions.py -------------------------------------------------------------------------------- /fastapi_framework/rate_limit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/fastapi_framework/rate_limit.py -------------------------------------------------------------------------------- /fastapi_framework/redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/fastapi_framework/redis.py -------------------------------------------------------------------------------- /fastapi_framework/session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/fastapi_framework/session.py -------------------------------------------------------------------------------- /fastapi_framework/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/fastapi_framework/settings.py -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/mypy.ini -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/setup.py -------------------------------------------------------------------------------- /test.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/test.env -------------------------------------------------------------------------------- /test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | python -m unittest discover -v tests -------------------------------------------------------------------------------- /tests/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/tests/test_config.py -------------------------------------------------------------------------------- /tests/test_database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/tests/test_database.py -------------------------------------------------------------------------------- /tests/test_in_memory_backend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/tests/test_in_memory_backend.py -------------------------------------------------------------------------------- /tests/test_jwt_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/tests/test_jwt_auth.py -------------------------------------------------------------------------------- /tests/test_logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/tests/test_logger.py -------------------------------------------------------------------------------- /tests/test_modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/tests/test_modules.py -------------------------------------------------------------------------------- /tests/test_rate_limit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/tests/test_rate_limit.py -------------------------------------------------------------------------------- /tests/test_redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/tests/test_redis.py -------------------------------------------------------------------------------- /tests/test_session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/tests/test_session.py -------------------------------------------------------------------------------- /tests/test_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tert0/fastapi-framework/HEAD/tests/test_settings.py --------------------------------------------------------------------------------