Skip to main content

Testing Framework for PySpark

Project description

PyPI pyversions GitHub license

pyspark-testing is testing framework for pyspark

Installation

pyspark-testing is available at the PyPI

# PyPI
$ pip install pyspark-testing

Basic Usage

from pyspark_testing import assert_dateframe_equal


def test_sample():
    data = [('sample', 1)]

    left = spark.createDataFrame(data)
    right = spark.createDataFrame(data)

    assert_dataframe_equal(left, right)

License

MIT License (see LICENSE).

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyspark_testing-0.0.5-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file pyspark_testing-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: pyspark_testing-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for pyspark_testing-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 832cd1678d8f955765e7e96ff9cc016e4743dc034af4f8509280caa9c981a0e8
MD5 5c0a4513f25948bb1fbbb0138b8d6b81
BLAKE2b-256 c51358cceafb54665610577cebb985556677940338a5f6b111333bb9caeb3ed3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page