Skip to main content

Collection utils

Project description

List of collections similar to JAVA style collection for Python

Installation

$ pip install collection-plus

Usage

from collection import *

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()

Build Project

source distribution: python setup.py sdist wheel distribution: python setup.py bdist_wheel

Distribute

test repo: twine upload –repository-url https://test.pypi.org/legacy/ dist/* prod repo: twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
collection_plus-0.0.6-py2.py3-none-any.whl (4.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3
collection-plus-0.0.6.tar.gz (2.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page