---
title: TextGraphs
emoji: ✴
colorFrom: green
colorTo: gray
sdk: streamlit
sdk_version: 1.28.2
app_file: app.py
pinned: false
license: mit
---
# TextGraphs
[](https://zenodo.org/doi/10.5281/zenodo.10431783)

[](http://mypy-lang.org/)




## project info
Project home:
Full documentation:
Sample code is provided in `demo.py`
## requirements
* Python 3.10+
## deploy library from PyPi
Prepare the virtual environment:
```bash
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -U pip wheel setuptools
```
Install from [PyPi](https://pypi.python.org/pypi/textgraphs):
```bash
python3 -m pip install -U textgraphs
```
## run demos locally
```bash
python3 demo.py
```
```bash
streamlit run app.py
```
## install library from source locally
```bash
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -U pip wheel setuptools
python3 -m pip install -e .
```
To run the Streamlit or JupyterLab demos, also install:
```bash
python3 -m pip install -r requirements-dev.txt
```
## license and copyright
Source code for **TextGraphs** plus its logo, documentation, and
examples have an [MIT license](https://spdx.org/licenses/MIT.html)
which is succinct and simplifies use in commercial applications.
All materials herein are Copyright © 2023-2024 Derwen, Inc.
## attribution
Please use the following BibTeX entry for citing **TextGraphs** if you
use it in your research or software:
```bibtex
@software{TextGraphs,
author = {Paco Nathan},
title = {{TextGraphs + LLMs + graph ML for entity extraction, linking, ranking, and constructing a lemma graph}},
year = 2023,
publisher = {Derwen},
doi = {10.5281/zenodo.10431783},
url = {https://github.com/DerwenAI/textgraphs}
}
```
## star history
[](https://star-history.com/#derwenai/textgraphs&Date)