Skip to main content

A minimalist CLI for unDraw illustrations (Python port)

Project description

unDraw CLI (Python) 🎭

A high-performance, ultra-minimalist Python CLI to search, customize, and download the entire unDraw library (1,650+ illustrations).

This is the Python port of the original undraw-cli.


✨ Features

  • 🎯 Zero-Dependency Networking: Built with native urllib.request—no external network libraries.
  • 🚀 Consolidated Search: Search 1,650+ illustrations by keyword or browse by page.
  • 🎨 On-the-Fly Customization: Automatically replace the default unDraw color with your brand's hex code.
  • 📦 Ultra-Tiny footprint: Modern Python packaging with hatchling.
  • 🤖 Agentic Ready: Optimized for AI developers who need structured, fast access to high-quality SVG assets.

🚀 Quick Start

Installation

pip install undraw-py

Usage

  1. List or Search illustrations:

    undraw list           # Browse by page (20 per page)
    undraw list "space"   # Search for "space"
    undraw list --page 2  # Go to page 2
    
  2. Download with a custom color:

    undraw download astronomy_ied1 --color #34d399
    
  3. Sync the library:

    undraw sync
    

🛠️ Commands

  • undraw list [query]: Paginated browsing or keyword search.
  • undraw download <id>: Fetch the SVG and apply a custom hex color.
  • undraw sync: Crawls unDraw.co and updates the embedded source metadata.

🙏 Credits & Attribution

unDraw Illustrations

The illustrations are provided by Katerina Limpitsouni at unDraw.co.

Note: This is an unofficial community project and is not affiliated with unDraw.co.


⚖️ 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

undraw_py-1.0.22.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

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

undraw_py-1.0.22-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file undraw_py-1.0.22.tar.gz.

File metadata

  • Download URL: undraw_py-1.0.22.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for undraw_py-1.0.22.tar.gz
Algorithm Hash digest
SHA256 07176a46de090f47e53bd8bb146e5c916c6f5ad36f2f554d3f652a09e56e2b8a
MD5 bd4aee359493ff15a9099b3c9dd7301f
BLAKE2b-256 cb299ddd2f72d0c0f23bc01a4c558b6ccfc232c9a224394448a9963cc6fbc531

See more details on using hashes here.

Provenance

The following attestation bundles were made for undraw_py-1.0.22.tar.gz:

Publisher: publish.yml on stefdevscore/undraw

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file undraw_py-1.0.22-py3-none-any.whl.

File metadata

  • Download URL: undraw_py-1.0.22-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for undraw_py-1.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 0edfcd921e8b8b4f6f63d80e1a3bd67870f3b6ace2db012d517b5e21d4c882a3
MD5 52feda7a71f7379cee8d0132e3328b84
BLAKE2b-256 62cebc2d5d72e48e8e734578f6f751678154ced3c008199264fb5aae9911e8cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for undraw_py-1.0.22-py3-none-any.whl:

Publisher: publish.yml on stefdevscore/undraw

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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