Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
A modern, feature-rich and highly-tunable Python client library for Scylla Open Source (2.1+) and Apache Cassandra (2.1+) and Scylla Enterprise (2018.1.x+) using exclusively Cassandra's binary protocol and Cassandra Query Language v3.
.. image:: https://github.com/scylladb/python-driver/actions/workflows/build-push.yml/badge.svg?branch=master :target: https://github.com/scylladb/python-driver/actions/workflows/build-push.yml?query=event%3Apush+branch%3Amaster
.. image:: https://github.com/scylladb/python-driver/actions/workflows/docs-pages.yaml/badge.svg?branch=master :target: https://github.com/scylladb/python-driver/actions/workflows/docs-pages.yaml?query=event%3Apush+branch%3Amaster
.. image:: https://github.com/scylladb/python-driver/actions/workflows/integration-tests.yml/badge.svg?branch=master :target: https://github.com/scylladb/python-driver/actions/workflows/integration-tests.yml?query=event%3Apush+branch%3Amaster
The driver supports Python versions 3.6-3.11.
.. Note: This driver does not support big-endian systems.
Synchronous <http://python-driver.docs.scylladb.com/stable/api/cassandra/cluster.html#cassandra.cluster.Session.execute>
_ and Asynchronous <http://python-driver.docs.scylladb.com/stable/api/cassandra/cluster.html#cassandra.cluster.Session.execute_async>
_ APIsSimple, Prepared, and Batch statements <http://python-driver.docs.scylladb.com/stable/api/cassandra/query.html#cassandra.query.Statement>
_Connection pooling <http://python-driver.docs.scylladb.com/stable/api/cassandra/cluster.html#cassandra.cluster.Cluster.get_core_connections_per_host>
_Automatic reconnection <http://python-driver.docs.scylladb.com/stable/api/cassandra/policies.html#reconnecting-to-dead-hosts>
_load balancing <http://python-driver.docs.scylladb.com/stable/api/cassandra/policies.html#load-balancing>
_ and retry policies <http://python-driver.docs.scylladb.com/stable/api/cassandra/policies.html#retrying-failed-operations>
_Concurrent execution utilities <http://python-driver.docs.scylladb.com/stable/api/cassandra/concurrent.html>
_Object mapper <http://python-driver.docs.scylladb.com/stable/object-mapper.html>
_Shard awareness <http://python-driver.docs.scylladb.com/stable/scylla-specific.html#shard-awareness>
_Tablet awareness <http://python-driver.docs.scylladb.com/stable/scylla-specific.html#tablet-awareness>
_Installation through pip is recommended::
$ pip install scylla-driver
For more complete installation instructions, see the
installation guide <http://python-driver.docs.scylladb.com/stable/installation.html>
_.
The documentation can be found online here <http://python-driver.docs.scylladb.com/stable/index.html>
_.
Information includes:
Installation <http://python-driver.docs.scylladb.com/stable/installation.html>
_Getting started guide <http://python-driver.docs.scylladb.com/stable/getting-started.html>
_API docs <http://python-driver.docs.scylladb.com/stable/api/index.html>
_Performance tips <http://python-driver.docs.scylladb.com/stable/performance.html>
_The course Using Scylla Drivers <https://university.scylladb.com/courses/using-scylla-drivers/lessons/coding-with-python/>
_ in Scylla University <https://university.scylladb.com>
_ explains how to use drivers in different languages to interact with a Scylla cluster.
The lesson, Coding with Python (link), goes over a sample application that, using the Python driver, interacts with a three-node Scylla cluster.
It connects to a Scylla cluster, displays the contents of a table, inserts and deletes data, and shows the contents of the table after each action.
Scylla University <https://university.scylladb.com>
_ includes other training material and online courses which will help you become a Scylla NoSQL database expert.
cqlengine (originally developed by Blake Eggleston and Jon Haddad, with contributions from the
community) is now maintained as an integral part of this package. Refer to
documentation here <http://python-driver.docs.scylladb.com/stable/object-mapper.html>
_.
See CONTRIBUTING <https://github.com/scylladb/python-driver/blob/master/CONTRIBUTING.rst>
_.
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.
Please report any bugs and make any feature requests by clicking the New Issue button in
Github <https://github.com/scylladb/python-driver/issues>
_.
If you would like to contribute, please feel free to send a pull request.
You can ask questions on ScyllaDB Community Forum <https://forum.scylladb.com/>
_
and the Scylla Users Slack channel <https://scylladb-users.slack.com>
_.
Copyright DataStax, 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.
FAQs
Scylla Driver for Apache Cassandra
We found that scylla-driver demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.