{ "info": { "author": "Greg Lamp", "author_email": "greg@yhathq.com", "bugtrack_url": null, "classifiers": [], "description": "filedb\n======\n\nCreate a file that pretends to be a MongoDB collection. If you try to\nopen the file, it will JSONify the collection and dump it back to you.\n\nWhy?\n----\n\nBecause our enterprise database is file based, but our cloud based\ndatabase isn't.\n\n...no really why?\n-----------------\n\nFiles are simpler and don't break. The database operations we need to\nperform aren't complicated and don't require high performance. By using\nfiles there isn't a database that can fail. There's the added benefit\nthat if customers want to use different types of databases for\ndistributed systems, we can plug into any of them using a ``filedb`` (we\njust have to make something that dumps out JSON .\n\nQuickstart\n----------\n\nInstall FUSE\n^^^^^^^^^^^^\n\nMake sure you have `FUSE `__ installed.\n\n- `FUSE for OSX `__\n- Ubuntu: ``sudo apt-get install g++ libfuse-dev``\n\nGet mongo running\n^^^^^^^^^^^^^^^^^\n\nAnd you'll need a collection with some data in it.\n\n.. code:: bash\n\n $ mongod\n\n.. code:: bash\n\n $ mongo\n > use test\n > db.people.insert({\"username\": \"greg\"})\n > db.people.insert({\"username\": \"phil\"})\n > db.people.insert({\"username\": \"bob\"})\n > db.people.insert({\"username\": \"samantha\"})\n\nInstall filedb\n^^^^^^^^^^^^^^\n\n.. code:: bash\n\n $ pip install filedb\n\nRunning via python\n^^^^^^^^^^^^^^^^^^\n\n.. code:: bash\n\n $ filedb /tmp/tutorial/mnt/ mongodb://localhost:27017/test people\n\nOpen the file\n^^^^^^^^^^^^^\n\n.. code:: bash\n\n $ cat /tmp/tutorial/mnt/db\n [{ \"_id\": \"52f104a7a0fb769e0cd0d1d4\", \"username\": \"greg\" }\n { \"_id\": \"52f104a9a0fb769e0cd0d1d5\", \"username\": \"phil\" }\n { \"_id\": \"52f104aca0fb769e0cd0d1d6\", \"username\": \"bob\" }\n { \"_id\": \"52f104aea0fb769e0cd0d1d7\", \"username\": \"samantha\" }]\n\nRunning as a service\n--------------------\n\nUpstart job.\n\n.. code:: bash\n\n # install the job\n $ sudo cp -R overlay/* /\n # or\n $ wget https://raw2.github.com/yhat/filedb/master/overlay/etc/init/filedb.conf\n $ sudo mv filedb.conf /etc/init/filedb.conf\n # start the job\n $ sudo start filedb", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yhat/filedb", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "filedb", "package_url": "https://pypi.org/project/filedb/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/filedb/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/yhat/filedb" }, "release_url": "https://pypi.org/project/filedb/0.2.3/", "requires_dist": null, "requires_python": null, "summary": "Create a file that pretends to be a database query", "version": "0.2.3" }, "last_serial": 990467, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "9c545050978ba59e65b08e7ac03129be", "sha256": "8f186ee50b9b9ea48cc04ec46fcbc96fe88ac2c365c97687c058176204e9380d" }, "downloads": -1, "filename": "filedb-0.1-py2.7.egg", "has_sig": false, "md5_digest": "9c545050978ba59e65b08e7ac03129be", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4797, "upload_time": "2014-02-04T15:14:44", "url": "https://files.pythonhosted.org/packages/a3/c9/71b4814ee2445e89b93f42bffcac8a7dd2110a944e95092f8ed643f64ad1/filedb-0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "593218d2cbb177e91ab6939bc4fe8373", "sha256": "269f63948b65863101ed7a01da5a82cece37f4712be9cfc4e7a2432d642db79e" }, "downloads": -1, "filename": "filedb-0.1.tar.gz", "has_sig": false, "md5_digest": "593218d2cbb177e91ab6939bc4fe8373", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2602, "upload_time": "2014-02-04T15:14:50", "url": "https://files.pythonhosted.org/packages/4f/e4/c5cecd0eb54692accf475c0954f645a7d7b0bc7ff9e4f341fbfc6e359b1d/filedb-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b38b7e0468b0ce5c5121c442cd715ffa", "sha256": "3ce6407a1e195f1750ef9921137cd7b595d8f52c002fa02ebe02d87ce7dd8040" }, "downloads": -1, "filename": "filedb-0.2-py2.7.egg", "has_sig": false, "md5_digest": "b38b7e0468b0ce5c5121c442cd715ffa", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5013, "upload_time": "2014-02-04T15:24:12", "url": "https://files.pythonhosted.org/packages/f2/ad/fbae82aa094ce3fa1d38194a512bf519bf777f5242e4676bfde09247293f/filedb-0.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "e083f35ef56d9d769109bb4c4340e74b", "sha256": "4f7b851fc5b435d5f367660f6a53d95b6a89671d78dfc1d4eb59aad60fb2b480" }, "downloads": -1, "filename": "filedb-0.2.tar.gz", "has_sig": false, "md5_digest": "e083f35ef56d9d769109bb4c4340e74b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2852, "upload_time": "2014-02-04T15:24:16", "url": "https://files.pythonhosted.org/packages/b4/32/25d69f17298568e4946f05b33aab3ad731e80ea0ffef6ac1ade7573bb08f/filedb-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "f192a7ef61a56c7e8e954cda6715113d", "sha256": "62040c6cde76090921471dd8136ec0090d9e9db1a87af14ea81b290db3ca7bd6" }, "downloads": -1, "filename": "filedb-0.2.1-py2.7.egg", "has_sig": false, "md5_digest": "f192a7ef61a56c7e8e954cda6715113d", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5073, "upload_time": "2014-02-04T15:34:57", "url": "https://files.pythonhosted.org/packages/6f/b6/dee5149cc3a03b3e73d5c9d58fd287aff4be667f0d7368982c5ef45866ed/filedb-0.2.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "f8f0e120aee424d118422b750d1d060e", "sha256": "d72b9927f24bc7177159c749f926f5dae74a5112382dc930dbf9252bd40443ae" }, "downloads": -1, "filename": "filedb-0.2.1.tar.gz", "has_sig": false, "md5_digest": "f8f0e120aee424d118422b750d1d060e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2928, "upload_time": "2014-02-04T15:35:01", "url": "https://files.pythonhosted.org/packages/98/73/a97b56a1a49619758a6d870df46621d20b9403ace6f69f2c8a687e0adb0b/filedb-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "0081a40cdf48531b504e6beaed1875e9", "sha256": "88aa4e6ad0399bfd4ee2863c2733d9f21fe7812e9550605bbcc04a056fda1cca" }, "downloads": -1, "filename": "filedb-0.2.2-py2.7.egg", "has_sig": false, "md5_digest": "0081a40cdf48531b504e6beaed1875e9", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5123, "upload_time": "2014-02-04T15:45:26", "url": "https://files.pythonhosted.org/packages/c0/3d/cf6c30b0c0fdf50541b6e82314e453f455a9bd8a12da6d59b558b7fdb76c/filedb-0.2.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "700d369628c712fc413054ab48cb1ce6", "sha256": "720c72e660e50663db851978245b9a7f7e1eac4c6bd1445741a8cba9dcbff333" }, "downloads": -1, "filename": "filedb-0.2.2.tar.gz", "has_sig": false, "md5_digest": "700d369628c712fc413054ab48cb1ce6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3164, "upload_time": "2014-02-04T15:45:32", "url": "https://files.pythonhosted.org/packages/47/72/db106972c75628f0ea42fc369177f6260827fb0e0f9c424231d7d66de531/filedb-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "b22ba4d08958a06eb2d771c89ce1c57a", "sha256": "f58668e78b0a7d0b63eac0330579edda97a0191a3b4cbb6e105e7c3728a3fd30" }, "downloads": -1, "filename": "filedb-0.2.3-py2.7.egg", "has_sig": false, "md5_digest": "b22ba4d08958a06eb2d771c89ce1c57a", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5182, "upload_time": "2014-02-04T15:48:44", "url": "https://files.pythonhosted.org/packages/f9/b6/5a6419cb10c0593256a820186eb105f812c13b5838bd1ca4ec93513f14c7/filedb-0.2.3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "e4bd04ad06358df26ecab4e64b7aabbe", "sha256": "01f0b570365676fcdc1f9199e77075eba058d192ca14a3ca4115ff654b2dba70" }, "downloads": -1, "filename": "filedb-0.2.3.tar.gz", "has_sig": false, "md5_digest": "e4bd04ad06358df26ecab4e64b7aabbe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3185, "upload_time": "2014-02-04T15:48:48", "url": "https://files.pythonhosted.org/packages/0b/26/b1f68f861f02f434c689a35e500425c583799baaad29b20266788fb88319/filedb-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b22ba4d08958a06eb2d771c89ce1c57a", "sha256": "f58668e78b0a7d0b63eac0330579edda97a0191a3b4cbb6e105e7c3728a3fd30" }, "downloads": -1, "filename": "filedb-0.2.3-py2.7.egg", "has_sig": false, "md5_digest": "b22ba4d08958a06eb2d771c89ce1c57a", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5182, "upload_time": "2014-02-04T15:48:44", "url": "https://files.pythonhosted.org/packages/f9/b6/5a6419cb10c0593256a820186eb105f812c13b5838bd1ca4ec93513f14c7/filedb-0.2.3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "e4bd04ad06358df26ecab4e64b7aabbe", "sha256": "01f0b570365676fcdc1f9199e77075eba058d192ca14a3ca4115ff654b2dba70" }, "downloads": -1, "filename": "filedb-0.2.3.tar.gz", "has_sig": false, "md5_digest": "e4bd04ad06358df26ecab4e64b7aabbe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3185, "upload_time": "2014-02-04T15:48:48", "url": "https://files.pythonhosted.org/packages/0b/26/b1f68f861f02f434c689a35e500425c583799baaad29b20266788fb88319/filedb-0.2.3.tar.gz" } ] }