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.
Source Distribution
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 gatherunique-0.1.0.tar.gz.
File metadata
- Download URL: gatherunique-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
346ccef93df75f36ec4e16e212b6c10a057bac341a55c8e52be7c8f9daee2350
|
|
| MD5 |
c8d47d6191e9d7f5f129d0f3dde1fe9f
|
|
| BLAKE2b-256 |
fbff41ce5ebd2f240dcad900d1b4889e933b01276efbccfcb9ed72081024ca70
|
File details
Details for the file gatherunique-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gatherunique-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fa9654df566950b9af94bcc00ed125a13bf4a21d85442c8b5cb6bf2b236a2d4
|
|
| MD5 |
1a870bdc16ce043fffaa99fb0c8a2c4f
|
|
| BLAKE2b-256 |
bcbabb1cec148d0ce55538a2e6eeacfde1bf0ec03bd14bf25b7d71254f711b80
|