Simple, unique list gatherer, with *args for passable blacklist check and optional list_in for automated sorting against blacklist/s
Project description
Gather Unique
Simple, unique list gatherer, with *args for passable blacklist check and optional list_in for automated sorting against blacklist/s
Installation
pip install gather_unique
Usage
from gatherunique import GatherUnique gather = GatherUnique() head = "Header to display" # Unique list from stdin, no header uniq1 = gather.run() # Unique list from stdin, with provided blacklist and header uniq2 = gather.run(['1', '2', '3', '4', '5'], header=head ) # Unique list from list_in= against provided blacklist uniq3 = gather.run(['1', '2', '3', '4', '5'], list_in=['6', '6', '1', '2'])
Note that args are considered blacklists by default. Use 'header=' and 'list_in=' to differentiate
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size gatherunique-0.1.0-py3-none-any.whl (3.3 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size gatherunique-0.1.0.tar.gz (2.1 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for gatherunique-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fa9654df566950b9af94bcc00ed125a13bf4a21d85442c8b5cb6bf2b236a2d4 |
|
MD5 | 1a870bdc16ce043fffaa99fb0c8a2c4f |
|
BLAKE2-256 | bcbabb1cec148d0ce55538a2e6eeacfde1bf0ec03bd14bf25b7d71254f711b80 |