django-infinite-icons
Django-infinite-icons will help you to render SVG icons in your template & you can alter its width ,height and viewport without hassle.
This project is inspired by FeatherIcons and the author colebmis.
Installation
you can get django-infinite-icons by using pip.
$ pip install django-infinite-icons
To enable widget_tweaks in your project you need to add it to INSTALLED_APPS in your projects settings.py file:
INSTALLED_APPS = [
...
'django_infinite_icons',
...
]
Example Usage for SVG render
{% load infinite %}
{% icon_render 'activity.svg' width='45' %}
{% icon_render 'activity.svg' height='45' width='45' %}
{% icon_render 'activity.svg' height='45' width='45' viewbox='0 0 20 20' %}
Example Usage load as static file
{% load infinite %}
{% icon_render 'activity.svg' %}
License
Metadata
Release files for django-infinite-icons 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_infinite_icons-0.1-py3-none-any.whl | Python 3 | none | any | Details for django_infinite_icons-0.1-py3-none-any.whl |
Release files / django_infinite_icons-0.1-py3-none-any.whl
| Download URL | django_infinite_icons-0.1-py3-none-any.whl |
|---|---|
| Size | 136.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
763f158943e3d6cebad557cc42ff6f1dc3aa5758fc7101d5ba064fece126719f
|
|
BLAKE2b-256 checksum How to use checksums |
23c83c5d758ed6fd1aaa291a8dcf0ba575a84b38aeaf96154c526030508b8422
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Security for django-infinite-icons 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.