sqlalchemy-altibase7
- Altibase support for SQLAlchemy implemented as an external dialect.
- It is tested on Altibase v7.
- This source code is maintained on https://github.com/hesslee/sqlalchemy-altibase7
- This source code is based on https://pypi.org/project/sqlalchemy-altibase
- This package is uploaded on https://pypi.org/project/sqlalchemy-altibase7
Changes from sqlalchemy-altibase
- It is mainly supplemented for langchain connectivity.
- sqlalchemy version upper limit requirement is removed.
Prereqisite
- Download and install Altibase server and client from http://support.altibase.com/en/product
- Unixodbc setting for Linux
- ODBC DSN setting for Windows
Unixodbc setting example for Linux
- install : sudo apt-get install unixodbc-dev
- example configuration :
$ cat /etc/odbc.ini
[PYODBC]
Driver = /home/hess/work/altidev4/altibase_home/lib/libaltibase_odbc-64bit-ul64.so
Database = mydb
ServerType = Altibase
Server = 127.0.0.1
Port = 21121
UserName = SYS
Password = MANAGER
FetchBuffersize = 64
ReadOnly = no
$ cat /etc/odbcinst.ini
[ODBC]
Trace=Yes
TraceFile=/tmp/odbc_trace.log
ODBC DSN setting example for Windows
- Altibase Windows ODBC driver is registered during Altibase Windows client installation procedure.
- Add a ODBC DSN for Altibase.
- example configuration :
[Altibase Connection Config]
Windows DSN Name: PYODBC
host(name or IP): 192.168.1.210
Port(default 20300): 21121
User: SYS
Password: MANAGER
Database: mydb
NLS_USE: UTF-8
sqlalchemy-altibase7 using langchain
- install : pip install sqlalchemy-altibase7
- reference : https://python.langchain.com/v0.1/docs/use_cases/sql/
- test preparation : Populate sample data into Altibase database using "test/Chinook_Altibase.sql" file in this repository.
- test programs
- langchain_chain.py : using chain
- langchain_agent.py : using sql agent
Metadata
Release files for sqlalchemy-altibase7 0.0.6
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 | |
|---|---|---|---|---|
| sqlalchemy_altibase7-0.0.6.tar.gz | 15.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sqlalchemy_altibase7-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.9 kB
Release files / sqlalchemy_altibase7-0.0.6.tar.gz
| Download URL | sqlalchemy_altibase7-0.0.6.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a77e9556c8f794aac2c790027fb942c1311e38caa5559fa368d507787b0a00dd
|
|
BLAKE2b-256 checksum How to use checksums |
ac6503f9dd70a5fef23f5aa14f48f0ea6da57dc4a7e3e5e9f9438f71f16f57f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / sqlalchemy_altibase7-0.0.6-py3-none-any.whl
| Download URL | sqlalchemy_altibase7-0.0.6-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
abe886bb0188be041e50440adef1452e2660cf8108949b5925819cfcb1eaebbe
|
|
BLAKE2b-256 checksum How to use checksums |
4845e2ed26741b953957035ed104ddded7fd67788f91c8670b92381364941e56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for sqlalchemy-altibase7 0.0.6
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.