mongodbm


Namemongodbm JSON
Version 0.0.3 PyPI version JSON
download
home_pagehttps://github.com/mullenkamp/mongodbm
SummaryA python key-value MongoDB database
upload_time2023-05-07 22:13:42
maintainer
docs_urlNone
authorMike Kittridge
requires_python
licenseApache
keywords shelve dbm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            mongodbm
==================================

Introduction
------------
mongodbm is a Python package to use a MongoDB server as a python dbm-style key/value database. It implements all of the MutableMapping methods in Python and is implemented in MongoDB using the GridFS spec to allow for values of any size. Keys must be strings (as the filename in GridFS) and values can be set as either bytes or file-like objects. Values returned by mongodbm are always file-like objects (specifically the GridOut object from pymongo).

This package was primarily made to be a fast and persistent key/value store that can have multiple readers and writers across multiple Python instances. MongoDB handles the race conditions so that I don't have to. The initial primary use-case is as a local cache for web apps where the source data are stored in remote S3 systems.

A MongoDB server must be running and accessible for mongodbm to work.

If someone is brave enough to try this out, take a look at the doc strings of the mongodbm.open function to find out what you need to do. It's pretty straightforward.

Installation
------------
Install via pip::

  pip install mongodbm

Or conda::

  conda install -c mullenkamp mongodbm


I'll probably put it on conda-forge once I feel like it's up to an appropriate standard...

TODO
-----
More documentation and I need to write a lot more tests for the functionality.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mullenkamp/mongodbm",
    "name": "mongodbm",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "shelve dbm",
    "author": "Mike Kittridge",
    "author_email": "mullenkamp1@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/25/0c/0b5da8745d1296bc16319f5f511be1a56a56e174debb2cd426d07392b568/mongodbm-0.0.3.tar.gz",
    "platform": null,
    "description": "mongodbm\n==================================\n\nIntroduction\n------------\nmongodbm is a Python package to use a MongoDB server as a python dbm-style key/value database. It implements all of the MutableMapping methods in Python and is implemented in MongoDB using the GridFS spec to allow for values of any size. Keys must be strings (as the filename in GridFS) and values can be set as either bytes or file-like objects. Values returned by mongodbm are always file-like objects (specifically the GridOut object from pymongo).\n\nThis package was primarily made to be a fast and persistent key/value store that can have multiple readers and writers across multiple Python instances. MongoDB handles the race conditions so that I don't have to. The initial primary use-case is as a local cache for web apps where the source data are stored in remote S3 systems.\n\nA MongoDB server must be running and accessible for mongodbm to work.\n\nIf someone is brave enough to try this out, take a look at the doc strings of the mongodbm.open function to find out what you need to do. It's pretty straightforward.\n\nInstallation\n------------\nInstall via pip::\n\n  pip install mongodbm\n\nOr conda::\n\n  conda install -c mullenkamp mongodbm\n\n\nI'll probably put it on conda-forge once I feel like it's up to an appropriate standard...\n\nTODO\n-----\nMore documentation and I need to write a lot more tests for the functionality.\n",
    "bugtrack_url": null,
    "license": "Apache",
    "summary": "A python key-value MongoDB database",
    "version": "0.0.3",
    "project_urls": {
        "Homepage": "https://github.com/mullenkamp/mongodbm"
    },
    "split_keywords": [
        "shelve",
        "dbm"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aa41c314cd8774f6135c4f52b7a7951929bf50b4fec1d8962a47b33cef21d42a",
                "md5": "74ff0a7b2ed2e74d649c8eabfd6afc98",
                "sha256": "b497530c2fb89949188b1d45ba5443a8c23681a196f9fe1a32390029a328cbc1"
            },
            "downloads": -1,
            "filename": "mongodbm-0.0.3-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "74ff0a7b2ed2e74d649c8eabfd6afc98",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 9664,
            "upload_time": "2023-05-07T22:13:40",
            "upload_time_iso_8601": "2023-05-07T22:13:40.526844Z",
            "url": "https://files.pythonhosted.org/packages/aa/41/c314cd8774f6135c4f52b7a7951929bf50b4fec1d8962a47b33cef21d42a/mongodbm-0.0.3-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "250c0b5da8745d1296bc16319f5f511be1a56a56e174debb2cd426d07392b568",
                "md5": "95a0bfa9ec0e7de4e4a012dfbcb02ff5",
                "sha256": "76c4d3210048b712c0ba0ebda522a9126548b58e18ec44c62d7965a520cf47ba"
            },
            "downloads": -1,
            "filename": "mongodbm-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "95a0bfa9ec0e7de4e4a012dfbcb02ff5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 11233,
            "upload_time": "2023-05-07T22:13:42",
            "upload_time_iso_8601": "2023-05-07T22:13:42.811743Z",
            "url": "https://files.pythonhosted.org/packages/25/0c/0b5da8745d1296bc16319f5f511be1a56a56e174debb2cd426d07392b568/mongodbm-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-07 22:13:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mullenkamp",
    "github_project": "mongodbm",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "mongodbm"
}
        
Elapsed time: 0.08081s