semvec/pypi-packages huggingface dataset:
loci 0.1.0
Implementation of the LOCI outlier detection algorithm in Python
License: MIT

This is an implementation of the **LOCI** (local correlation integral) fast outlier detection algorithm in Python, based on the paper:  
Papadimitriou, S., Kitagawa, H., Gibbons, P.B. and Faloutsos, C., 2003, March. *Loci: Fast outlier detection using the local correlation integral*. In Data Engineering, 2003. Proceedings. 19th International Conference on (pp. 315-326). IEEE.

This is an initial first attempt implementation, it is functional (I think) however performance is very limited.


##### Installation

```bash
pip install loci
```

##### Dependencies

- Scipy, Numpy
- Python version 3.6 (probably works with 3.x, not tested though)

##### Example

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

from loci.loci import run_loci

data = np.concatenate((np.array([(10, 10), ]), np.random.normal(50, 10, (200, 2))))

loci_res = run_loci(data)
outlier_indices = loci_res.outlier_indices

plt.scatter(data[:, 0], data[:, 1])
plt.scatter(data[outlier_indices, 0], data[outlier_indices, 1], c='r')
plt.show()
```
pystrin 0.0.6
A small Python package used for string interpolation
License: MIT

# pystrin
A small Python library for string interpolation.

### Usage
Use the `f` method on a string with a literal for string interpolation. Use `printf` instead to directly print the result. An example is:
```
name = 'campoe'
printf('Hello {name}')

# --- Output ---
# Hello campoe
```

In fact, it can be used with any expression:
```
x = 3
printf('5 * {x} = {5 * x}')

# --- Output ---
# 5 * 3 = 15
```
NURBS-Python 3.9.0
NURBS curve and surface evaluation library in pure python
License: MIT
Keywords: NURBS B-Spline curve surface CAD modeling visualization

NURBS-Python
^^^^^^^^^^^^

Starting from v3.9.0, this package works as the alias for `geomdl <https://pypi.org/project/geomdl/>`_ package.
**geomdl** is the next version of NURBS-Python with a number of improved features.
You can also use **geomdl** with the command line tool `geomdl-cli <https://pypi.org/project/geomdl.cli/>`_.
Please see the `documentation <https://nurbs-python.readthedocs.io/>`_ for more details.
incremental-counter 0.1.3
Incremental Counter
License: MIT
Keywords: sensor,IoT

# incremental-counter
Incremental Counter

```python:
>>> from incremental_counter import Counter
>>> c = Counter("/tmp/counter.txt")
>>> c.current()
0
>>> c.inc()
1
>>> c.inc()
2
>>> c.reset()
0
>>> c.set(3)
3
>>> c.dec()
2
>>> c.dec()
1
>>> c.dec()
0
>>> c.dec()
0
>>> c.dec()
0
```

## history
- 0.1.1  2018.11.03  first version
- 0.1.3  2018.11.07  remove redundant class