Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

Files for collection-plus, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size collection_plus-0.0.6-py2.py3-none-any.whl (4.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size collection-plus-0.0.6.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page