Skip to main content

Word generator package

This project generates a random picture, typing a table and puts it in a word file.

You can specify a clear length of the generated text and the path where the generated file will be saved.


Installing

pip install word-gener

How to use

from word_gen.word_gen import Word

random_drawing(shapes) #This function generates a random picture from geometric shapes shapes- shapes of figures
get_table() #This function generates a random fixed-sized table of numbers
random_string(length) #length- number of letters of random text. This function generates a random set of letters of a given length
merge(path) #path- selected save path. This function combines several word files into one single file at the specified path. Possibly can be used as a standalone helper library or smth idk ВЇ\_(гѓ„)_/ВЇ
trash_clean() #This function cleans up intermediate files

Example

from word_gen.word_gen import Word

Word.random_drawing('circle''rectangle''ellipse''line) 
Word.get_table() 
Word.random_string(12) 
Word.merge(r"C:\Users\Cherloy\Desktop\testing\result.docx") 
Word.trash_clean() 

Release files for word-gener 1.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 word-gener 1.2
File Size Uploaded
word_gener-1.2.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for word-gener 1.2
File Interpreter ABI Platform
word_gener-1.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / word_gener-1.2.tar.gz

Download URL word_gener-1.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7a9b5bffb1c889ba26eb43435f9ce2ab2c92a8b8b3f2e3d1fee1d29883171aea
BLAKE2b-256 checksum
How to use checksums
d9d19d667faabe359a1830f62882a06446c09f7c9a02c6fb2c4898e0089bdfd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.8

Release files / word_gener-1.2-py3-none-any.whl

Download URL word_gener-1.2-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ad907181a739c0e9608f1dd8f8f28af7be39ebb83f3164b46b2943e1f89852f
BLAKE2b-256 checksum
How to use checksums
f933f6b7e2d45aea427b7120f10d8b61d722d3238dd38137d53b06a245dfcd31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

1.2 This release

2 release files

1.1

2 release files

1.0

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