Skip to main content

📦 Collection utility for Python.

Project description

Kollektor

Collection utility for Python.

This project is a part of Krema.


Documentation

Check https://kremayard.github.io/kollektor/

Installation

Run pip install kollektor and you are ready to go!

Example

import kollektor

collection = kollektor.Kollektor(limit=5, items=())

# Print Collection Length
print(collection.length)

# Add New Objects to the Collection
collection.append(1, 5, 6)

# Remove Object from Collection.
collection.remove(2)

# Print First & Last Object.
print(collection.first())
print(collection.last())

# Get all Items in the Collection
print(collection.items)

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

kollektor-1.0.0.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

kollektor-1.0.0-py3-none-any.whl (4.0 kB view hashes)

Uploaded 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