{ "info": { "author": "Jonatan Enes & Javier Cacheiro", "author_email": "bigdata-dev@listas.cesga.es", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Python Resource Allocation API\n==============================\n\nPurpose\n-------\nThe objective of this module is to provide a common API to perform\nResource Allocation (network addresses, disks) using a KeyValue store\nlike consul, etcd or zookeeper as the persistence backend.\n\nUsage examples\n--------------\nBasic usage examples::\n\n import allocator\n\n adresses = allocator.AddressManager()\n adresses.get_free('private')\n adresses.get_status('private', '10.112.254.101')\n adresses.set_used('private', '10.112.254.101')\n adresses.set_free('private', '10.112.254.101')\n\n disks = allocator.DiskManager()\n disks.get_free('node1.local')\n disks.get_status('node1.local', '1')\n disks.set_used('node1.local', '1')\n disks.set_free('node1.local', '1')", "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/javicacheiro/resource-allocation", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "resource-allocator", "package_url": "https://pypi.org/project/resource-allocator/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/resource-allocator/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/javicacheiro/resource-allocation" }, "release_url": "https://pypi.org/project/resource-allocator/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Python Resource Allocation API", "version": "0.1.0" }, "last_serial": 2087588, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e2e6cd5a3c82d23a86d2ca7af05fe672", "sha256": "3e369e8fdb89694b5ca0c83cc0225097c4b00417aab4f69e4b5de109579a5c4e" }, "downloads": -1, "filename": "resource-allocator-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e2e6cd5a3c82d23a86d2ca7af05fe672", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2347, "upload_time": "2016-04-27T21:46:20", "url": "https://files.pythonhosted.org/packages/c5/f5/1045cadae7f59e8965c4ee64528188884f8da2d5b2ed0df33a274891f9e4/resource-allocator-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e2e6cd5a3c82d23a86d2ca7af05fe672", "sha256": "3e369e8fdb89694b5ca0c83cc0225097c4b00417aab4f69e4b5de109579a5c4e" }, "downloads": -1, "filename": "resource-allocator-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e2e6cd5a3c82d23a86d2ca7af05fe672", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2347, "upload_time": "2016-04-27T21:46:20", "url": "https://files.pythonhosted.org/packages/c5/f5/1045cadae7f59e8965c4ee64528188884f8da2d5b2ed0df33a274891f9e4/resource-allocator-0.1.0.tar.gz" } ] }