Skip to main content

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

Release files for wcartist 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wcartist 0.0.2
File Size Uploaded
wcartist-0.0.2.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wcartist 0.0.2
File Interpreter ABI Platform
wcartist-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 kB

Release files / wcartist-0.0.2.tar.gz

Download URL wcartist-0.0.2.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b710828116ec21b137e0ecc92192cd926f952690a18b6b98825cf4eb4bf234fa
BLAKE2b-256 checksum
How to use checksums
771188552aea7823bcd5d225bf936627bab2aa18fd0a7473c3b3e33f89208863
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / wcartist-0.0.2-py3-none-any.whl

Download URL wcartist-0.0.2-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31c7bc05c721fb8ae1dedc41de31e8b79ca12f246562c64a7f96c47c0c116581
BLAKE2b-256 checksum
How to use checksums
9556188a33f4a317a5c13777ca41bd203535194798b25498199ae34fffc5dd61
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page