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_gen

How to use

from word_gen.word_gen import word

random_drawing() #This function generates a random picture from geometric shapes
get_table() #This function generates a random fixed-sized table of numbers
generate_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

random_drawing() 
get_table() 
generate_random_string(12) 
merge(r"C:\Users\Cherloy\Desktop\testing\result.docx") 
trash_clean() 

Release files for word-gen.py 1.0

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-gen.py 1.0
File Size Uploaded
word_gen.py-1.0.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for word-gen.py 1.0
File Interpreter ABI Platform
word_gen.py-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / word_gen.py-1.0.tar.gz

Download URL word_gen.py-1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c2800661b95f8ba090e30cfaf6cab196beff79620f562bd741b6575dac18aa58
BLAKE2b-256 checksum
How to use checksums
d3388d7806c768046221388378d8ca3ba9399dea44560e76819fc3f854605831
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_gen.py-1.0-py3-none-any.whl

Download URL word_gen.py-1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa34cf8e731f3d907412a116daf7234c40f922a943c979f4f664d3a44e8026e9
BLAKE2b-256 checksum
How to use checksums
1266b2987cb9daea177f0b826077723687cb57bc0ad7cd4440d31ab1a9b27091
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.0 This release

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