Metadata-Version: 2.2
Name: shuffle_sdk
Version: 0.0.4
Summary: The SDK used for Shuffle
Home-page: https://github.com/shuffle/shuffle
Author: Fredrik Saito Odegaardstuen
Author-email: frikky@shuffler.io
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Shuffle SDK
This is the SDK used for apps to behave like they should. 

## Usage
Refer to the [Shuffle App Creation docs](https://shuffler.io/docs/app_creation)

**It is NOT meant to be used standalone with python scripts _yet_. This is a coming feature. **

## Build
`docker build . -t shuffle/shuffle:app_sdk`

## Download
```
pip install shuffle_sdk
```

## Usage
```
import shuffle_sdk
```

## Adding new [Liquid filters](https://shuffler.io/docs/liquid)
Add a function along these lines:
```
@shuffle_filters.register
def md5(a):
    a = str(a)
    return hashlib.md5(a.encode('utf-8')).hexdigest()
```

This can be used as `{{ "string" | md5 }}`, where `"string"` -> the `a` parameter of the function
