Metadata-Version: 2.4
Name: datui
Version: 0.4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering
Requires-Dist: polars>=1.38
Requires-Dist: pytest>=9.1.1 ; extra == 'dev'
Provides-Extra: dev
License-File: LICENSE
Summary: Explore tabular data in your terminal: Parquet, CSV, JSON and more
Keywords: datui,data,polars,tui,dataframe,eda,tables
Author: Derek Wisong
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Changelog, https://github.com/derekwisong/datui/releases
Project-URL: Documentation, https://derekwisong.github.io/datui/
Project-URL: Repository, https://github.com/derekwisong/datui

# datui

Explore Polars DataFrames, files and URLs in the terminal.

```bash,install
pip install datui
```

The package installs the `datui` command and the `datui` module.

```python,network
import polars as pl
import datui

url = "https://vincentarelbundock.github.io/Rdatasets/csv/palmerpenguins/penguins.csv"
datui.view(pl.scan_csv(url))           # a LazyFrame, a DataFrame, a path or a URL

result = datui.view(pl.scan_csv(url), capture=True)
if result is not None:
    print(result.collect())            # the query, filters and sort you left on screen
```

Press `q` or `Ctrl+Q` to return to Python. With `capture=True`, `view()` returns
the final view as a LazyFrame, or `None` when no dataset was open.

[Python API](https://derekwisong.github.io/datui/latest/reference/python-api.html) ·
[Documentation](https://derekwisong.github.io/datui/latest/) ·
`datui --help` for the command line.

