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

Uploaded Source

Built Distribution

slippers-0.3.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: slippers-0.3.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.8.6 Darwin/20.6.0

File hashes

Hashes for slippers-0.3.0.tar.gz
Algorithm Hash digest
SHA256 290a0e4d160ab8eed4d753dd29ce0474a11bfca72864b7558042e2e0fcb4aec8
MD5 f15ae4c4ce1cd0f75241201be8e75687
BLAKE2b-256 5ed395d8b2d4680c4258395c5e788382f5369abf5a3c414c7d4fd8f3c34b198b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: slippers-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.8.6 Darwin/20.6.0

File hashes

Hashes for slippers-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f874e551570d1bf5e085f9d9fb617f793612f7c3c9c86702e9660ff1cd1f77de
MD5 a3f088355a70d915e49b386b861a3adc
BLAKE2b-256 b77755299f52e3c248c2e080d70658914e61edc02bb1226a55bb060e41b3d348

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