Handle duplicate in python
Project description
The python-duplicate library intend to find and deal with duplicate. Depending on what you need, it can:
- Find and return the unique or duplicate items* of a list
- Create a new list of unique items* from a list
- Find and return the indexes of said items* (act as a feedback)
- Find the rows (or just PK) of unique or duplicate column for MySQL 8 and PosgreSQL 10
*items can be a list, tuple, dict, number or string
Upcoming improvements
In the future I intend to add support for:
- JSON
- Other type of item for list (Object class for example)
- Handle suppression of duplicate for MySQL and PostgreSQL
- Handle research of unique / duplicate on more than one table / column / pk
- Support more version of MySQL and Postgres
- Support more database type
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
python-duplicate-1.0.2.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for python_duplicate-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a9b974a8f1290cf5c17cef95a40179749aafa48c372d1eedc60dfe450916b73 |
|
MD5 | 8d35a77d5e4cb107d0fe3462fafd4a78 |
|
BLAKE2b-256 | 68e43e8b714c9e6f54f6d5ec24b4136f6e305c0bd0f00a9f7c77f8694188c708 |