Skip to content

TeiaLabs/cacheia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cacheia

Cacheia is a cache abstraction that allows users to retrieve, invalidate and define expiration time to its cached values.

Structure

The repository is separated into five subfolders:

  • api: exposes a HTTP interface for all cacheia functionalitites
  • client: a client library that can be used to interact with the cacheia API
  • core: the core library that implements the cacheia functionalities
  • decorators: helper decorators that can be used whithin FastAPI or plain functions to cache responses
  • schemas: schemas used by the API and the client

Docs

For more information about the modules:

Install packages

Use the command below to install all packages in development mode:

pip install -e ./schemas \
    -e ./core \
    -e ./decorators \
    -e ./client \
    -e ./api