semvec/pypi-packages huggingface dataset:
sqlagent2 1.1.0
SQL agent, query your database
Requires Python: <3.13,>=3.10

# SQL Agent Library

## Overview

The SQL Agent Library allows users to interact with SQL databases using natural human language. With this library, users can simply describe what data they want to retrieve or manipulate, and the library will convert these descriptions into precise SQL queries and execute them. This simplifies database interactions for those who may not be familiar with SQL syntax but need to access and manage data.

## Features

- **Natural Language Processing**: Convert human language queries into SQL statements.
- **Database Agnostic**: Works with various SQL databases (MySQL, PostgreSQL, SQLite, etc.).
- **Ease of Use**: Simple input-output mechanism to facilitate quick querying.
- **Flexibility**: Handles a variety of query types including SELECT, INSERT, UPDATE, and DELETE.

## Installation

To install the SQL Agent Library, use pip:

```bash
pip install sqlagent
```

## Usage

Here's a quick example to get you started:

### Step 1: Initiate instance

```python
# Create an instance of the SQLAgent
from sqlagent.agent import SQLAgent
agent = SQLAgent(db_connection_string="your_database_connection_string")
```

### Step 2: Query the Database

```python
await agent.arun("how many tables are there in my db ?")
```

## Configuration

You can configure the SQL Agent Library to connect to your specific database by providing the appropriate connection string during initialization.
it's utilizing sqlachemy under the hood

## Supported Databases

- MySQL
- PostgreSQL
- SQLite

## Contributing

Contributions are welcome! Please read the [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on how to contribute to this project.

## License

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

## Acknowledgements

We'd like to thank all contributors and supporters of this project. Your efforts help make database interactions simpler for everyone.

## Contact

For any questions or issues, please open an issue on GitHub or contact us at vikyw89@gmail.com.
moveread-labels 0.1.4
Annotating and exporting labels
Requires Python: >=3.10

# Moveread Labels

> Annotating and exporting labels

## Usage

```python
import moveread.labels as lab

ann = lab.Annotations(language='DE', styles=lab.StylesNA(pawn_capture='de', piece_capture='NxN'))
lab.export(['e4', 'e5', 'Nf3', 'Nc6', 'd4', 'exd4', 'Nxd4', 'Nf6', 'Nxc6', 'bxc6'], ann)
# Right(value=['e4', 'e5', 'Sf3', 'Sc6', 'd4', 'ed', 'SxB', 'Sf6', 'SxS', 'bc'])

lab.export(['e4', 'e4'], ann)
# Left(value=IllegalMoveError("illegal san: 'e4' in rnbqkbnr/[...]"))
```