pickleDB


NamepickleDB JSON
Version 1.3.2 PyPI version JSON
download
home_pagehttp://github.com/patx/pickledb
SummaryA lightweight and simple database using json.
upload_time2025-02-09 03:47:56
maintainerNone
docs_urlhttps://pythonhosted.org/pickleDB/
authorHarrison Erd
requires_pythonNone
licensethree-clause BSD
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
pickleDB
--------

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


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

::

    >>> from pickledb import PickleDB

    >>> db = PickleDB('test.db')

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

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

    >>> db.save()
    True


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

::

    $ pip install pickledb


Links
`````

* `Website <https://patx.github.io/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.
* Added built in async class for use with event based applications.


            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/patx/pickledb",
    "name": "pickleDB",
    "maintainer": null,
    "docs_url": "https://pythonhosted.org/pickleDB/",
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Harrison Erd",
    "author_email": "erdh@mail.broward.edu",
    "download_url": "https://files.pythonhosted.org/packages/d4/7c/26477ab38b22036fa1bc48d52a676dda69fb8281dd599fd0e056a2a591f5/pickledb-1.3.2.tar.gz",
    "platform": null,
    "description": "\npickleDB\n--------\n\npickleDB is lightweight, fast, and simple database based on the orjson module. And it's BSD licensed!\n\n\npickleDB is Fun\n```````````````\n\n::\n\n    >>> from pickledb import PickleDB\n\n    >>> db = PickleDB('test.db')\n\n    >>> db.set('key', 'value')\n\n    >>> db.get('key')\n    'value'\n\n    >>> db.save()\n    True\n\n\nAnd Easy to Install\n```````````````````\n\n::\n\n    $ pip install pickledb\n\n\nLinks\n`````\n\n* `Website <https://patx.github.io/pickledb>`_\n* `Github Repo <https://github.com/patx/pickledb>`_\n\n\nKey Improvements in Version 1.0+\n````````````````````````````````\n\n* pickleDB 1.0 is a reimagined version designed for speed, simplicity, and reliability. This version is NOT backwards compatible. Key changes include:\n* Atomic Saves: Ensures data integrity during writes, eliminating potential corruption issues.\n* Faster Serialization: Switched to `orjson` for significantly improved speed.\n* Streamlined API: Removed legacy methods (e.g., `ladd`, `dmerge`) in favor of native Python operations.\n* Unified Handling of Data Types: Treats all Python-native types (lists, dicts, etc.) as first-class citizens.\n* Explicit Saves: The `auto_save` feature was removed to provide users greater control and optimize performance.\n* Added built in async class for use with event based applications.\n\n",
    "bugtrack_url": null,
    "license": "three-clause BSD",
    "summary": "A lightweight and simple database using json.",
    "version": "1.3.2",
    "project_urls": {
        "Homepage": "http://github.com/patx/pickledb"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d47c26477ab38b22036fa1bc48d52a676dda69fb8281dd599fd0e056a2a591f5",
                "md5": "ebd2447678cade536abebcb2a435d6ae",
                "sha256": "b5cdc3bc9a7a6dbf7c5bbb81191f2ee9981ff4b947ed1f423e880566a5dda2c9"
            },
            "downloads": -1,
            "filename": "pickledb-1.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "ebd2447678cade536abebcb2a435d6ae",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10656,
            "upload_time": "2025-02-09T03:47:56",
            "upload_time_iso_8601": "2025-02-09T03:47:56.051092Z",
            "url": "https://files.pythonhosted.org/packages/d4/7c/26477ab38b22036fa1bc48d52a676dda69fb8281dd599fd0e056a2a591f5/pickledb-1.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-09 03:47:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "patx",
    "github_project": "pickledb",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pickledb"
}
        
Elapsed time: 0.77279s