{ "info": { "author": "ghostcat_kun", "author_email": "ghostcat_kun@163.com", "bugtrack_url": null, "classifiers": [], "description": "## pybitmap\n### \u5b89\u88c5:\n pip3 install pybitmap\n#### \u4f7f\u7528\u65b9\u6cd5:\n bit_map = Pybitmap(1000000) # 1000000\u4e3a\u6307\u5b9asize \u8868\u793a\u5b58\u50a8\u6700\u5927\u7684\u5143\u7d20\n#### \u64cd\u4f5c\n bit_map.add(32) # \u6dfb\u52a0\u5143\u7d20\n bit_map.remove(32) # \u5220\u9664\u5143\u7d20\n print(list(bit_map.sequence(reverse=False))) # \u6309\u5e8f\u5217\u8f93\u51fa\u5143\u7d20, reverse \u662f\u5426\u9006\u5e8f\n\n #\u67e5\u627e\u5143\u7d20\n print(bit_map.query_value(43))\n \u8fd4\u56de: (False, 0, 43)\n False \u8868\u793a\u4e0d\u5b58\u5728 (True \u8868\u793a\u5b58\u5728)\n 0 \u8868\u793a\u5e94\u8be5\u5b58\u5728\u7684\u6574\u578b\u6570\u5b57\u7684\u5e8f\u5217\n 43 \u6574\u578b\u6570\u5b57\u4e2d\u7684\u4f4d\u6570\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/Alucardmini/basic_algrithms/blob/master/Bit_maps.py", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Alucardmini/basic_algrithms/blob/master/Bit_maps.py", "keywords": "bitmap", "license": "", "maintainer": "", "maintainer_email": "", "name": "pybitmap", "package_url": "https://pypi.org/project/pybitmap/", "platform": "", "project_url": "https://pypi.org/project/pybitmap/", "project_urls": { "Download": "https://github.com/Alucardmini/basic_algrithms/blob/master/Bit_maps.py", "Homepage": "https://github.com/Alucardmini/basic_algrithms/blob/master/Bit_maps.py" }, "release_url": "https://pypi.org/project/pybitmap/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "\u4f7f\u7528bitmap\u5b58\u50a8\u6d77\u91cf\u6574\u578b\u6570\u636e", "version": "0.0.3" }, "last_serial": 4675229, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "8b2c7f9ad15bcb701c01cb999cf9151b", "sha256": "7de6d39f524560804f47d4b13ae86a6796bd3771c6cd724f81e5b4716d83d25c" }, "downloads": -1, "filename": "pybitmap-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8b2c7f9ad15bcb701c01cb999cf9151b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1962, "upload_time": "2019-01-02T06:10:04", "url": "https://files.pythonhosted.org/packages/7b/8d/03d02d52427b2eef67a512066b5ce6964fb355e1e7d1e0ef7e4ba87ec21f/pybitmap-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a6558895241b31b73977d874733a893b", "sha256": "af83ae3fed9f953efe0300c4ef1a1faa76c8e4635b8652ece045397493a84162" }, "downloads": -1, "filename": "pybitmap-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a6558895241b31b73977d874733a893b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1964, "upload_time": "2019-01-02T06:36:11", "url": "https://files.pythonhosted.org/packages/34/52/bce99c26d7e7a51d3d61171e759f29bea36745a7875f49f8898868a244a3/pybitmap-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "578fcc502a5e1bf3f6b66cd2025ee48c", "sha256": "7057e3d46b0cbc2f283e92eb20e0c7ab8bb431534e6806779579178d44337fc7" }, "downloads": -1, "filename": "pybitmap-0.0.3.tar.gz", "has_sig": false, "md5_digest": "578fcc502a5e1bf3f6b66cd2025ee48c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2400, "upload_time": "2019-01-09T03:35:43", "url": "https://files.pythonhosted.org/packages/aa/5b/5ceb8eb8afbf223eac7d2fad3842f9a3870dbbc2886fdb68b52d74a44bbd/pybitmap-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "578fcc502a5e1bf3f6b66cd2025ee48c", "sha256": "7057e3d46b0cbc2f283e92eb20e0c7ab8bb431534e6806779579178d44337fc7" }, "downloads": -1, "filename": "pybitmap-0.0.3.tar.gz", "has_sig": false, "md5_digest": "578fcc502a5e1bf3f6b66cd2025ee48c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2400, "upload_time": "2019-01-09T03:35:43", "url": "https://files.pythonhosted.org/packages/aa/5b/5ceb8eb8afbf223eac7d2fad3842f9a3870dbbc2886fdb68b52d74a44bbd/pybitmap-0.0.3.tar.gz" } ] }