Skip to main content

A lorem ipsum creator with the special feature of creating multiple files with different names and contents in different folders.

Project description

w01florem

A lorem ipsum creator with the special feature of creating multiple files with different names and contents in different folders.

the background of the programme is to use it for tests of w01fm00n ( https://github.com/w01fdev/w01fm00n ). it could also be useful for other programs for tests that have to do with a search of files.

Mode 1 - Create a nested list of words for a given number of paragraphs

load class from module

from w01florem.main import Lorem

create instance of a class

all important parameters can be transferred in the process:

lorem = Lorem(paragraphs=2, words_min=30, words_max=100)

####the parameter values in the example are the default values and can therefore also be omitted: lorem = Lorem()

run the program and get a nested list for each paragraph:

paragraphs = lorem.run()

the values of the respective parameters can be obtained via:

lorem.get_paragraphs()
lorem.get_words_min()
lorem.get_words_max()

Setting new values after instantiation:

lorem.set_paragraphs(3)
lorem.set_words_min(20)
lorem.set_words_max(35)

Mode 2 - Create lorem ipsum text files in directories and subdirectories

Not yet implemented

further information:

see docstrings in w01fm00n.py

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

w01florem-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

w01florem-0.1.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file w01florem-0.1.0.tar.gz.

File metadata

  • Download URL: w01florem-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for w01florem-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6e5991d93a2c03bea2f2515a6d61e218f14c1842277b335c21b0eb254e9e0ea3
MD5 d9b655b91c4cafde5e55f2ae2199540b
BLAKE2b-256 dbd49a8fcf98253518eb93dc337d4395071b8d81fd542a054265e4906ea2ba6a

See more details on using hashes here.

File details

Details for the file w01florem-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: w01florem-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for w01florem-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5f1a0236c17bc757ac13b1bb0761fdb2a0d1ab69d860dfd49372a81565903c7
MD5 375c5a7297cdfccd1192b7ce67815462
BLAKE2b-256 1b010231fd1867673248417b24f85699fac6eb7acc082cec89cefb422baa9cfe

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