Skip to main content

Make add text to an image

Project description

Gitter

Make it easy to add text to an image.

Install

pip install txt2image

Examples

Take a look in the example folder. The first example only shows the different tools you can use to create your own images. For the second example you need the package requests.:

pip install requests

The third example shows the QuoteImage-class.

Development

Clone repo:

git clone https://github.com/axju/txt2image.git

Create virtual environment and update dev-tools:

python3 -m venv venv
source venv/bin/activate
pip install --upgrade wheel pip setuptools twine tox

Install local:

pip install -e .

Run some tests:

tox
python setup.py test

Publish the packages:

python setup.py sdist bdist_wheel
twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

txt2image-0.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

txt2image-0.0.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file txt2image-0.0.1.tar.gz.

File metadata

  • Download URL: txt2image-0.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7

File hashes

Hashes for txt2image-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6c2c44391e7d98a46832da77eb718ee7ea83495be9caa580fa2ac0e1c329b596
MD5 54e9a354d7e3c6496b47eacca83329c5
BLAKE2b-256 97fd02196fa9535f4de698702fdc71bfabb20da80ab8d336b42686191f6ac9a4

See more details on using hashes here.

File details

Details for the file txt2image-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: txt2image-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7

File hashes

Hashes for txt2image-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93f8360d73f0a73c7ae89d9f6e87107b320e27db3003690fc44858f0e0c59b84
MD5 255576aee0d2b936174f2213d68a30bf
BLAKE2b-256 e1026e21ce3de45fb646e022e47e8951ab0b715677a042244f72eb86c6f7843f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page