generating images to attract attention in social media
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
kdpv_generator
.gitignore
.travis.yml
AUTHORS.md
LICENSE.txt
README.md
requirements.txt
run.py
setup.cfg
setup.py
system_requirements.txt

README.md

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.