Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

EzyGang/py-cachify-fastapi-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tutorial Source Code

This repository contains the source code for the tutorial article "Maximize Your FastAPI Efficiency: Blazingly
Fast Implementation of Caching and Locking with py-cachify", which demonstrates how to integrate py-cachify with FastAPI.

py-cachify's repo is there.

The full guide can be found in GUIDE.md

It was also published on:

Prerequisites

  • Python 3.12+
  • Poetry
  • Local Redis instance (docker works also)

Installation

Set up the project locally with the following steps:

  1. Clone the repository:

    git clone https://github.com/EzyGang/py-cachify-fastapi-demo
  2. Change into the directory:

    cd py-cachify-fastapi-demo
  3. Install the dependencies with Poetry:

    poetry install

Usage

Run the project using:

poetry run fastapi dev app/main.py

Contact

For questions or feedback, reach out via: