Metadata-Version: 2.2
Name: pickleDB
Version: 1.0
Summary: A lightweight and simple database using json.
Home-page: http://github.com/patx/pickledb
Author: Harrison Erd
Author-email: erdh@mail.broward.edu
License: three-clause BSD
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved :: BSD License
Classifier: Intended Audience :: Developers
Classifier: Topic :: Database
License-File: LICENSE
Requires-Dist: orjson
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: license
Dynamic: requires-dist
Dynamic: summary


pickleDB
--------

pickleDB is lightweight, fast, and simple database based on the orjson module. And it's BSD licensed!


pickleDB is Fun
```````````````

::

    >>> import pickledb

    >>> db = pickledb.load('test.db')

    >>> db.set('key', 'value')

    >>> db.get('key')
    'value'

    >>> db.dump()
    True


And Easy to Install
```````````````````

::

    $ pip install pickledb


Links
`````

* `Website <https://patx.github.io/pickledb>`_
* `Documentation <http://patx.github.io/pickledb/commands.html>`_
* `PyPI <http://pypi.python.org/pypi/pickleDB>`_
* `Github Repo <https://github.com/patx/pickledb>`_


Key Improvements in Version 1.0
```````````````````````````````

* pickleDB 1.0 is a reimagined version designed for speed, simplicity, and reliability. This version is NOT backwards compatible. Key changes include:
* Atomic Saves: Ensures data integrity during writes, eliminating potential corruption issues.
* Faster Serialization**: Switched to `orjson` for significantly improved speed.
* Streamlined API**: Removed legacy methods (e.g., `ladd`, `dmerge`) in favor of native Python operations.
* Unified Handling of Data Types**: Treats all Python-native types (lists, dicts, etc.) as first-class citizens.
* Explicit Saves**: The `auto_save` feature was removed to provide users greater control and optimize performance.


