Metadata-Version: 2.1
Name: texture-viz
Version: 0.0.2
Summary: Process and profile text datasets interactively
Home-page: https://github.com/cmudig/Texture
Keywords: text,nlp,data profiling,llm
Author: Will Epperson
Author-email: willepp@live.com
Requires-Python: ==3.10.*
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: duckdb (>=0.9.2,<0.10.0)
Requires-Dist: fastapi (>=0.104.1,<0.105.0)
Requires-Dist: lancedb (>=0.5.1,<0.6.0)
Requires-Dist: nltk (>=3.8.1,<4.0.0)
Requires-Dist: openai (>=1.20.0,<2.0.0)
Requires-Dist: orjson (>=3.9.10,<4.0.0)
Requires-Dist: pandas (>=2.1.0,<3.0.0)
Requires-Dist: pyarrow (>=14.0.1,<15.0.0)
Requires-Dist: pydantic (>=2.5.2,<3.0.0)
Requires-Dist: pyod (>=1.1.0,<2.0.0)
Requires-Dist: python-multipart (>=0.0.6,<0.0.7)
Requires-Dist: sentence-transformers (>=2.2.2,<3.0.0)
Requires-Dist: tiktoken (>=0.5.2,<0.6.0)
Requires-Dist: torch (>=2.1.1,<3.0.0)
Requires-Dist: umap-learn (>=0.5.5,<0.6.0)
Requires-Dist: uvicorn[standard] (>=0.24.0.post1,<0.25.0)
Project-URL: Repository, https://github.com/cmudig/Texture
Description-Content-Type: text/markdown

# Texture: Structured Text Analytics

Texture is a system for exploring and creating structured insights with your text datasets.

1. Texture visualizes structured attributes alongside your text datasets in interactive, cross-filterable charts.
2. Attribute charts can come from any level of a document such as words, sentences, or documents.
3. Texture helps you derive new attributes during analysis with code and LLM transformations.

![screenshot of Texture interface](.github/screenshots/texture_sc.png)

## Installation

Pip installation coming soon!

```python
import texture

texture.run(df) # launch texture app

```

## Dev install

tl;dr below, see [DEV.md](DEV.md) for more details about dev workflows and setup.

If using VSCode (recommended), launching the servers below is configured as a build task you can launch with `Cmd+Shift+P` > `Tasks: Run Build Task` > `Launch Texture`; otherwise you can launch manually:

Terminal 1: Backend python server

```bash
poetry run run_server
```

Terminal 2: frontend svelte UI

```bash
cd texturefrontend
npm run dev
```

