Skip to main content

play cassandra

https://img.shields.io/pypi/v/play_cassandra.svg https://img.shields.io/travis/tierratelematics/play_cassandra.svg Documentation Status https://codecov.io/gh/tierratelematics/play_cassandra/branch/develop/graph/badge.svg

pytest-play support for Cassandra expressions and assertions

More info and examples on:

Features

This project defines a new pytest-play command:

{
 'provider': 'play_cassandra'
 'type': 'execute',
 'connection': {
   'contact_points': ['10.1.1.3', '10.1.1.4', '10.1.1.5'],
   'port': '9042',
   'auth_provider': {'username': '$username', 'password': '$password'}
 },
 'keyspace': 'users',
 'query': 'SELECT name, age, email FROM users WHERE user_id=15',
 'variable': 'user1_age',
 'variable_expression': 'results[0].age',
 'assertion': 'results[0].name == "User 1"'
}

Twitter

pytest-play tweets happens here:

Credits

This package was created with Cookiecutter and the cookiecutter-play-plugin (based on audreyr/cookiecutter-pypackage project template).

CHANGES

0.0.3 (2018-01-23)

  • speed up cassandra connections with cache

0.0.2 (2018-01-22)

  • removed play_python from dependencies (deprecated)

0.0.1 (2018-01-16)

  • First release

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

play_cassandra-0.0.3.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

play_cassandra-0.0.3-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file play_cassandra-0.0.3.tar.gz.

File metadata

File hashes

Hashes for play_cassandra-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cf0d7ceadfde6bfe98bdeb75aaa06b08406cc377421357b25b61722633ec23ae
MD5 4663f64fa3363a7676e6daa72f3b1c6b
BLAKE2b-256 34758ffbecfc5cb4ad5626c86c6b3867c1adcdc460fe9c239779622ec7dcbf0e

See more details on using hashes here.

File details

Details for the file play_cassandra-0.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for play_cassandra-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c5ac75fa9e4cb971fde7288ddc6b3e9c2daf00ffae33f5431ef3ac5f682dd2d5
MD5 74ab9a100a06c2e912dab801f0a9bbd5
BLAKE2b-256 f91a0827f1171862c059eb115400341a3b7e62cfd481722cbb64a831c012e057

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page