semvec/pypi-packages huggingface dataset:
pyfof 0.1.5
Friends-of-friends cluster finding in python
License: MIT
Keywords: clustering,friends-of-friends

pyfof
=====

Friends of Friends cluster finding in python.

This implements the friends-of-friends algorithm to find clusters of points,
accelerated with an R*-tree.

## Requirements
 * c++11 complient compiler
 * [Cython](http://cython.org/) (for the development version only)
 * [numpy](http://www.numpy.org/)
 * [boost](http://www.boost.org/)

## Installation

If your boost installation is in a normal place you should just be able to install
the latest release of the package directly from PyPI

```pip install pyfof```

If that fails then you will need to tell pip where to find your boost include
directory. This can be done by creating a file in your home directory called
```.pydistutils.cfg``` containing:

```
[build_ext]
include_dirs=/path/to/boost/include/directory
```

and then running the above command.

## Examples

### Two Gaussian blobs

```python
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.cm as cm
import pyfof

npts = 10000
data = np.vstack((np.random.normal(-1,0.2,(npts/2,2)),\
                  np.random.normal(1,0.2,(npts/2,2))))

groups = pyfof.friends_of_friends(data, 0.4)

colors = cm.rainbow(np.linspace(0, 1, len(groups)))
for g,c in zip(groups, colors):
    plt.scatter(data[g,0], data[g,1], color=c, s=3)

plt.show()
```

![gaussian_example](/../screenshots/img/gaussian_example.png)

### A more complicated example

![stream_example](/../screenshots/img/stream_example.png)
monoclparse 0.0.2
Parse Monocl Excel business report documents and intersect them!
License: MIT
Keywords: monocl business report

# monoclparse

[![Testing Status](https://travis-ci.com/clintval/monoclparse.svg?branch=master)](https://travis-ci.com/github/clintval/monoclparse)
[![codecov](https://codecov.io/gh/clintval/monoclparse/branch/master/graph/badge.svg)](https://codecov.io/gh/clintval/monoclparse)
[![Documentation Build Status](https://readthedocs.org/projects/monoclparse/badge/?version=latest)](https://monoclparse.readthedocs.io/en/latest/?badge=latest)
[![PyPi Release](https://badge.fury.io/py/monoclparse.svg)](https://badge.fury.io/py/monoclparse)
[![Python Versions](https://img.shields.io/pypi/pyversions/monoclparse.svg)](https://pypi.python.org/pypi/monoclparse/)
[![MyPy Checked](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

Parse [Monocl](https://www.monocl.com/) Excel business report documents and intersect them!

```bash
❯ pip install monoclparse
```

Features:

- Read Monocl Excel reports into Pandas dataframes
- Intersect multiple Monocl reports
- Plot the intersection of Monocl reports

Read the documentation at: [monoclparse.readthedocs.io](http://monoclparse.readthedocs.io/)

```python
import monoclparse as mp
```