Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.15 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.15 KB

Build Status

purpose

generating images like this:

sample1 sample2 sample3

features

  • draw your image declarative way!
  • cyrillic support
  • custom fonts (ttf, otf) support
  • use local or remote image files
  • auto-crop image file to round form

stack

Python 3.5/3.6 (<3.5 is not supported due to use of typing module.), Pillow

how to use

  • install system requirements (cat system_requirements.txt | xargs apt-get install -y)
  • install python requirements (pip install -r requirements.txt)
  • create data.yml from any of existing configs (for example, cp kdpv_generator/configs/meetup.yml data.yml)
  • python run.py

tests

the pytest is used for the tests.
to run the tests use command:
python3 -m pytest

what can be improved

see Issues.