generate word file with random data
Project description
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
import word_gen.word_gen
from word_gen.word_gen import *
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
word_gener-1.1.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file word_gener-1.1.tar.gz.
File metadata
- Download URL: word_gener-1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9be704dbda159ae8327c2301e56fef7bd96cc5df4b19156137da8e1b11e29eda
|
|
| MD5 |
31c97913277be06d6ebdd198821a4fa5
|
|
| BLAKE2b-256 |
ff528bad4aa6a41079ac17d30fa45672efb7564d688acf709a3b2d2bd69bf766
|
File details
Details for the file word_gener-1.1-py3-none-any.whl.
File metadata
- Download URL: word_gener-1.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e82873d9b080402bb468eecaa257f93573e1bc53d8e37fc41a99f5f25f36389
|
|
| MD5 |
f9ddd9c6fa2fda38805448e8aeb5da2f
|
|
| BLAKE2b-256 |
d2a8c453b137fb91fdd5a7d5c375f6398333c55a9f4f690680ddaed7aa4c00d7
|