Skip to main content

Handle duplicate in python

Project description

Build Status Coverage Status Documentation Status

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.

Files for python-duplicate, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size python_duplicate-1.0.4-py2.py3-none-any.whl (8.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size python-duplicate-1.0.4.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page