pipsy-py (PyPI)
Big, friendly SVG illustrations for Python, Flask and Django. Zero runtime dependencies.
Generated by
scripts/generate.pyfrom the canonical SVG sources — do not edit by hand. Full documentation lives in the repository README.
Install
pip install pipsy-py # zero-dependency core + Jinja2-ready SafeSvg
pip install "pipsy-py[flask]" # with Flask
pip install "pipsy-py[django]" # with Django
The PyPI distribution is pipsy-py and installs the pipsy Python module.
Python
import pipsy
from pipsy import art, get, render
rocket = art.rocket() # typed accessor -> Illustration
scene = get("empty-inbox") # kebab-case lookup (aliases resolve)
markup = render("rocket", size=320, label="Ship") # HTML-safe <svg> (SafeSvg)
raw_svg = str(rocket) # raw 512x512 SVG markup
Flask
from flask import Flask, render_template_string
from pipsy.flask import Pipsy
app = Flask(__name__)
Pipsy(app)
@app.get("/")
def home():
return render_template_string(
"""
{{ pipsy_css() }}
{{ pipsy("empty-inbox", size=320, label="Nothing here", class_="hero") }}
<img src="{{ url_for('pipsy.static', filename='illustrations/pip.svg') }}" alt="" width="240" height="240">
"""
)
Django
Add "pipsy.django" to INSTALLED_APPS:
INSTALLED_APPS = [
# ...
"django.contrib.staticfiles",
"pipsy.django",
]
Use the template tags or static files in any Django template:
{% load pipsy static %}
{% pipsy_css %}
{% pipsy "empty-inbox" size=320 label="Nothing here" class="mx-auto" %}
<img src="{% static 'pipsy/illustrations/pip.svg' %}" alt="" width="240" height="240">
Accessibility & Security
Illustrations render as decorative (aria-hidden="true") by default. Pass label="..."
to set role="img" and aria-label. All user-supplied attribute values are HTML-escaped
before returning SafeSvg / Markup / SafeString.
The collection
0.1.0 ships 42 illustrations: cat-nap, cloud-rain, empty-inbox, love-letter, not-found, party-popper, pip, potted-plant, rocket, server-down, sunrise, trophy, correct-answer, exam-success, math-complex-plane, math-continuity-jump, math-derivative-tangent, math-equation-balance, math-function-graph, math-geometry-tools, math-infinity-loop, math-integral-area, math-limit-approach, math-limit-infinity, math-number-line, math-probability-dice, math-pythagoras, math-sequence-convergence, math-sets-venn, math-sigma-sum, math-sine-wave, math-statistics-chart, math-unit-circle, math-vectors, pipsy-calculating, pipsy-confused, pipsy-eureka, pipsy-teaching, pipsy-thinking, student-calculating, student-thinking, timer-challenge.
License: MIT or Apache-2.0, at your option.
Metadata
Release files for pipsy-py 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pipsy_py-0.1.0.tar.gz | 71.2 kB | Without provenance | Details for pipsy_py-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pipsy_py-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pipsy_py-0.1.0-py3-none-any.whl |
Total release size: 169.4 kB
Release files / pipsy_py-0.1.0.tar.gz
| Download URL | pipsy_py-0.1.0.tar.gz |
|---|---|
| Size | 71.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce9e718334a4d23e235482bd84574a3150a7cec393e00a242fe2bf514f8e152f
|
|
BLAKE2b-256 checksum How to use checksums |
89b4f6eb4f3462e03677473219eb4f90e303aebc49206e06ddd623e4ae267b0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pipsy_py-0.1.0-py3-none-any.whl
| Download URL | pipsy_py-0.1.0-py3-none-any.whl |
|---|---|
| Size | 98.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9521e8e93593ee3f72df2dcb32800fd993a90af986d807643ec01a30937d9c3
|
|
BLAKE2b-256 checksum How to use checksums |
e172b8b8948452dab71d230cd25e869b0d1d182d375702308be69cf578db23f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for pipsy-py 0.1.0
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.