7 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.
cubrid_db
Overview
cubrid_db is a Python package that implements Python Database API 2.0, for the CUBRID DBMS.
In addition to the minimal feature set of the standard Python DB API, cubrid_db API also exposes nearly the entire native client API of the database engine in the _cubrid package.
Project URL
- Project Home: https://github.com/zimbrul-co/cubrid_db
Dependencies
- CUBRID >=10.1 (prepared for 11.2 by default)
- OS
- Linux (64bit)
- Other Unix and Unix-like os
- Windows (x86 and x86_64) (not tested yet)
- Python: Python >=3.9
- Compiler:
- GNU Developer Toolset 6 or higher
- CMake
- Bash
- Visual Studio 2015 (for Windows)
Build instructions
Clone the repository:
$ git clone --recursive git@github.com:zimbrul-co/cubrid_db.git
Enter the package root directory:
$ cd cubrid_db
If your CUBRID version is different from 11.2, enter the cci-src directory and change the CCI version to match your CUBRID version:
$ cd cci-src
$ git tag -l
v10.1
v10.2
v10.2.1
v10.2.3
v11.0
v11.0.1
v11.1.0.0013
v11.2.0.0029
$ git checkout v11.2.0.0029 # replace this with the required version
$ cd ..
Note: As of 23 February 2024, CUBRID 11.3 is not present in cci-src tags.
Build:
$ python setup.py build
Note: CCI is built first, from cci-src. Note: Older CCI versions use automake/autoconf, newer version use CMake.
Install:
$ sudo python setup.py install # (Windows: python setup.py install)
Sample usage
Prepare virtual environment:
$ python -m venv venv
$ source venv/bin/activate
(venv) $ pip install -e .
Start demodb from the CUBRID distribution:
$ cubrid service start
$ cubrid server start demodb
Sample Python script:
import cubrid_db
con = cubrid_db.connect(
dsn = 'CUBRID:localhost:33000:demodb:::',
user = 'public',
)
cur = con.cursor()
cur.execute('CREATE TABLE test_cubrid (id NUMERIC AUTO_INCREMENT, name STRING)')
cur.execute("insert into test_cubrid (name) values (?)", ['Tom',])
cur.execute('select * from test_cubrid')
cur.fetchall()
cur.close()
con.close()
Testing
Make sure you are in the virtual environment. Install the testing requirements and run pytest.
(venv) $ pip install -r tests/requirements.txt
(venv) $ pytest
Django CUBRID backend - django_cubrid
- django_cubrid is the Django backend for CUBRID Database.
- Moved to https://github.com/zimbrul-co/django_cubrid
Documents
- See Python DB API 2.0 Spec (http://www.python.org/dev/peps/pep-0249/)
Release files for cubrid-db 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Files added late
7 files were uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Built distributions (wheels)
Total release size: 55.3 MB
Release files / cubrid_db-0.7.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cubrid_db-0.7.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.10 PyPy 3.10 7.3 |
|
SHA-256 checksum How to use checksums |
6de6d0a1fcf366863cbedeef807b13e3a84cb951b384ee008d3a7e9f927c3726
|
|
BLAKE2b-256 checksum How to use checksums |
c1ad95b1ebcbd13230c0efb570bfa029a89d8adf3b58d04f5d2d641a7d62178a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Release files / cubrid_db-0.7.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cubrid_db-0.7.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.9 PyPy 3.9 7.3 |
|
SHA-256 checksum How to use checksums |
d1c29507ba350390fac18457187ccfab460c70e1504565dcf1c2ddbefb0dddf9
|
|
BLAKE2b-256 checksum How to use checksums |
75dd713134a9c28825ee4fd29e3522bf476212ac340ecd8990212f80c4c0950c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Release files / cubrid_db-0.7.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cubrid_db-0.7.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.8 PyPy 3.8 7.3 |
|
SHA-256 checksum How to use checksums |
c52ccbf36e80d212e7326b9f27cf2988b6a14fefdae9867b41183d80845cb0a2
|
|
BLAKE2b-256 checksum How to use checksums |
39d895ea6f42ec469e2b5ff0e4d7eeb90c13012a60bd44e33dcf229d0448baea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Release files / cubrid_db-0.7.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cubrid_db-0.7.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.7 PyPy 3.7 7.3 |
|
SHA-256 checksum How to use checksums |
30e7aac6c0f0718f277de85f709ce1f27f1ba0b08bfd6446f1998565fec66af3
|
|
BLAKE2b-256 checksum How to use checksums |
38a0e017e3c5ae606650296e28da7de19bd1e37ccb07bb800db0b2bef6384008
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Release files / cubrid_db-0.7.1-cp313-cp313t-manylinux_2_28_x86_64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | cubrid_db-0.7.1-cp313-cp313t-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.13 CPython 3.13 free-threading Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
64974262c08e122b3fff755b7cb5341d33c5cbff2a146f9ca83c466d41129c6d
|
|
BLAKE2b-256 checksum How to use checksums |
87f4d9f2b4788da0be747fae1ca56ef33da150047d6d28cca91b41cc1db12bb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / cubrid_db-0.7.1-cp313-cp313-manylinux_2_28_x86_64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | cubrid_db-0.7.1-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
782a37267d5cf9d718d5b96710c3183f243569b8d79bc5bfc2bab02f28cd7914
|
|
BLAKE2b-256 checksum How to use checksums |
b45be7df4d933de92596939c52340ba75c19075d470a7e081928e3dc713124cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / cubrid_db-0.7.1-cp312-cp312-manylinux_2_28_x86_64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | cubrid_db-0.7.1-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
2cf800032deef2bd2b858ac04dde6f473793f1a77c5a39d8f0bb49b069dac628
|
|
BLAKE2b-256 checksum How to use checksums |
52f2b5c9af265bc4bb7b46838ba42900ad9bbe62c797db9c8f727133f130a528
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / cubrid_db-0.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cubrid_db-0.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
85f4c53ded78440e0054cde25b262308a60f549e20e369faf3d9591db9359ec6
|
|
BLAKE2b-256 checksum How to use checksums |
90fddf054a763c66b27f877ee957110e6f783dbeba9ec7e33f062227b21931eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Release files / cubrid_db-0.7.1-cp311-cp311-manylinux_2_28_x86_64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | cubrid_db-0.7.1-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c7baf8da501c775994ee5f60dcbacc0d1baa2c9f7a80b9a65500d29e5b0582ad
|
|
BLAKE2b-256 checksum How to use checksums |
673cb5ed35d5de61b7d757a444634689d895681d8041019d37c23d2ea116e94e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / cubrid_db-0.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cubrid_db-0.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
6e335ac39f169b19bba6f0a3ff18cfabc58afd37b1d6d6b78e882e36e0265fa3
|
|
BLAKE2b-256 checksum How to use checksums |
dcddf496585951a3fc9f91587895165e88294f653e7505a03e44a43cf06d3b9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Release files / cubrid_db-0.7.1-cp310-cp310-manylinux_2_28_x86_64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | cubrid_db-0.7.1-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
73c082c2fd853cd1e71fd7c66242c53e07f11e2a95fdf740875af7d9ac85ce24
|
|
BLAKE2b-256 checksum How to use checksums |
cee4db1bc35094e1b4f7eb14b8a404571f8a2ba6e5e88320175af86243709517
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / cubrid_db-0.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cubrid_db-0.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c83b0037ac7bdc632155474fd63e8191058396969edc552286ae83241bed3714
|
|
BLAKE2b-256 checksum How to use checksums |
6fc2469e8579a3a356a3fe4dc166bdf64ca082888996cc7694674e354ab39a81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Release files / cubrid_db-0.7.1-cp39-cp39-manylinux_2_28_x86_64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | cubrid_db-0.7.1-cp39-cp39-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c120f9bb73f46b1e3f1090f57ab4aa4d3a865f793016175bf97dee67df50ef40
|
|
BLAKE2b-256 checksum How to use checksums |
7ff51ed19066d86d4270bdea7da79aa71d1d7495850a05893ade1eedd2258576
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / cubrid_db-0.7.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cubrid_db-0.7.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ff2cea3ffb4c79cf04a0e15eae852512a23a76b7730203805673322d3b60c034
|
|
BLAKE2b-256 checksum How to use checksums |
073923283f4f19dbd9b3f95019a3b8902cc0bc91f6b4af85365a2a8b5b3983bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Release files / cubrid_db-0.7.1-cp38-cp38-manylinux_2_28_x86_64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | cubrid_db-0.7.1-cp38-cp38-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.8 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c6b36b55be7898424943e3c67c7b2bbcbee96c8e549a8d4e236b7856da60e46e
|
|
BLAKE2b-256 checksum How to use checksums |
79094ea0445caad33157580c310c44ec977412b212ac2529aea5abfcef8bac55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / cubrid_db-0.7.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cubrid_db-0.7.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0822199c8bbd2b6213eff1634d89103e4ce293765a3b60c035b03d57274ab5b0
|
|
BLAKE2b-256 checksum How to use checksums |
78b499524bcc63738c5e50036ce8d891590b7a789b2239bf60e9c59ec2ab7ae4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Release files / cubrid_db-0.7.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cubrid_db-0.7.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
84d1a1353ef21ca2a21ecf2298ea4af521750f9ef948afaed7574e60f0bc2480
|
|
BLAKE2b-256 checksum How to use checksums |
8e654867a2364ffb88e128a879c874b901b58e6a058b7ea232a5aaca2a6fe948
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Release files / cubrid_db-0.7.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cubrid_db-0.7.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
8137d4e3eb58d900b0ceb26baa8b401df4990acae9205606ae2c79c4080312f7
|
|
BLAKE2b-256 checksum How to use checksums |
7960b399b7f73d73e3d1a8745316611b7a23a5c1f94413c67d26b8cb5d3b5548
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Release files / cubrid_db-0.7.1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
| Download URL | cubrid_db-0.7.1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
362778dd6aa150532759c4627715aa24153fc8d7c3bbae7e005705b949ddcea3
|
|
BLAKE2b-256 checksum How to use checksums |
98a7c9dad30ad6d0384e85f6e38b6bebaf6baf058ebd520f6c195df70092434f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|