Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

yb-cassandra-driver

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yb-cassandra-driver

DataStax Driver for YCQL YugabyteDB

  • 3.29.1.1
  • Source
  • PyPI
  • Socket score

Maintainers
1

YugaByte Python Driver for YugaByte DB's Cassandra compatible YCQL API

A modern, feature-rich <https://github.com/yugabyte/cassandra-python-driver#features>_ and highly-tunable Python client library for YugaByte DB's Cassandra compatible YCQL API using Cassandra's binary protocol and Cassandra Query Language v3.

The driver supports Python 3.8 through 3.12.

Note: This driver does not support big-endian systems.

Feedback Requested

Please provide feedback by opening an issue on github.

Features

  • Synchronous <http://datastax.github.io/python-driver/api/cassandra/cluster.html#cassandra.cluster.Session.execute>_ and Asynchronous <http://datastax.github.io/python-driver/api/cassandra/cluster.html#cassandra.cluster.Session.execute_async>_ APIs
  • Simple, Prepared, and Batch statements <http://datastax.github.io/python-driver/api/cassandra/query.html#cassandra.query.Statement>_
  • Asynchronous IO, parallel execution, request pipelining
  • Connection pooling <http://datastax.github.io/python-driver/api/cassandra/cluster.html#cassandra.cluster.Cluster.get_core_connections_per_host>_
  • Automatic node discovery
  • Automatic reconnection <http://datastax.github.io/python-driver/api/cassandra/policies.html#reconnecting-to-dead-hosts>_
  • Configurable load balancing <http://datastax.github.io/python-driver/api/cassandra/policies.html#load-balancing>_ and retry policies <http://datastax.github.io/python-driver/api/cassandra/policies.html#retrying-failed-operations>_
  • Concurrent execution utilities <http://datastax.github.io/python-driver/api/cassandra/concurrent.html>_
  • Object mapper <http://datastax.github.io/python-driver/object_mapper.html>_
  • Connecting to DataStax Astra database (cloud) <https://docs.datastax.com/en/developer/python-driver/latest/cloud/>_
  • DSE Graph execution API
  • DSE Geometric type serialization
  • DSE PlainText and GSSAPI authentication

Installation

Installation through pip is recommended::

$ pip install yb-cassandra-driver

For more complete installation instructions, see the installation guide <http://datastax.github.io/python-driver/installation.html>_.

Documentation

A couple of links for getting up to speed:

  • Getting started guide <https://docs.yugabyte.com/latest/develop/client-drivers/python/>_
  • API docs <http://datastax.github.io/python-driver/api/index.html>_
  • Performance tips <http://datastax.github.io/python-driver/performance.html>_

Contributing

See CONTRIBUTING.md <https://github.com/YugaByte/cassandra-python-driver/blob/master/CONTRIBUTING.rst>_.

Error Handling

While originally written for the Java driver, users may reference the Cassandra error handling done right blog <https://www.datastax.com/blog/cassandra-error-handling-done-right>_ for resolving error handling scenarios with Apache Cassandra.

Reporting Problems

Please report any bugs and make any feature requests on github.

Getting Help

For help on this product, please open a github issue.

License

Copyright 2018, YugaByte Inc.

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc