semvec/pypi-packages huggingface dataset:
PyMinHash 0.1.5
Efficient MinHashing
Requires Python: >=3.6.9

<!--- BADGES: START --->
[![Version](https://img.shields.io/pypi/v/pyminhash)](https://pypi.org/project/pyminhash/)
![](https://img.shields.io/github/license/fritshermans/pyminhash)
[![Downloads](https://pepy.tech/badge/pyminhash)](https://pepy.tech/project/pyminhash)
[![Conda - Platform](https://img.shields.io/conda/pn/conda-forge/pyminhash?logo=anaconda&style=flat)][#conda-forge-package]
[![Conda (channel only)](https://img.shields.io/conda/vn/conda-forge/pyminhash?logo=anaconda&style=flat&color=orange)][#conda-forge-package]
[![Conda Recipe](https://img.shields.io/static/v1?logo=conda-forge&style=flat&color=green&label=recipe&message=pyminhash)][#conda-forge-feedstock]
[![Docs - GitHub.io](https://img.shields.io/static/v1?logo=readthdocs&style=flat&color=pink&label=docs&message=pyminhash)][#docs-package]

[#pypi-package]: https://pypi.org/project/pyminhash/
[#conda-forge-package]: https://anaconda.org/conda-forge/pyminhash
[#conda-forge-feedstock]: https://github.com/conda-forge/pyminhash-feedstock
[#docs-package]: https://pyminhash.readthedocs.io/en/latest/
<!--- BADGES: END --->

# PyMinHash

MinHashing is a very efficient way of finding similar records in a dataset based on Jaccard similarity. PyMinHash
implements efficient minhashing for Pandas dataframes. See instructions below or look at the example notebook to get
started.

Developed by [Frits Hermans](https://www.linkedin.com/in/frits-hermans-data-scientist/)

## Documentation

Documentation can be found [here](https://pyminhash.readthedocs.io/en/latest/)

## Installation

### Normal installation
**Using PyPI**

```
pip install pyminhash
```

**Using conda**

```
conda install -c conda-forge pyminhash
```


### Install to contribute

Clone this Github repo and install in editable mode:

```
python -m pip install -e ".[dev]"
python setup.py develop
```

## Usage

Apply record matching to column `name` of your Pandas dataframe `df` as follows:

```python
myHasher = MinHash(n_hash_tables=10)
myHasher.fit_predict(df, 'name')
```

This will return the row pairs from `df` that have non-zero Jaccard similarity.
mext 2.0.10
A simple manga extractor. Extracts any comic info, chapter list and chapter pages. In development.
Requires Python: >=3.5

# MEXT - Manga/Manhua/Manhwa Extractor

A simple manga extractor. Extracts any comic info, chapter list and chapter pages. This is an app that strictly provides API.

This package uses multiple provider codes to extract manga/manhua/manhwa data from online sites.

The providers and it's usage is listed below.

It's easy to use from python code.

**Still in development.**

This has been tested only on Windows 11 64-bit.

## Requirements

- Node.js

## Installations

```bash
pip install mext
```

<!-- **Important: It's necessary to have a virtual or real display to run this for best results** -->

## Proxy

To use proxy IP's
```bash
export HTTP_PROXY='http://10.10.10.10:8000'
export HTTPS_PROXY='http://10.10.10.10:1212'
```

## Steps:
1. Import `Mext` like this
    ```python
    from mext import Mext
    ```

2. Get the URL of manga or chapter and pass it to `Mext`

    ```python
    site_url = 'xxx0'
    manga_url = 'xxx1'
    chapter_url = 'xxx2'

    # Initialize
    me = Mext()

    # To get manga
    manga = me.get_manga(manga_url)

    # To get manga list
    manga_list = me.get_manga_list(site_url)

    # To get one particular chapter
    chapter = me.get_chapter(chapter_url)

    # Pass manga url to get chapter list belonging to manga
    chapter_list = me.get_manga_chapters(manga_url)
    ```

## Providers

1. MangaDex
2. AsuraScans
3. MangaUpdates (In development)
3. ReaperScans (In development)
3. ManhuaPlus (In development)

...others coming soon

## Usage

Get Manga using Manga URL

```python
from mext import Mext

manga_url = 'https://mangadex.org/title/d1c0d3f9-f359-467c-8474-0b2ea8e06f3d/bocchi-sensei-teach-me-mangadex'

manga = me.get_manga(manga_url) # You'll get back a instance of Mext with Manga data
print(manga.to_dict())
```

Get Chapter using Chapter URL

```python
from mext import Mext

chapter_url = 'https://mangadex.org/chapter/e183d3f4-fde0-4288-a1ed-8547490f84b3'

chapter = me.get_chapter(chapter_url) # You'll get back a instance of Mext with Chapter data
print(chapter.to_dict())
```

Get Chapters List belonging to a manga using Manga URL
```python
from mext import Mext

manga_url = 'https://mangadex.org/title/f7972eed-0040-4aac-b8de-fc99c522c25a/anti-kissmanga-anthology'

chapter_list = me.get_manga_chapters(manga_url) # You'll get back a list of instances of Mext with a list of Chapter data
chapter_list = me.chapter_list
print(chapter_list.to_dict())
```

## Credits

Made using
- Mangadex API Documentation [Mangadex API](https://api.mangadex.org/docs/)
- Manga-py [manga-py](https://github.com/manga-py/manga-py)
- Mangadex API - [MangaDex.py](https://github.com/Proxymiity/MangaDex.py)

## Contributions
Ready for any genuine support and valid pull requests.