Metadata-Version: 1.1
Name: pybitmap
Version: 0.0.3
Summary: 使用bitmap存储海量整型数据
Home-page: https://github.com/Alucardmini/basic_algrithms/blob/master/Bit_maps.py
Author: ghostcat_kun
Author-email: ghostcat_kun@163.com
License: UNKNOWN
Download-URL: https://github.com/Alucardmini/basic_algrithms/blob/master/Bit_maps.py
Description: ## pybitmap
        ### 安装:
            pip3 install pybitmap
        #### 使用方法:
            bit_map = Pybitmap(1000000) # 1000000为指定size 表示存储最大的元素
        #### 操作
            bit_map.add(32)  # 添加元素
            bit_map.remove(32)  # 删除元素
            print(list(bit_map.sequence(reverse=False)))  # 按序列输出元素, reverse 是否逆序
        
            #查找元素
            print(bit_map.query_value(43))
            返回: (False, 0, 43)
            False 表示不存在  (True 表示存在)
            0     表示应该存在的整型数字的序列
            43    整型数字中的位数
        
        
Keywords: bitmap,python,tool
Platform: UNKNOWN
