Python wrapper for cassandra-unit
Project description
Python wrapper for cassandra-unit
Using pysandra-unit-python:
from pysandraunit import PysandraUnit
pysandra_unit = PysandraUnit(‘path_to_cassandra_schema.yaml[1]’)
pysandra_unit.start() # Starts cassandra server and loads schema pysandra_unit.clean() # Cleans data and reload schema
[1] Docs for schema yaml: https://github.com/jsevellec/cassandra-unit/wiki/How-to-create-a-yaml-dataset
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
pysandra-unit-0.1.tar.gz
(15.3 MB
view hashes)