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.3.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

slippers-0.3.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for slippers-0.3.2.tar.gz
Algorithm Hash digest
SHA256 52862837f300548253d551eb6b33fec9d1930f40ee962b8709bb7bf7382d8e2b
MD5 5e22bfdfe6fb6e44437061217df26b2f
BLAKE2b-256 5cbc0bba424368a839303bcc2576b76f3a7c4056253be387271cbba59ea9b4f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: slippers-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 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.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bdc9742145decd375a3816e23c5717f1fa21e2b81bd067ad57afc28d681b54b7
MD5 b45248affd90a38862c30535e73af32b
BLAKE2b-256 9620f979615717d65bfa24cb8e727fbf8698c7ea37a708278d7488ed1018274e

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