Skip to main content

Collection utils

Project description

List of collections similar to JAVA style collection for Python

Installation

$ pip install collection-pipelines

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

twine upload –repository-url https://test.pypi.org/legacy/ 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.5.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

collection_plus-0.0.5-py2.py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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