autoregistry
pydantic-to-typescript
autoregistry | pydantic-to-typescript | |
---|---|---|
4 | 3 | |
32 | 242 | |
- | - | |
7.0 | 0.0 | |
10 days ago | 5 months ago | |
Python | Python | |
Apache License 2.0 | MIT License |
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.
autoregistry
-
Interfaces in Python
Frequently, when I'm using ABC, I need to perform a string-to-class lookup. For this, I created the library AutoRegistry, which adds a dictionary interface to classes (not objects created from classes!) that is automatically populated with it's children.
-
Which not so well known Python packages do you like to use on a regular basis and why?
I use my library AutoRegistry pretty regularly. Its very useful anytime you need to define an interface, which happens to be a lot of projects.
-
[P] AutoRegistry: A Python library for mapping names to functionality to simplify project configurations.
Github Page: https://github.com/BrianPugh/autoregistry
- AutoRegistry: automatic registry design-pattern library for mapping names to functionality.
pydantic-to-typescript
-
Which not so well known Python packages do you like to use on a regular basis and why?
Bit niche, but I like using pydantic-to-typescript (https://github.com/phillipdupuis/pydantic-to-typescript) to automatically generate typescript definitions for my fastapi apps. Or any app which uses pydantic models.
-
pydantic-to-typescript: a simple CLI tool for converting pydantic models into typescript interfaces
Complete documentation, examples, and the source code can all be viewed here: https://github.com/phillipdupuis/pydantic-to-typescript
-
Python & Typescript
There are also some packages out there for converting the types directly into their typescript equivalents: https://github.com/phillipdupuis/pydantic-to-typescript/
What are some alternatives?
confs - List tools for which the given project has configs
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
turbobus - TurboBus is an opinionated implementation of Command Responsibility Segregation pattern in python.
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
odmantic - Sync and Async ODM (Object Document Mapper) for MongoDB based on python type hints
opyrator - 🪄 Turns your machine learning code into microservices with web API, interactive GUI, and more.
dynamoquery - Python AWS DynamoDB ORM
enforce - Python 3.5+ runtime type checking for integration testing and data validation
typing_inspect - Runtime inspection utilities for Python typing module
deffcode - A cross-platform High-performance FFmpeg based Real-time Video Frames Decoder in Pure Python 🎞️⚡
drf-typed - Type hints for enhanced API views and serializers.
SQLAlchemy - The Database Toolkit for Python