Placeholder is python module for creating placeholder images
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 21 commits ahead of emidln:master.
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.
placeholder
tests
.gitignore
LICENSE
README.rst
setup.py
tox.ini

README.rst

Simple module for creating placeholder images

install by

$ pip install python-placeholder

Example:

from placeholder import PlaceHolderImage
img = PlaceHolderImage(width = 300, height = 200, path = 'placeholder.png')
img.save_image()

Known bugs:

Run tests:

You can run the testsuite with the following command:

python -m unittest tests

Or use tox to test against all supported python versions.