Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

icon-writer

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

icon-writer

A tiny package for writing Mac OS X text-only dock icons

  • 0.0.4
  • PyPI
  • Socket score

Maintainers
1

Generate text-centric icons for your Mac OS X dock.

Examples:

Edge icon

VS Code icon

Teams icon

Usage instructions

pip install icon-writer
from icon_writer import write_icon

image = write_icon("VSCODE", bgcolor=(0, 102, 185), fontcolor="white")
image.save("icon.png")

The function signature for write_icon shows the arguments and their defaults:

write_icon(text, size=80, bgcolor="white", fontcolor="black")

Development instructions

Install requirements:

pip install -e requirements-dev.txt

Install pre-commit hook:

pre-commit install

Run tests:

black . tests/

Deployment steps

First, update the version in pyproject.toml. Then run:

rm -rf dist/
python3 -m build
python3 -m twine upload dist/*

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc