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.4.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.4-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shuffle_sdk-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 426601f671f4dc1ba23e34d38217a9352a264439f93b795029c73d745a2f4282
MD5 530f06d551869436cd1c453589d4800b
BLAKE2b-256 415b3567b7906c10c3a5b88f1b3cb5a362d3f68c5b9262166e93a94d1cb88a7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shuffle_sdk-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b2c05e3a00b00b1c87676fb3f3d01c87fdfbd64e51aa37c6c08e12903b14a6e4
MD5 b3381ef1776b62c42c14d94f2a36b241
BLAKE2b-256 8df5892df12b226739a8e64416b9afeb4baa0f121f4bc60ffd5f759a8f30ab9a

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