great_expectations.datasource.util

Module Contents

Classes

S3Url(url)

>>> s = S3Url("s3://bucket/hello/world")

Functions

hash_pandas_dataframe(df)

class great_expectations.datasource.util.S3Url(url)

Bases: object

>>> s = S3Url("s3://bucket/hello/world")
>>> s.bucket
'bucket'
>>> s.key
'hello/world'
>>> s.url
's3://bucket/hello/world'
>>> s = S3Url("s3://bucket/hello/world?qwe1=3#ddd")
>>> s.bucket
'bucket'
>>> s.key
'hello/world?qwe1=3#ddd'
>>> s.url
's3://bucket/hello/world?qwe1=3#ddd'
>>> s = S3Url("s3://bucket/hello/world#foo?bar=2")
>>> s.key
'hello/world#foo?bar=2'
>>> s.url
's3://bucket/hello/world#foo?bar=2'
property bucket(self)
property key(self)
property url(self)
great_expectations.datasource.util.hash_pandas_dataframe(df)