Define fields in python classes. Easily.
-
Updated
Nov 6, 2023 - Python
Define fields in python classes. Easily.
A Mixin/Harmony-style modding framework for Python using AST injection. Modify function logic and local variables at runtime via simple decorators, without editing original files.
PyQt6 Mediator Mixin is a Python library that enhances PyQt6's signal-slot mechanism by implementing the mediator pattern. It allows for more modular and maintainable code by enabling classes to emit and receive signals without knowing about each other. The library also provides the ability to extend the SignalCode enum for custom signals.
An interesting web scraper for collecting ASOS data. The scraper is based on Selenium, and the classes adopts the Mixin design pattern. The application is containerized using Docker and deployed on AWS EC2, the scraped data is stored in AWS S3 and AWS RDS. Using Prometheus and Grafana to monitor running indicators.
Reusable Django REST Framework mixins for ViewSets and APIViews: dynamic serializers, auto filter fields, relationship filtering, role-based querysets, and OpenAPI/Swagger support.
Uses various methods to recognize text.
A runtime step profiler - for Python.
A metaprogramming tool for generating C code from C code. Somewhat comparable to mixins from Dlang.
Real-world Python Mixin example: adding GPS tracking to multiple unrelated classes without code duplication
Add a description, image, and links to the mixin topic page so that developers can more easily learn about it.
To associate your repository with the mixin topic, visit your repo's landing page and select "manage topics."