Skip to content

App SDK for Shuffle. Previously in the /shuffle/shuffle/backend/app_sdk location.

License

Notifications You must be signed in to change notification settings

Shuffle/app_sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shuffle SDK

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

Usage

Refer to the Shuffle App Creation docs

**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

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

About

App SDK for Shuffle. Previously in the /shuffle/shuffle/backend/app_sdk location.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published