Skip to main content

A simple Tag to implement Feather Icons in Django

Project description

Django Feather

A simple Tag ({% icon "name" %}) to implement Feather Icons in Django.

Install

Install django-feather using pip and put it into your INSTALLED_APPS:

# settings.py
INSTALLED_APPS = [
    # ...
    'django-feather',
    # ...
]

Usage

After installation, the tag can be used just like any other tag:

{% load icon %}

{% icon "coffee" class="css-class" height="8" width="8" %}

The icon tag will simply read the SVG files from the Feather project, apply additional attributes and return the SVG tag.

License

Feather is licensed under the MIT License.

django-feather is licensed under the Apache License, Version 2.0:

Copyright 2019 Jonas Drotleff <j.drotleff@desk-lab.de>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

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

django-feather-0.1.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

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

django_feather-0.1-py3-none-any.whl (122.6 kB view details)

Uploaded Python 3

File details

Details for the file django-feather-0.1.tar.gz.

File metadata

  • Download URL: django-feather-0.1.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4

File hashes

Hashes for django-feather-0.1.tar.gz
Algorithm Hash digest
SHA256 b2a643293a03e79e25346bba8c6bea95381551607df19c260d766a86d890be2c
MD5 bf282cc1bd26e1d4854a1f04ea8ede96
BLAKE2b-256 96c48e3a80e123e9b6e6b699be10d002e825194f80b34987d48d27882c4d13ae

See more details on using hashes here.

File details

Details for the file django_feather-0.1-py3-none-any.whl.

File metadata

  • Download URL: django_feather-0.1-py3-none-any.whl
  • Upload date:
  • Size: 122.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4

File hashes

Hashes for django_feather-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 874b2318e38c61a3574a1ce3147d1f2bf2c8fe54be37352fccad0ac6a1482c53
MD5 12905ca6a181863cf44c847011816222
BLAKE2b-256 57a1d0109d9f8b1a34b884078a65587316d354bd69cd2eab9f478d5921416d70

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