{ "info": { "author": "Tin Tvrtkovic", "author_email": "tinchester@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Testing" ], "description": "Fakeriak: a fake Riak client for testing\n========================================\n\n.. image:: https://img.shields.io/pypi/v/fakeriak.svg\n :target: https://pypi.python.org/pypi/fakeriak\n.. image:: https://travis-ci.org/Tinche/fakeriak.svg?branch=master\n :target: https://travis-ci.org/Tinche/fakeriak\n.. image:: https://coveralls.io/repos/Tinche/fakeriak/badge.svg?branch=master\n :target: https://coveralls.io/r/Tinche/fakeriak?branch=master\n\nFakeriak is an Apache2 licensed library, written in Python, for testing code\nthat uses the Python Riak client.\n\nA Fakeriak client contains a very simple, in-memory storage backend. An\nordinary Riak client can simply be replaced with a Fakeriak client during unit\ntesting, thus enabling the testing of components that depend on Riak.\n\n\n.. code-block:: python\n\n test_payload = b'test'\n\n riak_client = FakeRiakClient()\n obj = riak_client.bucket('default').new(content_type='binary/octet-stream')\n obj.data = test_payload\n obj.store()\n\n assert riak_client.bucket('default').get(obj.key).data == test_payload\n\n\nFeatures\n--------\n\n- only default, simple buckets\n- ``RiakBucket.new``, ``RiakBucket.get``, ``RiakBucket.delete``, ``RiakBucket.multiget``\n- ``RiakObject.store()``, ``RiakObject.delete()``, ``RiakObject.exists``\n- no concurrency (sibling) support\n\nInstallation\n------------\n\nTo install Fakeriak (preferably in a virtualenv), simply:\n\n.. code-block:: bash\n\n $ pip install fakeriak\n\n\nContributing\n~~~~~~~~~~~~\nContributions are very welcome. Tests can be run with ``tox``, please ensure\nthe coverage at least stays the same before you submit a pull request.\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Tinche/fakeriak", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "fakeriak", "package_url": "https://pypi.org/project/fakeriak/", "platform": "", "project_url": "https://pypi.org/project/fakeriak/", "project_urls": { "Homepage": "https://github.com/Tinche/fakeriak" }, "release_url": "https://pypi.org/project/fakeriak/0.2/", "requires_dist": [ "riak (>=2.2.0)" ], "requires_python": "", "summary": "Library for testing code that uses Riak.", "version": "0.2" }, "last_serial": 2333289, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2669a91f3b584c1f106bc73e0dabd9c8", "sha256": "2196e4aa21da6fcb56f55c4d7fbb05ab5be0b41f012d2a614da4a73b0bd7522d" }, "downloads": -1, "filename": "fakeriak-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "2669a91f3b584c1f106bc73e0dabd9c8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5106, "upload_time": "2016-02-18T23:33:12", "url": "https://files.pythonhosted.org/packages/d2/db/fa39cd9b155386936d2532953a89cce98d631e8ecc5d2115d585ddc98b45/fakeriak-0.1-py3-none-any.whl" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "460b8bc4d1389c24ce943123b44218e7", "sha256": "4159c9be6ab3ff143ed5d86c18e72f56f03637de67c3d848c8c328d68ebbad61" }, "downloads": -1, "filename": "fakeriak-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "460b8bc4d1389c24ce943123b44218e7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5167, "upload_time": "2016-09-09T09:40:43", "url": "https://files.pythonhosted.org/packages/ec/5e/9db691f16e20f196071b961c7d5b438c6a09982cf9263f33c02cbd4504f1/fakeriak-0.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "460b8bc4d1389c24ce943123b44218e7", "sha256": "4159c9be6ab3ff143ed5d86c18e72f56f03637de67c3d848c8c328d68ebbad61" }, "downloads": -1, "filename": "fakeriak-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "460b8bc4d1389c24ce943123b44218e7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5167, "upload_time": "2016-09-09T09:40:43", "url": "https://files.pythonhosted.org/packages/ec/5e/9db691f16e20f196071b961c7d5b438c6a09982cf9263f33c02cbd4504f1/fakeriak-0.2-py3-none-any.whl" } ] }