📦 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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for kollektor-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e86f926c7345a87bb79c6eaf4ae4020cceb2e925cdaa992d035f65372628b109 |
|
MD5 | 7a03627522ce3a8e17972b8ff240507d |
|
BLAKE2b-256 | 27e7236facec3e79ad3c5502418fcc0c298dfcacb1825cddda53cf0746103e8a |