Skip to main content

danak - Lightweight Python ORM

Project description

Danak - Lightweight Python ORM

🚀 Project Overview

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.

✨ Key Features

  • 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

🛠️ Technologies

  • Programming Language: Python
  • ORM Type: Lightweight
  • Database Compatibility: Works with SQL databases like SQLite, PostgreSQL, MySQL

📦 Installation

pip install danak

🚦 Basic Usage Examples

Creating a Model

from danak import Model, Field

class User(Model):
    id = Field(int, primary_key=True)
    name = Field(str)
    email = Field(str, unique=True)

Creating Migrations

from danak import create_migrations

create_migrations(User)

🤝 Contributing

Contributions are welcome! Feel free to open pull requests or issues.

📄 License

MIT License

📬 Contact

For questions and suggestions, please use the GitHub issues section.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

danak-0.0.1.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

danak-0.0.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file danak-0.0.1.tar.gz.

File metadata

  • Download URL: danak-0.0.1.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.4

File hashes

Hashes for danak-0.0.1.tar.gz
Algorithm Hash digest
SHA256 71ccb061c66941de0812c091818ef20a13b4236ebe45b62965e64b156597e730
MD5 4229bfc721818ddb2c023c2fedfadfad
BLAKE2b-256 c06cf97aa28eb37c18d8b36ca0b353670e825938dec5218a681d1ddc586881d6

See more details on using hashes here.

File details

Details for the file danak-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: danak-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.4

File hashes

Hashes for danak-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b662490709a15dc0eb3d1d3b58133f929682073078e3e00fd2ac47d0477521f7
MD5 78a53cbefa66fd90516fe387a2a3c030
BLAKE2b-256 54b77fcb0f4dd4f909952b50462f9aa5fc3aa81485bd0a3713036d00c3fa9549

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page