Danak is a simple and flexible Object-Relational Mapping (ORM) library for Python. This library simplifies database interactions and provides an intuitive interface for Python developers.
- Easy Model Creation: Quickly and effortlessly create database models
- Migration Management: Convenient migration mechanism for managing database structures
- Flexible Field Handling: Support for various data field types
- Minimal Configuration: Quick setup with minimal configuration required
- Convenient Sorting and Filtering: Easy data sorting and filtering capabilities
- Programming Language: Python
- ORM Type: Lightweight
- Database Compatibility: Works with SQL databases like SQLite, PostgreSQL, MySQL
pip install danak
from danak import Model, Field
class User(Model):
id = Field(int, primary_key=True)
name = Field(str)
email = Field(str, unique=True)
from danak import create_migrations
create_migrations(User)
Contributions are welcome! Feel free to open pull requests or issues.
MIT License
For questions and suggestions, please use the GitHub issues section.