Generate text-centric icons for your Mac OS X dock.
Examples:
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/*
Metadata
Release files for icon-writer 0.0.4
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 |
|---|---|---|---|---|
| icon_writer-0.0.4.tar.gz | 86.1 kB | Without provenance | Details for icon_writer-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| icon_writer-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for icon_writer-0.0.4-py3-none-any.whl |
Total release size: 165.8 kB
Release files / icon_writer-0.0.4.tar.gz
| Download URL | icon_writer-0.0.4.tar.gz |
|---|---|
| Size | 86.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b936e010c6556c02ca87b83a0db72a2c869144565231b59af58e86e9762baba9
|
|
BLAKE2b-256 checksum How to use checksums |
140c50884987fb6cee664094a971dd5b2b48e591af2faf3f421b85962d74e7b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.3
|
Release files / icon_writer-0.0.4-py3-none-any.whl
| Download URL | icon_writer-0.0.4-py3-none-any.whl |
|---|---|
| Size | 79.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9aeee24ea6d5586993af5ac482bfc77337914fb96357d6cbc51def1de0c524a9
|
|
BLAKE2b-256 checksum How to use checksums |
527df1cffd0a2948fa70b57578d8aed6665c0f6a1edfff7ac277fec5364c5b7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.3
|
Security for icon-writer 0.0.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.