Skip to main content
==============
play cassandra
==============


.. image:: https://img.shields.io/pypi/v/play_cassandra.svg
:target: https://pypi.python.org/pypi/play_cassandra

.. image:: https://img.shields.io/travis/tierratelematics/play_cassandra.svg
:target: https://travis-ci.org/tierratelematics/play_cassandra

.. image:: https://readthedocs.org/projects/play-cassandra/badge/?version=latest
:target: https://play-cassandra.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://codecov.io/gh/tierratelematics/play_cassandra/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/tierratelematics/play_cassandra


pytest-play support for Cassandra expressions and assertions

More info and examples on:

* pytest-play_, documentation
* cookiecutter-qa_, see ``pytest-play`` in action with a working example if you want to start hacking


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',
'condition': '1 > 0',
'variable': 'user1_age',
'variable_expression': 'results[0].age',
'assertion': 'results[0].name == "User 1"'
}

Twitter
=======

``pytest-play`` tweets happens here:

* `@davidemoro`_

Credits
=======

This package was created with Cookiecutter_ and the cookiecutter-play-plugin_ (based on `audreyr/cookiecutter-pypackage`_ project template).

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
.. _`cookiecutter-play-plugin`: https://github.com/tierratelematics/cookiecutter-play-plugin
.. _pytest-play: https://github.com/tierratelematics/pytest-play
.. _cookiecutter-qa: https://github.com/tierratelematics/cookiecutter-qa
.. _`@davidemoro`: https://twitter.com/davidemoro


=======
CHANGES
=======

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.1.tar.gz (13.0 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.1-py2.py3-none-any.whl (5.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for play_cassandra-0.0.1.tar.gz
Algorithm Hash digest
SHA256 afc08fd8bb3f623f4422530c627f6e7ca46ad51ab84b361cd8b71c305adb0b90
MD5 2fa949be48ba0e1c33137dbfad41e970
BLAKE2b-256 b3b73d0ee1653a643c08d65284862bf92987651e271716e4818155bbe709bf52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for play_cassandra-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 012e7335e61e9def835386a8cb5b72d66d4e769494ebabfd73cf67c0f3e41368
MD5 061e5f454fd4a30bbef7a32f631a900c
BLAKE2b-256 c4f1af50e6ebf0f69128ae726f552fdcffb630b21264c2d6e17c8a24bd604c53

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