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.

Source Distribution

collection-plus-0.0.6.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

collection_plus-0.0.6-py2.py3-none-any.whl (4.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file collection-plus-0.0.6.tar.gz.

File metadata

File hashes

Hashes for collection-plus-0.0.6.tar.gz
Algorithm Hash digest
SHA256 317a156e8c8643587dc96acf7fa783b8822645c68f101344ebfab2026cd1dc0a
MD5 18439ec6acc3b909a5c253e089aac056
BLAKE2b-256 819b65618e8d14f22e3e5de2991a6e15ba93afc7df4e23dfddf09d09b84cf6b3

See more details on using hashes here.

File details

Details for the file collection_plus-0.0.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for collection_plus-0.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a7a960636b80515e32d0241b0b53e02e7d795a3f48d80084cc00fa2d74ae4272
MD5 bcff54426dff844aeaae0c2df288374f
BLAKE2b-256 1f3bdce642f5502a834b177ed1b7491b00fd6b96dc5bbe9752ea548337061d43

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page