معرفی شرکت ها


AshenDB-0.0.5


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Another stupid library for using json as Database
ویژگی مقدار
سیستم عامل -
نام فایل AshenDB-0.0.5
نام AshenDB
نسخه کتابخانه 0.0.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Abdullah Al Muaz <abdullahalmuaz15@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/AshenDB/
مجوز MIT License Copyright (c) 2023 Ashenite Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.. image:: https://raw.githubusercontent.com/aurkaxi/AshenDB/master/docs/source/AshenDB_Logo.png .. image:: https://readthedocs.org/projects/ashendb/badge/?version=latest :target: https://ashendb.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status AshenDB ======= **AshenDB** is a another stupid library for using json as Database. It mimics MongoDB functionalities. Why AshenDB? ------------ - **MongoDB** : Needs a server to run. `You can clone your MongoDB to AshenDB <https://ashendb.readthedocs.io/en/latest/ashendb.client.html#ashendb.client.AshenDB.from_mongo>`_. AshenDB is highly inspired from MongoDB, it uses MongoDB like syntax, which makes it easy to use for beginners as well as for MongoDB users. - **TinyDB** : Too simple. Query and Update Operators such as ``$set``, ``$inc`` are not supported. `Check all the supported Operators in AshenDB <https://ashendb.readthedocs.io/en/latest/ashendb.helper.html>`_. Also it is not thread safe. - **JsonDB** : It is not thread safe. Neither it supports mongodb like syntax. Why not AshenDB? ---------------- It is immature. It doesn't use separate server but uses json as a database. Which may be good for small or medium projects but for large and scalable projects it is recommended to use MongoDB with Redis as a cache. Installation ------------ It is available on PyPI. You can install it using pip. .. code-block:: bash pip install ashendb Usage ----- .. code-block:: python >>> from ashendb import AshenDB # Assuming you are inside a async function >>> db = await AshenDB.get_db('test') >>> db <AshenDB: test> >>> coll = await db.get_coll('users') >>> coll <Collection: users> >>> doc = await coll.get_doc('user1') >>> doc <Document: user1> >>> print(doc) {'_id': 'user1'} Documentation ============= Documentation is available at `Read the Docs <https://ashendb.readthedocs.io/en/latest/>`_. Contributing ============ - Open an issue. - Fork the repository -> New Branch -> Make Changes -> Open a Pull Request.


نیازمندی

مقدار نام
- aiofiles


زبان مورد نیاز

مقدار نام
>=3.10 Python


نحوه نصب


نصب پکیج whl AshenDB-0.0.5:

    pip install AshenDB-0.0.5.whl


نصب پکیج tar.gz AshenDB-0.0.5:

    pip install AshenDB-0.0.5.tar.gz