{ "info": { "author": "herr kaste", "author_email": "herr.kaste@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries" ], "description": "Joe Gregorio originally `posted `_ about Sharded Counters for Google Appengine.\n\nThis is like a downloadable gist::\n\n from sharc import Counter\n\n assert not Counter('A').exists()\n\n Counter('A', initial_value=5, shards=5)\n assert Counter('A').exists()\n\n Counter('A').increment()\n Counter('A').decrement()\n Counter('A') + 2\n Counter('A') - 2\n\n assert Counter('A') == 5\n\n Counter('A').shards = 10\n\n Counter('A').delete() # .delete_async()\n assert not Counter('A').exists()\n\n\n\n\n- Added decrement\n- Increment and decrement variable deltas (default=1)\n- Set initial value of the counter (default=0)\n- Set initial value of the num of shards (default=20)\n- Added delete()", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/kaste/sharc/tarball/master#egg=sharc-dev", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/kaste/sharc", "keywords": "google appengine gae sharded counter ndb", "license": "Apache 2", "maintainer": null, "maintainer_email": null, "name": "sharc", "package_url": "https://pypi.org/project/sharc/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sharc/", "project_urls": { "Download": "http://github.com/kaste/sharc/tarball/master#egg=sharc-dev", "Homepage": "http://github.com/kaste/sharc" }, "release_url": "https://pypi.org/project/sharc/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Sharded Counters for Google Appengine (GAE).", "version": "0.1.0" }, "last_serial": 743164, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "af0b09f01782dc5627bf3a6119eeec61", "sha256": "5efcc20ebabdb53e0cfda05d51311dce4a13ded90fb615375634ac10af891ba8" }, "downloads": -1, "filename": "sharc-0.1.0.zip", "has_sig": false, "md5_digest": "af0b09f01782dc5627bf3a6119eeec61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6052, "upload_time": "2013-03-04T11:56:13", "url": "https://files.pythonhosted.org/packages/ac/4c/83856d99fea78cf0c247f08cf04ca74f1317070b62f949e8da290d00b75c/sharc-0.1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "af0b09f01782dc5627bf3a6119eeec61", "sha256": "5efcc20ebabdb53e0cfda05d51311dce4a13ded90fb615375634ac10af891ba8" }, "downloads": -1, "filename": "sharc-0.1.0.zip", "has_sig": false, "md5_digest": "af0b09f01782dc5627bf3a6119eeec61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6052, "upload_time": "2013-03-04T11:56:13", "url": "https://files.pythonhosted.org/packages/ac/4c/83856d99fea78cf0c247f08cf04ca74f1317070b62f949e8da290d00b75c/sharc-0.1.0.zip" } ] }