Skip to main content

wcartist is a module to create a word cloud image.

Project description

wcartist

How to install

$ pip install wcartist
$ git clone https://github.com/koji/wcartist.git
$ cd wcartist/code 
$ pip install setuptools
$ python setup.py install  this requires setuptools > 38.0.0

How to use

1. create a text file

2. get an black & white image

3. run command

$ wcartist --input image.png --text test.txt --num 1000 --bc black --output wcartist

options

--input: image_file_name (required)
--text: text file name (required)
--num: words max default=500 (optional)
--bc: background color default `white` (optional)
`black`, `red`, `blue`, `green`, `orange`, `purple`
`cyan`, `gray`, `brown`, `pink`, `yellow`, `silver`
`gold`, `darkblue` etc
--output: output file name default `output` (optional)

example

input output

comparison

Project details


Download files

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

Files for wcartist, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size wcartist-0.0.2-py3-none-any.whl (3.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wcartist-0.0.2.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page