Metadata-Version: 2.1
Name: iscc-index
Version: 1.1.0b5
Summary: ISCC Index - Nearest Neighbor Search
Home-page: https://iscc.codes/
Author: Titusz Pan
Author-email: tp@py7.de
Requires-Python: >=3.6.1,<3.10
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: fastapi (>=0.63.0,<0.64.0)
Requires-Dist: iscc (>=1.1.0b5,<2.0.0)
Requires-Dist: uvicorn (>=0.13.4,<0.14.0)
Description-Content-Type: text/markdown

# iscc-index - ISCC Nearest Neighbor Search

> A REST OpenAPI Backend for indexing [**ISCC codes**](https://iscc.codes) for digital media files.


The Webservice is build with [FastAPI](https://github.com/tiangolo/fastapi) and makes
use of the [ISCC reference implementation](<https://github.com/iscc/iscc-specs>).
It includes an interactive API documentation:

![Interactive ISCC Api Docs](screenshot.jpg)


The Docker image is published at https://hub.docker.com/r/titusz/iscc-index


## Install via pip

```bash
$ pip3 install iscc-index
```

Start webservice via uvicorn

```bash
$ iscc-index
INFO:     Started server process [18800]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:8090 (Press CTRL+C to quit)
```

## Setup for development

If you are using [poetry](https://python-poetry.org/):

- After checkout cd into code directory and run 'poetry install' to install dependencies.
- Launch dev server with: 'uvicorn iscc_index.main:app --reload' or 'icscc-index'
- See API docs at: http://127.0.0.1:8090


## License

MIT © 2021 Titusz Pan

