semvec/pypi-packages huggingface dataset:
llama-index-vector-stores-alibabacloud-mysql 0.1.0
llama-index vector_stores alibabacloud-mysql integration
Requires Python: <4.0,>=3.9

# LlamaIndex Vector_Stores Integration: Alibaba Cloud MySQL

Alibaba Cloud MySQL supports vector search functionality. This package provides a vector store implementation that allows you to use Alibaba Cloud MySQL as a vector database in LlamaIndex.

## Installation

```shell
pip install llama-index-vector-stores-alibabacloud-mysql
```

## Usage

```python
from llama_index.vector_stores.alibabacloud_mysql import (
    AlibabaCloudMySQLVectorStore,
)

vector_store = AlibabaCloudMySQLVectorStore(
    host="your-instance-endpoint.mysql.rds.aliyuncs.com",
    port=3306,
    user="llamaindex",
    password="password",
    database="vectordb",
)
```

Or using the from_params class method:

```python
from llama_index.vector_stores.alibabacloud_mysql import (
    AlibabaCloudMySQLVectorStore,
)

vector_store = AlibabaCloudMySQLVectorStore.from_params(
    host="your-instance-endpoint.mysql.rds.aliyuncs.com",
    port=3306,
    user="llamaindex",
    password="password",
    database="vectordb",
)
```

## Features

- Full compatibility with Alibaba Cloud MySQL 8.0+
- Support for vector indexing and fast similarity search
- Filtering support with metadata queries
- Easy integration with LlamaIndex
- Uses mysql.connector for direct database connections
- Enhanced validation for vector function support

## Development

### Running Integration Tests

A suite of integration tests is available to verify the Alibaba Cloud MySQL vector store integration.
The test suite needs an Alibaba Cloud MySQL database with vector search support up and running. If not found, the tests are skipped.

```shell
pytest -v
```
pyramid-blacksmith 2.2.1
Pyramid Bindings for Blacksmith
Requires Python: <4.0,>=3.7

pyramid-blacksmith
==================

.. image:: https://github.com/mardiros/pyramid-blacksmith/actions/workflows/gh-pages.yml/badge.svg
   :target: https://mardiros.github.io/pyramid-blacksmith/
   :alt: Documentation

.. image:: https://github.com/mardiros/pyramid-blacksmith/actions/workflows/main.yml/badge.svg
   :target: https://github.com/mardiros/pyramid-blacksmith/actions/workflows/main.yml
   :alt: Continuous Integration

.. image:: https://codecov.io/gh/mardiros/pyramid-blacksmith/branch/main/graph/badge.svg?token=9IRABRO2LN
   :target: https://codecov.io/gh/mardiros/pyramid-blacksmith
   :alt: Coverage

Pyramid bindings for `Blacksmith`_ rest api client.


Introduction
------------

This plugin create a request proterty named ``blacksmith`` that bind
clients to do API Call using `Blacksmith`_.


Clients are configured via the pyramid configurator and its settings.

Then you can access the client factory behind a blacksmith property of
the request.


::

   def my_view(request):
      api_dummy = request.blacksmith.client("api_dummy")
      dummy = api_dummy.dummies.get({"name": "alice"})


In the example above, a dummy resource has been fetch using the service api_dummy.
The client method is a configured `Blacksmith Factory`_.

The configuration of the factory is simply made throw the pyramid configurator.

Go ahead and `get familiar with the documentation`_.


.. _`Blacksmith`: https://mardiros.github.io/blacksmith/index.html
.. _`Blacksmith Factory`: https://mardiros.github.io/blacksmith/user/instanciating_clients.html
.. _`get familiar with the documentation`: https://mardiros.github.io/blacksmith/index.html