Skip to main content

The SDK used for Shuffle

Project description

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

Project details


Download files

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

Source Distribution

shuffle_sdk-0.0.5.tar.gz (40.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shuffle_sdk-0.0.5-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

Details for the file shuffle_sdk-0.0.5.tar.gz.

File metadata

  • Download URL: shuffle_sdk-0.0.5.tar.gz
  • Upload date:
  • Size: 40.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.8

File hashes

Hashes for shuffle_sdk-0.0.5.tar.gz
Algorithm Hash digest
SHA256 fae9dc4a2e4e176050dc585d99aa02b21e3b4897c9b4cfa7ce708d6f782e4110
MD5 339d72dca657568b4aa89f6e1a3be855
BLAKE2b-256 f7b04bd164c771bc848b574056d932be2fb13a4879cec63c5886e7ba43275d52

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shuffle_sdk-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.8

File hashes

Hashes for shuffle_sdk-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ea215ebe053c1174fb555513b696c643245a6244577bd6746d8deb5ace1cd82a
MD5 47a5dae9e982efe3b2c96ecbca8ebf61
BLAKE2b-256 c7a2a6d048e76e09a0c46ca585c7e94785d306140b2d9f4a8fdde42fd437c045

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 Pingdom Monitoring Sentry Error logging StatusPage Status page