Name | Mukund JSON |
Version |
1.0.3
JSON |
| download |
home_page | |
Summary | An advance package to store data in JSON files and allow to store media with mapping and much more i recommend to atleast use it once |
upload_time | 2024-02-09 19:27:47 |
maintainer | Mukund |
docs_url | None |
author | |
requires_python | ~=3.7 |
license | |
keywords |
database
mukunddrive
mukunddb
mukund
nosql
mukudb
mukund-database
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
## Mukund: A Comprehensive Storage Handling Wrapper
In the ever-evolving landscape of software development, the efficient handling of data storage is a pivotal aspect of creating robust and scalable applications. One such storage handling wrapper that has gained prominence is Mukund. Let's explore the key features, design principles, and functionalities of Mukund, providing an in-depth understanding of its role in simplifying database interactions.
## Installing
Install and update using [pip](pypi.org):
```
$ pip install -U Mukund
```
### Origins and Purpose
Mukund is a JSON based storage handling wrapper designed to streamline database operations and provide a convenient interface for developers to interact with their data. Developed with simplicity and efficiency in mind, Mukund aims to empower developers by offering a user-friendly abstraction layer over traditional database interactions. The wrapper is particularly suited for applications that require persistent data storage and retrieval.
### Key Components
#### 1. Database Initialization
Mukund's initialization process begins with the creation of a database instance. Developers can instantiate Mukund by providing a unique name for the database. This simple yet crucial step establishes a connection to the storage location and sets the stage for subsequent interactions.
```
storage = Mukund("MukundX")
```
#### 2. Collection Management
One of Mukund's core functionalities is the management of collections within the database. Collections serve as containers for related data, and Mukund provides a seamless mechanism to create or access them.
```
col = mukund_instance.database("students")
```
The wrapper abstracts away the intricacies of handling individual collection files, allowing developers to focus on the logical organization of their data.
#### 3. Data Operations
Mukund supports various data operations, including insertion, retrieval, updating, and deletion. The Base class, part of Mukund's architecture, encapsulates these operations in a clean and modular fashion. For instance, adding a new key-value pair to a collection is as straightforward as calling the put method:
col.put("user_123", {"name": "Mukund", "age": 16, "email": "mukund@example.com"})
#### 4. Querying
To enhance flexibility, Mukund incorporates querying capabilities. Developers can specify conditions for filtering data, enabling targeted retrieval based on predefined criteria. The query method facilitates complex queries and supports regular expressions for matching values.
result_above_25 = col.query(condition_func=lambda col: col.get("age", 0) > 15)
### Design Principles
Mukund's design adheres to several key principles:
#### 1. Simplicity
The wrapper prioritizes simplicity in both its usage and underlying implementation. With a minimalistic and intuitive code, developers can quickly integrate Mukund into their projects without the need for extensive training.
#### 2. Extensibility
Mukund's design allows for easy extension and customization. The wrapper provides a solid foundation for developers to build upon, ensuring adaptability to diverse project requirements and future enhancements.
#### 3. Error Handling
Error handling is an integral part of Mukund's design philosophy. The wrapper employs informative error messages and exceptions to guide developers in identifying and resolving issues efficiently.
## A simple example
```python
from Mukund import Mukund
storage = Mukund("MukundX")
collection = storage.database("users")
```
## Examples
See Example folder for examples
## Contact
- Updates : https://t.me/itzMukund
- Support : https://t.me/MukundChat
Raw data
{
"_id": null,
"home_page": "",
"name": "Mukund",
"maintainer": "Mukund",
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": "",
"keywords": "Database,MukundDrive,MukundDB,Mukund,NoSQL,MukuDB,Mukund-Database",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/e7/ee/72a81984d21ce31ab4b1b28dfe63d41a918ec9a10266cbe64ba9f4e6108b/Mukund-1.0.3.tar.gz",
"platform": null,
"description": "## Mukund: A Comprehensive Storage Handling Wrapper\n\nIn the ever-evolving landscape of software development, the efficient handling of data storage is a pivotal aspect of creating robust and scalable applications. One such storage handling wrapper that has gained prominence is Mukund. Let's explore the key features, design principles, and functionalities of Mukund, providing an in-depth understanding of its role in simplifying database interactions.\n\n## Installing\nInstall and update using [pip](pypi.org):\n```\n$ pip install -U Mukund\n```\n\n### Origins and Purpose\n\nMukund is a JSON based storage handling wrapper designed to streamline database operations and provide a convenient interface for developers to interact with their data. Developed with simplicity and efficiency in mind, Mukund aims to empower developers by offering a user-friendly abstraction layer over traditional database interactions. The wrapper is particularly suited for applications that require persistent data storage and retrieval.\n\n### Key Components\n\n#### 1. Database Initialization\n\nMukund's initialization process begins with the creation of a database instance. Developers can instantiate Mukund by providing a unique name for the database. This simple yet crucial step establishes a connection to the storage location and sets the stage for subsequent interactions.\n\n```\nstorage = Mukund(\"MukundX\")\n```\n\n#### 2. Collection Management\n\nOne of Mukund's core functionalities is the management of collections within the database. Collections serve as containers for related data, and Mukund provides a seamless mechanism to create or access them.\n\n```\ncol = mukund_instance.database(\"students\")\n```\n\nThe wrapper abstracts away the intricacies of handling individual collection files, allowing developers to focus on the logical organization of their data.\n\n#### 3. Data Operations\n\nMukund supports various data operations, including insertion, retrieval, updating, and deletion. The Base class, part of Mukund's architecture, encapsulates these operations in a clean and modular fashion. For instance, adding a new key-value pair to a collection is as straightforward as calling the put method:\n\ncol.put(\"user_123\", {\"name\": \"Mukund\", \"age\": 16, \"email\": \"mukund@example.com\"})\n\n#### 4. Querying\n\nTo enhance flexibility, Mukund incorporates querying capabilities. Developers can specify conditions for filtering data, enabling targeted retrieval based on predefined criteria. The query method facilitates complex queries and supports regular expressions for matching values.\n\nresult_above_25 = col.query(condition_func=lambda col: col.get(\"age\", 0) > 15)\n\n### Design Principles\n\nMukund's design adheres to several key principles:\n\n#### 1. Simplicity\n\nThe wrapper prioritizes simplicity in both its usage and underlying implementation. With a minimalistic and intuitive code, developers can quickly integrate Mukund into their projects without the need for extensive training.\n\n#### 2. Extensibility\n\nMukund's design allows for easy extension and customization. The wrapper provides a solid foundation for developers to build upon, ensuring adaptability to diverse project requirements and future enhancements.\n\n#### 3. Error Handling\n\nError handling is an integral part of Mukund's design philosophy. The wrapper employs informative error messages and exceptions to guide developers in identifying and resolving issues efficiently.\n\n\n## A simple example \n```python \n\nfrom Mukund import Mukund \n\nstorage = Mukund(\"MukundX\")\n\ncollection = storage.database(\"users\")\n```\n\n## Examples\nSee Example folder for examples\n\n## Contact\n- Updates : https://t.me/itzMukund\n- Support : https://t.me/MukundChat\n",
"bugtrack_url": null,
"license": "",
"summary": "An advance package to store data in JSON files and allow to store media with mapping and much more i recommend to atleast use it once",
"version": "1.0.3",
"project_urls": null,
"split_keywords": [
"database",
"mukunddrive",
"mukunddb",
"mukund",
"nosql",
"mukudb",
"mukund-database"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b4f97c301afb06616b5c6c52471bb02d0bfb45cea61ed428c8d196bca7dbb237",
"md5": "38c65f5992c769c7615fa396225f3c7f",
"sha256": "8239e796719e40db5b8c08c6c8c0ec5e6582698939f2f1e1d92e6c620957d2e3"
},
"downloads": -1,
"filename": "Mukund-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "38c65f5992c769c7615fa396225f3c7f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.7",
"size": 6273,
"upload_time": "2024-02-09T19:27:45",
"upload_time_iso_8601": "2024-02-09T19:27:45.173617Z",
"url": "https://files.pythonhosted.org/packages/b4/f9/7c301afb06616b5c6c52471bb02d0bfb45cea61ed428c8d196bca7dbb237/Mukund-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e7ee72a81984d21ce31ab4b1b28dfe63d41a918ec9a10266cbe64ba9f4e6108b",
"md5": "44105ea5868429a8f90fb09394222c25",
"sha256": "7177e81148ab40b31973492af3811fec50da9121d0fb5260ff9c332f85c2ef4d"
},
"downloads": -1,
"filename": "Mukund-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "44105ea5868429a8f90fb09394222c25",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 5796,
"upload_time": "2024-02-09T19:27:47",
"upload_time_iso_8601": "2024-02-09T19:27:47.426687Z",
"url": "https://files.pythonhosted.org/packages/e7/ee/72a81984d21ce31ab4b1b28dfe63d41a918ec9a10266cbe64ba9f4e6108b/Mukund-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-09 19:27:47",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "mukund"
}