📦 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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kollektor-1.0.0.tar.gz.
File metadata
- Download URL: kollektor-1.0.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b8ba9553a48791ce4c32fe1938cd21d9ac61826e8d24a11bbfe021da194622a
|
|
| MD5 |
2364a85915b27465ea7d1ce2d20ea71c
|
|
| BLAKE2b-256 |
f8fd0fe26f02c034d49b258ab5050a49b95cfa242480d769732ad5f621115bff
|
File details
Details for the file kollektor-1.0.0-py3-none-any.whl.
File metadata
- Download URL: kollektor-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e86f926c7345a87bb79c6eaf4ae4020cceb2e925cdaa992d035f65372628b109
|
|
| MD5 |
7a03627522ce3a8e17972b8ff240507d
|
|
| BLAKE2b-256 |
27e7236facec3e79ad3c5502418fcc0c298dfcacb1825cddda53cf0746103e8a
|