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-0.1.0.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-0.1.0-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: undraw_py-0.1.0.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for undraw_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 db04412b9ac5d65fc341a448e7ecd35b6d3cc90311153b3d62fd1bc908684dcc
MD5 60e133ea908547176c0166ca0fd98b26
BLAKE2b-256 ffffa110891e7b2ea44f848bb243056122b30501c96c27aab61cd1e6acf3a70c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: undraw_py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for undraw_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 164a3e9f7da143b961634c45f491170b6962e4ad124ce31e7ebc5941a1d2fd1f
MD5 54460673da9d14dfd2ab72654c317340
BLAKE2b-256 282644923cbc4a8c06c1d73d0fc5efdca82ed393638416a555c72d7ec6a19b10

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