portion:部分,Python库提供间隔的数据结构和操作

时间:2021-05-13 11:55:15
【文件属性】:
文件名称:portion:部分,Python库提供间隔的数据结构和操作
文件大小:47KB
文件格式:ZIP
更新时间:2021-05-13 11:55:15
python dictionary operations interval datastructure 部分-间隔的数据结构和操作 portion库(以前以python-intervals分发)提供了Python 3.6+中间隔的数据结构和操作。 任何(可比较)对象的支持间隔。 封闭或开放,有限或(半)无限间隔。 支持间隔集(原子间隔的并集)。 自动简化间隔。 支持比较,转换,相交,并集,互补,差异和包容。 提供空度,原子性,重叠和邻接的测试。 间隔值的离散迭代。 类似Dict的结构,可将间隔映射到数据。 将间隔导入和导出到字符串和Python内置数据类型。 经过严格测试,具有较高的代码覆盖率。 最新发布: portion :2.1.6于2021-04-17(,)。 python-intervals :2019年9月26日的1.10.0(,)。 需要注意的是python-intervals将不再接收更新,因为它已被取代的portion 。 目录 比较运算符 间隔
【文件预览】:
portion-master
----portion()
--------const.py(2KB)
--------interval.py(21KB)
--------io.py(7KB)
--------func.py(2KB)
--------__init__.py(538B)
--------dict.py(11KB)
----.travis.yml(682B)
----poetry.lock(32KB)
----pyproject.toml(1KB)
----tests()
--------test_dict.py(10KB)
--------test_const.py(2KB)
--------test_io.py(8KB)
--------__init__.py(0B)
--------test_interval.py(30KB)
--------test_func.py(2KB)
--------test_doc.py(564B)
----.gitignore(103B)
----CHANGELOG.md(9KB)
----README.md(27KB)
----LICENSE.txt(7KB)
----.pre-commit-config.yaml(532B)

网友评论