{ "info": { "author": "mohanson", "author_email": "mohanson@outlook.com", "bugtrack_url": null, "classifiers": [], "description": "# Package acdb\n\nPackage acdb manages objects between memory and file system.\n\n```sh\n$ pip install acdb\n```\n\n# Mem\n\nMemDriver cares to store data on memory, this means that MemDriver is fast. Since there is no expiration mechanism, be careful that it might eats up all your memory.\n\n```py\ndb = acdb.mem()\ndb.set('name', 'acdb')\nassert db.get('name') == 'acdb'\n```\n\n# Doc\n\nDocDriver use the OS's file system to manage data. In general, any high frequency operation is not recommended unless you have an enough reason.\n\n```py\ndb = acdb.doc(\"/tmp/dat\")\n```\n\n# Lru\n\nIn computing, cache algorithms (also frequently called cache replacement algorithms or cache replacement policies) are optimizing instructions, or algorithms, that a computer program or a hardware-maintained structure can utilize in order to manage a cache of information stored on the computer.\n\nCaching improves performance by keeping recent or often-used data items in a memory locations that are faster or computationally cheaper to access than normal memory stores. When the cache is full, the algorithm must choose which items to discard to make room for the new ones.\n\nLeast recently used (LRU), discards the least recently used items first. It has a fixed size(for limit memory usages) and O(1) time lookup.\n\n```py\ndb = acdb.lru(1024)\n```\n\n# Syn\n\nMapDriver is based on DocDriver and use LruDriver to provide caching at its interface layer. The size of LruDriver is always 1024.\n\n```py\ndb = acdb.syn(\"/tmp/dat\")\n```\n\n# Licences\n\nMIT\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pydump/acdb", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "acdb", "package_url": "https://pypi.org/project/acdb/", "platform": "", "project_url": "https://pypi.org/project/acdb/", "project_urls": { "Homepage": "https://github.com/pydump/acdb" }, "release_url": "https://pypi.org/project/acdb/3.7.3/", "requires_dist": null, "requires_python": "", "summary": "Package acdb manages objects between memory and file system.", "version": "3.7.3" }, "last_serial": 5251192, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d0782d5d6fbb69ed340959f988fd4625", "sha256": "1268784254879410ac3ee162d9085a367daecb1e33f6417981e4d6683a32688e" }, "downloads": -1, "filename": "acdb-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d0782d5d6fbb69ed340959f988fd4625", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1759, "upload_time": "2018-08-21T08:12:07", "url": "https://files.pythonhosted.org/packages/11/33/6e583e406286e844b35d5ad86cdb47052dbad0d7db489750f734b00f7945/acdb-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "9f75b96ee9830f5182ca0e844b963e8a", "sha256": "d5cc0a99103d21407e1d10be63ad2101fac841a8832d709b0150458b7b808b58" }, "downloads": -1, "filename": "acdb-0.0.2.tar.gz", "has_sig": false, "md5_digest": "9f75b96ee9830f5182ca0e844b963e8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1837, "upload_time": "2018-08-21T12:56:31", "url": "https://files.pythonhosted.org/packages/ec/72/2151679bca8b95f446e0f8b746f9f5e2dccd8e1a5156226c567d155c6d42/acdb-0.0.2.tar.gz" } ], "3.7.3": [ { "comment_text": "", "digests": { "md5": "77236207b6ee9c7429f5129e6d0aa7d5", "sha256": "ad54107e1825b152799c8d96dba75bc6dc95087e96142d906de4c24241f164f3" }, "downloads": -1, "filename": "acdb-3.7.3.tar.gz", "has_sig": false, "md5_digest": "77236207b6ee9c7429f5129e6d0aa7d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2874, "upload_time": "2019-05-10T08:37:29", "url": "https://files.pythonhosted.org/packages/63/82/592649c4189240f87fa8fb2a0943e81fc0ee34ad4da2745e94e852455110/acdb-3.7.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "77236207b6ee9c7429f5129e6d0aa7d5", "sha256": "ad54107e1825b152799c8d96dba75bc6dc95087e96142d906de4c24241f164f3" }, "downloads": -1, "filename": "acdb-3.7.3.tar.gz", "has_sig": false, "md5_digest": "77236207b6ee9c7429f5129e6d0aa7d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2874, "upload_time": "2019-05-10T08:37:29", "url": "https://files.pythonhosted.org/packages/63/82/592649c4189240f87fa8fb2a0943e81fc0ee34ad4da2745e94e852455110/acdb-3.7.3.tar.gz" } ] }