A native Python client for the Vertica database.
Project description
# vertica-python
vertica-python is a native Python adapter for the Vertica (http://www.vertica.com) database.
This package is a Python port of the excellent Vertica Ruby gem (https://github.com/sprsquish/vertica).
vertica-python is currently in a alpha stage; it has been tested for functionality, but does not have a test suite. Additionally, buffered result sets are not yet supported. Please use with caution, and feel free to submit issues and/or pull requests.
vertica-python has been tested with Vertica 6.1.2 and Python 2.7.5. Please let me know if it's working on other versions.
## Installation
pip install vertica-python
Source code for vertica-python can be found at:
http://github.com/uber/vertica-python
## Usage
```
from vertica_python import connect
connection = connect({
'host': '127.0.0.1',
'port': 5433,
'user': 'some_user',
'password': 'some_password',
'database': 'a_database'
})
result = connection.query("SELECT * FROM a_table LIMIT 2")
connection.close()
print result.rows()
# [{'id': 1, 'value': 'something'}, {'id': 2, 'value': 'something_else'}]
```
## License
MIT License, please see `LICENSE` for details.
## Acknowledgements
Many thanks go to the contributors to the Ruby Vertica gem, since they did all of the wrestling with Vertica's protocol and have kept the gem updated. They are:
* [Matt Bauer](http://github.com/mattbauer)
* [Jeff Smick](http://github.com/sprsquish)
* [Willem van Bergen](http://github.com/wvanbergen)
* [Camilo Lopez](http://github.com/camilo)
vertica-python is a native Python adapter for the Vertica (http://www.vertica.com) database.
This package is a Python port of the excellent Vertica Ruby gem (https://github.com/sprsquish/vertica).
vertica-python is currently in a alpha stage; it has been tested for functionality, but does not have a test suite. Additionally, buffered result sets are not yet supported. Please use with caution, and feel free to submit issues and/or pull requests.
vertica-python has been tested with Vertica 6.1.2 and Python 2.7.5. Please let me know if it's working on other versions.
## Installation
pip install vertica-python
Source code for vertica-python can be found at:
http://github.com/uber/vertica-python
## Usage
```
from vertica_python import connect
connection = connect({
'host': '127.0.0.1',
'port': 5433,
'user': 'some_user',
'password': 'some_password',
'database': 'a_database'
})
result = connection.query("SELECT * FROM a_table LIMIT 2")
connection.close()
print result.rows()
# [{'id': 1, 'value': 'something'}, {'id': 2, 'value': 'something_else'}]
```
## License
MIT License, please see `LICENSE` for details.
## Acknowledgements
Many thanks go to the contributors to the Ruby Vertica gem, since they did all of the wrestling with Vertica's protocol and have kept the gem updated. They are:
* [Matt Bauer](http://github.com/mattbauer)
* [Jeff Smick](http://github.com/sprsquish)
* [Willem van Bergen](http://github.com/wvanbergen)
* [Camilo Lopez](http://github.com/camilo)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vertica-python-0.1.1.tar.gz
(3.5 kB
view details)
File details
Details for the file vertica-python-0.1.1.tar.gz
.
File metadata
- Download URL: vertica-python-0.1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2dc17bb8c7c8a15765c69f7295be9c0daa300740f70cb30447094a1c9552da7 |
|
MD5 | 451c32509281dceb299094185efe469e |
|
BLAKE2b-256 | 331bafbbadcbaa6807268de7df65d97663ee8eded3e3a4b287943dba275588d3 |