Lipstick 💄
Lipstick is a simple, lightweight set of tools for creating beautiful visualizations. Just apply some lipstick to your data and you're ready to go!
Installation
Install the latest version of Lipstick with pip:
pip install lipstick
or install the latest development version from GitHub:
pip install git+git://github.com/mohammadbashiri/lipstick.git
Example usage
Creating a gif
Creating animated gifs is easy with Lipstick.
``` python
import numpy as np
import matplotlib.pyplot as plt
from lipstick import GifMaker
with GifMaker("sample.gif") as g:
for i in range(30): # go through the frames
# create a figure
fig, ax = plt.subplots(figsize=(2, 2), dpi=150)
ax.imshow(np.random.rand(3, 3))
ax.text(2, 2, i, ha='center', va='center')
ax.set(xticks=[], yticks=[])
# add the figure object to the GifMaker
g.add(fig)
g.show()
Updating the displayed figure in a loop
You have a loop and you want to update the same figure (with new results) as you go through the loop? You can also use the update_fig method:
:bug: Report bugs (or request features)
If you find a bug or would like to see new features, please create an issue or make a PR :star2:
Metadata
Release files for lipstick 0.0.10
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 |
|---|---|---|---|---|
| lipstick-0.0.10.tar.gz | 8.5 kB | With provenance | Details for lipstick-0.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lipstick-0.0.10-py3-none-any.whl | Python 3 | none | any | Details for lipstick-0.0.10-py3-none-any.whl |
Total release size: 17.2 kB
Release files / lipstick-0.0.10.tar.gz
| Download URL | lipstick-0.0.10.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
008dd5e22a5c1044b8caa831f64fc6dd8e3495b832a2b6b060797618c2834ea6
|
|
BLAKE2b-256 checksum How to use checksums |
8e32b9149876dbeca6d9ac9ef968fca0fe50735c0f24cbe4cf80ba7293315d75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / lipstick-0.0.10-py3-none-any.whl
| Download URL | lipstick-0.0.10-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74a3fee7b3ab20ad912916dd727826f8f3a600a60e3c1653408aa12ef149fb7a
|
|
BLAKE2b-256 checksum How to use checksums |
a6e9d0ac8ebeaf23ed3657210c6e97d11dbbfcfcb8fc2e8417474189d5e7bbca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logSecurity for lipstick 0.0.10
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for lipstick-0.0.10.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logA 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.