Ryoma
Ryoma lib is the core component of the project which includes:
- Data Sources that can be used to fetch data from different sources
- Agents that can be used to process data with AI models
- Tools that can be used by agent to process data
Installation
Basic Installation
pip install ryoma_ai
Installing with Optional Dependencies
Ryoma AI uses lazy imports for datasource dependencies, so you only need to install the dependencies for the datasources you plan to use:
# For PostgreSQL support
pip install ryoma_ai[postgres]
# For MySQL support
pip install ryoma_ai[mysql]
# For Snowflake support
pip install ryoma_ai[snowflake]
# For BigQuery support
pip install ryoma_ai[bigquery]
# For DuckDB support
pip install ryoma_ai[duckdb]
# For DynamoDB support
pip install ryoma_ai[dynamodb]
# For Apache Iceberg support
pip install ryoma_ai[iceberg]
# For PySpark support
pip install ryoma_ai[pyspark]
# Multiple datasources
pip install ryoma_ai[postgres,mysql,duckdb]
Usage
from ryoma_ai.datasource.postgres import PostgresDataSource
from ryoma_ai.agent.sql import SqlAgent
datasource = PostgresDataSource("postgresql://user:password@localhost/db")
sql_agent = SqlAgent("gpt-3.5-turbo").add_datasource(datasource)
sql_agent.stream("Get the top 10 rows from the data source")
Documentation
Visit the documentation for more information.
Metadata
Release files for ryoma-ai 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ryoma_ai-0.1.5.tar.gz | 163.6 kB | Without provenance | Details for ryoma_ai-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ryoma_ai-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for ryoma_ai-0.1.5-py3-none-any.whl |
Total release size: 340.7 kB
Release files / ryoma_ai-0.1.5.tar.gz
| Download URL | ryoma_ai-0.1.5.tar.gz |
|---|---|
| Size | 163.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09ef9e69bd130eff656a37b3b565ce857a12bad1e3f9a404ce3fe46e0db194c6
|
|
BLAKE2b-256 checksum How to use checksums |
ed062d27061062d82f08a2c622693e6965aa79da484177eec4f3e17faeaf6b6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Release files / ryoma_ai-0.1.5-py3-none-any.whl
| Download URL | ryoma_ai-0.1.5-py3-none-any.whl |
|---|---|
| Size | 177.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14302f142f547ebabf22e0cf2161bc432907415420c60b01d5d3a0cddf5af5b6
|
|
BLAKE2b-256 checksum How to use checksums |
40be60a2df287c7f5be065b9f081599f11ed797a35c3f7a99f9da977a92f87a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Security for ryoma-ai 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.