DbUnify


NameDbUnify JSON
Version 2.1.2 PyPI version JSON
download
home_pagehttps://github.com/Sepehr267/DbUnify
SummaryDbUnify (Database Management) is a versatile Python library that simplifies database connectivity and management using SQLite.
upload_time2024-08-08 00:25:13
maintainerNone
docs_urlNone
authorSepehr0Day
requires_python>=3.7
licenseMIT
keywords dbunify database sqlite3 sql sql sepehr0day management
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # DbUnify | Database Management

**DbUnify** (Database Management) is a versatile Python library that simplifies database connectivity and management using SQLite.

## Installation
   Install the DbUnify library from PyPI or GitHub.
   
   ```bash
   pip install DbUnify
   ```
## Connect To Database
```python
from DbUnify.SQLite3.sync.ORM import Model, ORMManager
from DbUnify.SQLite3.data import Rules, DataType

# Define a model
class User(Model):
    name = Field(data_type=DataType.TEXT)
    email = Field(data_type=DataType.TEXT, constraints=[Rules.UNIQUE])

# Create an ORMManager instance and set it for the model
orm_manager = ORMManager(db_name='example.db')
User.set_manager(orm_manager)

# Create the table
User.create_table()
   ```


## Documentation DbUnify:

   For more information and advanced usage, refer to the [DbUnify documentation](https://DbUnify.readthedocs.io).

  
## License

This project is licensed under the MIT License. See the [LICENSE](https://github.com/Sepehr0267/DbUnify/blob/main/LICENSE) file for details.

<a href="https://pypi.org/project/DbUnify/"><img src="https://img.shields.io/badge/DbUnify-2.1.0-blue"></a> 

## Developer
- **Telegram**: [t.me/Sepehr0Day](https://t.me/Sepehr0Day)

---

*Your Database Management DbUnify, made easy with DbUnify.*

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Sepehr267/DbUnify",
    "name": "DbUnify",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "DbUnify database sqlite3 sql SQL sepehr0day Management",
    "author": "Sepehr0Day",
    "author_email": "sphrz2324@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/56/5d/3b51c85a2a1a661d510408d6029e446f049c388775264ab65793c8bff0bb/dbunify-2.1.2.tar.gz",
    "platform": null,
    "description": "# DbUnify | Database Management\n\n**DbUnify** (Database Management) is a versatile Python library that simplifies database connectivity and management using SQLite.\n\n## Installation\n   Install the DbUnify library from PyPI or GitHub.\n   \n   ```bash\n   pip install DbUnify\n   ```\n## Connect To Database\n```python\nfrom DbUnify.SQLite3.sync.ORM import Model, ORMManager\nfrom DbUnify.SQLite3.data import Rules, DataType\n\n# Define a model\nclass User(Model):\n    name = Field(data_type=DataType.TEXT)\n    email = Field(data_type=DataType.TEXT, constraints=[Rules.UNIQUE])\n\n# Create an ORMManager instance and set it for the model\norm_manager = ORMManager(db_name='example.db')\nUser.set_manager(orm_manager)\n\n# Create the table\nUser.create_table()\n   ```\n\n\n## Documentation DbUnify:\n\n   For more information and advanced usage, refer to the [DbUnify documentation](https://DbUnify.readthedocs.io).\n\n  \n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](https://github.com/Sepehr0267/DbUnify/blob/main/LICENSE) file for details.\n\n<a href=\"https://pypi.org/project/DbUnify/\"><img src=\"https://img.shields.io/badge/DbUnify-2.1.0-blue\"></a> \n\n## Developer\n- **Telegram**: [t.me/Sepehr0Day](https://t.me/Sepehr0Day)\n\n---\n\n*Your Database Management DbUnify, made easy with DbUnify.*\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "DbUnify (Database Management) is a versatile Python library that simplifies database connectivity and management using SQLite.",
    "version": "2.1.2",
    "project_urls": {
        "Bug Reports": "https://github.com/Sepehr267/DbUnify/issues",
        "Documentation": "https://DbUnify.readthedocs.io/",
        "Homepage": "https://github.com/Sepehr267/DbUnify",
        "Source": "https://github.com/Sepehr267/DbUnify/DbUnify"
    },
    "split_keywords": [
        "dbunify",
        "database",
        "sqlite3",
        "sql",
        "sql",
        "sepehr0day",
        "management"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d9c74802cb5cf8cc4b14a9e3c2fc4ca5139177be601842350af4a3b922bc95ec",
                "md5": "317647a3c85508125dc2d5345470cb30",
                "sha256": "f96eb10fff76be956f65b6683d81df68330f03d155785f3ee36d5927beda0a5b"
            },
            "downloads": -1,
            "filename": "DbUnify-2.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "317647a3c85508125dc2d5345470cb30",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 40302,
            "upload_time": "2024-08-08T00:25:12",
            "upload_time_iso_8601": "2024-08-08T00:25:12.061528Z",
            "url": "https://files.pythonhosted.org/packages/d9/c7/4802cb5cf8cc4b14a9e3c2fc4ca5139177be601842350af4a3b922bc95ec/DbUnify-2.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "565d3b51c85a2a1a661d510408d6029e446f049c388775264ab65793c8bff0bb",
                "md5": "3652c3f10452814800ace07af502801f",
                "sha256": "a0a4c7ab866679e1608676940b4f007fbf94d76eea82c5e726673b7340b9391e"
            },
            "downloads": -1,
            "filename": "dbunify-2.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "3652c3f10452814800ace07af502801f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 27545,
            "upload_time": "2024-08-08T00:25:13",
            "upload_time_iso_8601": "2024-08-08T00:25:13.872081Z",
            "url": "https://files.pythonhosted.org/packages/56/5d/3b51c85a2a1a661d510408d6029e446f049c388775264ab65793c8bff0bb/dbunify-2.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-08 00:25:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Sepehr267",
    "github_project": "DbUnify",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "dbunify"
}
        
Elapsed time: 0.37634s