Skip to main content

wcartist is a module to create a word cloud image.

Project description

wcartust

How to install

$ pip instal wcartist
$ git clone https://github.com/koji/wcartist.git
$ git wcartist/code
$ python setup.py install

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

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

wcartist-0.0.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

wcartist-0.0.1-py3.8.egg (5.9 kB view hashes)

Uploaded Source

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