Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jmsv/listset

remove duplicates from lists
https://github.com/jmsv/listset

duplicates list listset set

Last synced: 20 days ago
JSON representation

remove duplicates from lists

Awesome Lists containing this project

README

        

# listset

remove duplicates from lists

[![PyPI version](https://badge.fury.io/py/listset.svg)](https://badge.fury.io/py/listset)
[![Python versions](https://img.shields.io/pypi/pyversions/listset.svg)](https://pypi.python.org/pypi/listset)
[![Wheel Support](https://img.shields.io/pypi/wheel/listset.svg)](https://pypi.python.org/pypi/listset)
[![Downloads](https://img.shields.io/badge/dynamic/json.svg?url=https://pypistats.org/api/packages/listset/recent?mirrors=false&label=downloads&query=$.data.last_month&suffix=/month)](https://pypistats.org/packages/listset)

## Getting Started

### Install

```bash
pip install listset
```

### Import and Use

```python
>>> from listset import listset

>>> listset([1, 2, 3, 4, 4, 4])
[1, 2, 3, 4]

>>> listset(['apple', 'orange', 'banana', 'apple', 'apple'])
['apple', 'orange', 'banana']
```

the possibilities are endless :cactus: