python-driver
Python Native Protocol Driver (Work in Progress)
Warning
This driver is currently under heavy development, so the API and layout of packages, modules, classes, and functions are subject to change.
Features to be Added
- C extension for encoding/decoding messages
- Tracing support
- Connection pool metrics
- Authentication/security feature support
- Twisted, gevent support
- Python 3 support
- IPv6 Support
Installation
A package hasn't been put on pypi yet, so for now, run:
libev support
The driver currently uses Python's asyncore module for
its default event loop. For better performance, libev is
also supported through the pyev python wrapper.
If you're on Linux, you should be able to install libev through a package manager. For example, on Debian/Ubuntu:
and then install pyev as follows:
If successful, you should be able to use the libev event loop by doing the following
License
Copyright 2013, DataStax
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.