Loremipsum

Latest version: v1.0.5

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.0.0b2

* New ``Sample`` class that handle sample extracting, freezing, copying, as
well as loading and dumping from a provided URL.
* Now ``Generator`` class uses a ``Sample`` instance to generate text.
* New pluggable framework: setted up package can let developers to ``get``,
``set_default`` and get all ``registered`` plugins.
* New ``loremipsum.samples`` pluggable subpackage lets develpers to create
and plug their own sample to be used by a ``Generator``.
* New ``loremipsum.serialization`` subpackage let developers to load, dump
or erase a sample using pluggable set of schemes, content types and
encodings.

2.0.0b1

* New API for the ``Generator`` class: now takes all the needed params from
the constructor and no default value is implied. Unlike the previous
version, now also wants a list of delimiters for the words and one for the
sentences.
* No more custom exceptions. Now ``Generator`` class uses python standard
``ValueError`` if the values used in the constructor are wrong.
* No more property setters: Now ``Generator`` objects are "Read-Only".
* New property ``incipit`` which returns the first sample sentence.
* New API for the ``Generator.generate_`` methods: now developers can
override sentences and paragraphs mean and sigma values, as well as fixing
their lienght.
* New ``Generator`` methods to generate siply words: generate_word and
generate_words
* New ``loremipsum`` functions API to reflects the new ``Generator`` API.
* New ``loremipsum`` functions to interface with new ``Generator`` methods:
get_word and get_words
* New behaviour for get_sentences, get_paragraphs, generate_sentences,
generate_paragraphs functions: now return a generator.

1.0.5

* Added python3 support: fixes 8
* Added README.rst to MANIFEST.in: fixes 9

1.0.4

* Added MANIFEST.in
* Removed dependencies on distribute
* Applied pep8 and pylint suggested cleanup

1.0.3

* Fix issue 5

1.0.2

* Now is a package: fixes datafiles distribution.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.