Skip to main content

Build reusable components in Django without writing a single line of Python.

Project description

Slippers


PyPI version PyPI Supported Python Versions PyPI Supported Django Versions GitHub Actions (Code quality and tests)

Build reusable components in Django without writing a single line of Python.

{% #quote %}
  {% quote_photo src="/project-hail-mary.jpg" %}

  {% #quote_text %}
    “I penetrated the outer cell membrane with a nanosyringe."
    "You poked it with a stick?"
    "No!" I said. "Well. Yes. But it was a scientific poke
    with a very scientific stick.”
  {% /quote_text %}

  {% #quote_attribution %}
    Andy Weir, Project Hail Mary
  {% /quote_attribution %}
{% /quote %}

What is Slippers?

The Django Template Language is awesome. It's fast, rich in features, and overall pretty great to work with.

Slippers aims to augment DTL, adding just enough functionality to make building interfaces just that bit more comfortable.

It includes additional template tags and filters, but its headline feature is reusable components.

{% #button variant="primary" %}See how it works{% /button %}

See how it works

Installation

pip install slippers

Add it to your INSTALLED_APPS:

INSTALLED_APPS = [
    ...
    'slippers',
    ...
]

Documentation

Full documentation can be found on the Slippers documentation site.

Contributors

Contributors

License

MIT

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

slippers-0.4.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

slippers-0.4.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file slippers-0.4.0.tar.gz.

File metadata

  • Download URL: slippers-0.4.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for slippers-0.4.0.tar.gz
Algorithm Hash digest
SHA256 425c1b8db77ff8937a335a314c8629b4e4fec487b88afd449f40df5b7b624226
MD5 1d26d6d6ff4c8d79437e83a7ed5f6c63
BLAKE2b-256 2afa1dc0de361f260ca69efb73bd9dc2dc6527767dad65e6f785dfe4919f31b7

See more details on using hashes here.

File details

Details for the file slippers-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: slippers-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for slippers-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 451c818572730cdda0ea8faf50bfb93007108bca51bf1f791e0380d556fb09fe
MD5 c0847fce8a9dfc8a0102574e9271d45b
BLAKE2b-256 65fc385184b40b381c4b4639125f33792a265025b17295811197d786b5e70de5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page