This release is a pre-release and may not be stable for production use.
MonetDB dialect for SQLAlchemy
installation
to install this dialect run:
$ pip install -r ./requirements.txt $ python ./setup.py install
usage
To start using this dialect:
from sqlalchemy import create_engine
engine = create_engine('monetdb:///demo:', echo=True)
If you don’t want to install this library (for example during development) add this folder to your PYTHONPATH and register this dialect with SQLAlchemy:
from sqlalchemy.dialects import registry
registry.register("monetdb", "sqlalchemy_monetdb", "MDBDialect")
testing
you need to have nose and mock installed:
$ pip install nose mock
create a database test:
$ monetdb create test && monetdb release test
Create a test schema:
$ echo "create schema test_schema;" | mclient test $ echo "create schema test_schema2;" | mclient test $ echo "alter user monetdb set schema test_schema2;" | mclient test
Run the test suite:
$ ./test_suite.py
more info
Metadata
Release files for sqlalchemy-monetdb 0.1dev
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 |
|---|---|---|---|---|
| sqlalchemy_monetdb-0.1dev.tar.gz | 9.8 kB | Without provenance | Details for sqlalchemy_monetdb-0.1dev.tar.gz |
Release files / sqlalchemy_monetdb-0.1dev.tar.gz
| Download URL | sqlalchemy_monetdb-0.1dev.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85d61b345b79e2e0a19f52a54fbccc4b720360d0921af5ac0feed4e0b5014d40
|
|
BLAKE2b-256 checksum How to use checksums |
a8052bd95f5a47b0bfed04af0fc11447dd4a48619ecb7d95a21c2e85f2a2d339
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sqlalchemy-monetdb 0.1dev
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.