集合实用程序
collection-plus的Python项目详细描述
与Java样式的Python集合类似的集合列表
安装
$ pip install collection-plus
用法
fromcollectionimport*l=List()l.add(1)l.is_empty()vec=Vector()vec.add(1)stack=Stack()stack.push(1)stack.pop()item=stack.peek()queue=Queue()queue.offer(1)item=queue.peek()queue.poll()
建设项目
源发行版:python setup.py sdist 轮子分布:python setup.py bdist_wheel
分发
测试repo:tween upload–存储库urlhttps://test.pypi.org/legacy/dist/* 生产回购:捆绳上传距离/*