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.

Source Distribution

wcartist-0.0.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wcartist-0.0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file wcartist-0.0.2.tar.gz.

File metadata

  • Download URL: wcartist-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.5

File hashes

Hashes for wcartist-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b710828116ec21b137e0ecc92192cd926f952690a18b6b98825cf4eb4bf234fa
MD5 943fa84eda90b935961b0b605d691242
BLAKE2b-256 771188552aea7823bcd5d225bf936627bab2aa18fd0a7473c3b3e33f89208863

See more details on using hashes here.

File details

Details for the file wcartist-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: wcartist-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.5

File hashes

Hashes for wcartist-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 31c7bc05c721fb8ae1dedc41de31e8b79ca12f246562c64a7f96c47c0c116581
MD5 194e121bc7c4991370c07ed4024bbdc3
BLAKE2b-256 9556188a33f4a317a5c13777ca41bd203535194798b25498199ae34fffc5dd61

See more details on using hashes here.

Supported by

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