Metadata-Version: 2.1
Name: auto-wrench
Version: 0.1.0
Summary: Automated registration package for urban sensor endpoints into metadata catalogs
Author-Email: Jeffrey Limnardy <jeffreylimnardy@yahoo.com>
License: MIT
Requires-Python: <4.0,>=3.12
Requires-Dist: pydantic<3.0.0,>=2.10.4
Requires-Dist: requests<3.0.0,>=2.32.3
Requires-Dist: ckanapi<5.0,>=4.8
Requires-Dist: python-dotenv>=1.0.1
Requires-Dist: geojson>=3.2.0
Requires-Dist: pyyaml>=6.0.0
Provides-Extra: teleclass
Requires-Dist: sentence-transformers>=3.3.1; extra == "teleclass"
Requires-Dist: networkx>=3.4.2; extra == "teleclass"
Requires-Dist: numpy>=2.2.1; extra == "teleclass"
Requires-Dist: ollama>=0.4.5; extra == "teleclass"
Requires-Dist: yake>=0.4.8; extra == "teleclass"
Requires-Dist: rank_bm25>=0.2.2; extra == "teleclass"
Provides-Extra: sensorthings
Requires-Dist: paho-mqtt>=2.1.0; extra == "sensorthings"
Description-Content-Type: text/markdown

# Wrench

[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A workflow framework for automated registration and enrichment of sensor metadata for IoT devices and sensors into data catalogs. Extract, process, and enrich metadata from various sensor data sources.

## Features

- 🔄 Automated metadata harvesting
- 📊 Standardized data models using Pydantic
- 🔍 Rich metadata extraction and enrichment
- 🏗️ Modular workflow architecture
- 🔌 Extensible harvester interfaces

## Installation

1. Clone the repository:

```bash
git clone https://github.com/yourusername/wrench.git #to be changed
cd wrench
```

2. Create and activate a virtual environment:

```bash
python -m venv env

# On Windows
env\Scripts\activate

# On Unix or MacOS
source env/bin/activate
```

3. Install dependencies:

```bash
pip install -r requirements.txt
```

## Project Structure

```bash
wrench/

```

## Usage

### Basic Example

### Translation Service

```python
from harvester.frost import FrostTranslationService

# Initialize translation service
translator = FrostTranslationService(url="https://translate-service.example.com")

# Translate metadata
translated_thing = translator.translate(thing)
```

## Configuration

The system can be configured through environment variables:

```bash
FROST_BASE_URL=https://frost-server.example.com
TRANSLATION_SERVICE_URL=https://translate-service.example.com
LOG_LEVEL=INFO
```

## Development

### Setting up the Development Environment

### Code Style

This project follows the Black code style. Format your code using:

```bash
black .
```

## Documentation

Detailed documentation is available in the `docs/` directory:

- [API Reference](docs/api/README.md)
- [Architecture Overview](docs/architecture/README.md)
- [Deployment Guide](docs/deployment/README.md)

## Contributing

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Acknowledgments

- FROST-Server community for their excellent API documentation
- LibreTranslate for translation services
- Pydantic team for their data validation library

---

## Support

For support, please:

- Open an issue in the GitHub repository
- Check the [documentation](docs/README.md)
- Contact the development team
