Metadata-Version: 2.4
Name: tarzi
Version: 0.0.15
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: maturin>=1.0,<2.0 ; extra == 'dev'
Requires-Dist: pytest>=6.0 ; extra == 'dev'
Requires-Dist: pytest-cov>=4.0 ; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.20.0 ; extra == 'dev'
Requires-Dist: patchelf>=0.15.0 ; extra == 'dev'
Requires-Dist: black>=22.0 ; extra == 'dev'
Requires-Dist: ruff>=0.1.0 ; extra == 'dev'
Requires-Dist: isort>=5.0 ; extra == 'dev'
Requires-Dist: autoflake>=2.0 ; extra == 'dev'
Requires-Dist: twine>=4.0.0 ; extra == 'dev'
Requires-Dist: build>=0.10.0 ; extra == 'dev'
Requires-Dist: sphinx>=6.0.0 ; extra == 'docs'
Requires-Dist: sphinx-copybutton>=0.5.2 ; extra == 'docs'
Requires-Dist: myst-parser>=2.0.0 ; extra == 'docs'
Requires-Dist: sphinx-tabs>=3.4.1 ; extra == 'docs'
Requires-Dist: sphinx-design>=0.5.0 ; extra == 'docs'
Requires-Dist: furo>=2023.9.10 ; extra == 'docs'
Requires-Dist: sphinx-autoapi>=3.0.0 ; extra == 'docs'
Provides-Extra: dev
Provides-Extra: docs
Summary: Rust-native lite search for AI applications
Keywords: web-scraping,search-engine,ai-tools,rust,browser-automation
Author: xmingc <chenxm35@gmail.com>
Author-email: xmingc <chenxm35@gmail.com>
Maintainer-email: xmingc <chenxm35@gmail.com>
License: Apache-2.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/mirasurf/tarzi
Project-URL: Documentation, https://tarzi.readthedocs.io/
Project-URL: Repository, https://github.com/mirasurf/tarzi
Project-URL: Bug Tracker, https://github.com/mirasurf/tarzi/issues

# Tarzi Library

This directory contains the core Tarzi library implementation in both Rust and Python.

## Structure

```
tarzi/
├── Cargo.toml          # Rust package configuration
├── pyproject.toml      # Python package configuration
├── README.md           # This file
├── Makefile            # Build and test commands
├── src/                # Rust source code
│   ├── lib.rs          # Library entry point
│   ├── main.rs         # Binary entry point
│   ├── config.rs       # Configuration management
│   ├── error.rs        # Error types
│   ├── constants.rs    # Constants and defaults
│   ├── utils.rs        # Utility functions
│   ├── converter.rs    # Data conversion utilities
│   ├── python.rs       # Python bindings
│   ├── search/         # Search engine implementations
│   └── fetcher/        # Web fetching implementations
└── python/             # Python package source
    └── tarzi/          # Python module
        ├── __init__.py # Module initialization
        └── __main__.py # CLI entry point
```

## Building

### Rust
```bash
# From tarzi subfolder
cargo build -p tarzi
cargo build --release -p tarzi
```

### Python
```bash
# From tarzi subfolder
maturin build --release
maturin develop --release
```

## Testing

### Rust
```bash
# From tarzi subfolder
cargo test -p tarzi
cargo test --test '*' --features test-helpers -p tarzi
```

### Python
```bash
# From tarzi subfolder
pytest tarzi/tests/python
```

## Development

This library is part of the main tarzi workspace. See the root README.md for complete development instructions. 
