mycopunk-swag/cli
Jeff Emmett 58dc580afa feat(stickers): add build-tools-not-empires design
First active mycopunk sticker design featuring bioluminescent
mycelium network with anarchist message "Build Tools Not Empires"

Also fixes date rendering bug in design list command

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 09:29:30 +01:00
..
mycopunk feat(stickers): add build-tools-not-empires design 2026-01-25 09:29:30 +01:00
tests feat: Initialize mycopunk-swag repository 2026-01-24 19:26:58 +01:00
README.md feat: Initialize mycopunk-swag repository 2026-01-24 19:26:58 +01:00
pyproject.toml feat: Initialize mycopunk-swag repository 2026-01-24 19:26:58 +01:00

README.md

Mycopunk CLI

Command-line tool for managing mycopunk merchandise and print-on-demand fulfillment.

Installation

# Install in development mode
pip install -e .

# Or install with dev dependencies
pip install -e ".[dev]"

Quick Start

# Create a new sticker design
mycopunk design new stickers/my-design --template=sticker-3x3

# Export to print-ready PNG
mycopunk design export stickers/my-design

# Validate against POD requirements
mycopunk design validate stickers/my-design

# Create product on Prodigi (sandbox mode)
mycopunk product create stickers/my-design --provider=prodigi --sandbox

Commands

See the full CLI Reference for all commands.

Design Management

  • mycopunk design new - Create design scaffold
  • mycopunk design list - List all designs
  • mycopunk design export - Export to print formats
  • mycopunk design validate - Validate requirements

POD Integration

  • mycopunk product create - Create product on POD
  • mycopunk product push - Push design updates
  • mycopunk product list - List products
  • mycopunk mockup generate - Generate mockups

Batch Operations

  • mycopunk batch export - Export all designs
  • mycopunk batch push - Push all to POD

Configuration

Copy ../config/.env.example to ../config/.env and add your API keys:

PRINTFUL_API_TOKEN=your_token
PRODIGI_API_KEY_SANDBOX=your_sandbox_key
PRODIGI_API_KEY_LIVE=your_live_key

Development

# Run tests
pytest

# Format code
black mycopunk/

# Lint
ruff check mycopunk/

# Type check
mypy mycopunk/

Requirements

  • Python 3.10+
  • Inkscape (for SVG export)
  • ImageMagick (optional, for local mockups)