pydantic-redis
pydantic-aioredis
pydantic-redis | pydantic-aioredis | |
---|---|---|
2 | 7 | |
35 | 51 | |
- | - | |
6.4 | 7.1 | |
3 months ago | 7 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pydantic-redis
-
pydantic-aioredis - use your Pydantic models as a simple ORM with Redis
I've been using FastAPI a lot lately to write async APIs. I frequently write code to do basic CRUD operations with Redis, and I wanted to do those operations right from my Pydantic models. Some searching led me to pydantic-redis, but I wanted an async solution, so I forked the library and rewrote it to use aioredis 2 instead of redispy.
-
Pydantic-aioredis: A simple Declarative ORM for Redis using Pydantic Models and aioredis
Searching lead me to pydantic-redis but I wanted it to async, so I forked and rewrote to use aioredis 2.
pydantic-aioredis
-
redis-pydict: Dictionary abstraction over redis and other goodies
If you need some examples to work from, check out https://github.com/andrewthetechie/pydantic-aioredis
-
How do you manage PyPI releases?
This repo is an example https://github.com/andrewthetechie/pydantic-aioredis Check out the pyproject.toml and .github/workflows
-
Sunday Daily Thread: What's everyone working on this week?
Done - https://github.com/andrewthetechie/pydantic-aioredis/releases/tag/v0.4.0
- pydantic-aioredis - use your Pydantic models as a simple ORM with Redis
-
Pydantic-aioredis: A simple Declarative ORM for Redis using Pydantic Models and aioredis
I've been working on this library for a bit and figured I'd share it out to others who might be doing similar things!
What are some alternatives?
odmantic - Sync and Async ODM (Object Document Mapper) for MongoDB based on python type hints
uvicorn-gunicorn-fastapi-docker - Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning.
prisma-client-py - Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use
beanie - Asynchronous Python ODM for MongoDB
pydbantic - A single model for shaping, creating, accessing, storing data within a Database
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
pydantic - Data validation using Python type hints
pydantic-cli - Turn Pydantic defined Data Models into CLI Tools
robusta - Kubernetes observability and automation, with an awesome Prometheus integration
redis-om-python - Object mapping, and more, for Redis and Python