semvec/pypi-packages huggingface dataset:
Easytexts 1.1.0
Easytexts: Simplified text management for quick and simple projects
Requires Python: >=3.10

Easytexts: A Simple File Handler for Python


Install Easytexts using pip:

	pip install Easytexts

Usage:

Import the easytexts module:

	from Easytexts.Easytexts import *


Writing and Appending:

append(file, text, newline=True, log=False): Appends text to a file, optionally adding a newline and logging the action.
Example:

	append("my_file.txt", "This is a new line.")
	# Optional: Log the action
	append("my_file.txt", "Another line!", log=True)


clear(file, text, replacement, log=False): Overwrites the entire content of a file with new text (replacement), optionally logging the action.
Example:

	clear("my_file.txt", "This is the new content.\n")


cide(file, text, log=False): Creates a new file and writes text to it, only if a file with the same name doesnt already exist, optionally logging the action.
Example:

	cide("new_file.txt", "Hello, world!\n")


Reading:

read(file, log=False): Reads the entire content of a file and returns it as a string, optionally logging the action.
Example:


	content = read("my_file.txt")
	print(content)


Checking:


is_empty(file, log=False): Checks if a file is empty, returning True if empty, False otherwise, optionally logging the result.
Example:


	if is_empty("my_file.txt"):
		print("The file is empty.")


Deleting:

delete(file, log=False): Deletes a file.
Example:


	delete("my_file.txt")


Checking Existence:

does_exist(file, log=False): Checks if a file exists, returning True if exists, False otherwise.
Example:


	if does_exist("my_file.txt"):
		print("The file exists.")




Disclaimer

While Easytext handles common errors and is suitable for learning and small projects, it's not intended for critical or demanding projects due to its limited scope and testing.


Additional Notes

The log parameter allows you to control if certain actions are logged (printed) for debugging or tracking purposes.
The newline parameter in append allows you to control whether a newline character is added before the appended text.

if you find any errors please let me know by making a poll on the github page ☺
molecule-robotframework 3.0.2
Robot Framework Molecule Plugin :: run molecule tests with Robot Framework as verifier
Requires Python: >=3.10

*******************************
Molecule Robot Framework Plugin
*******************************

Use Robot Framework as a Molecule verifier.

Runs the ``verify`` playbook to install Robot Framework, extra libraries, and
test data, then runs ``robot`` on the Molecule managed instances, showing the
live output as tests are executed.  Finally, runs an optional ``verify_fetch_report``
playbook to retrieve the generated Robot Framework report and logs.

Bundled ``verify`` and ``verify_fetch_report`` playbooks are included with
the plugin. You can override these with custom playbooks if desired.

Documentation: `https://molecule-robot-framework-plugin.readthedocs.io <https://molecule-robot-framework-plugin.readthedocs.io>`_

Installation and Usage
======================

Install molecule and molecule-robotframework:

.. code-block::

    $ python3 -m venv .venv
    $ source .venv/bin/activate
    (.venv) $ pip install molecule molecule-robotframework
    (.venv) $ patch-molecule-schema

Create a new scenario with molecule:

.. code-block::

    (.venv) $ molecule init scenario

Edit the ``molecule.yml`` file and set the verifier to ``molecule-robotframework``:

.. code-block::

    ...
    verifier:
      name: molecule-robotframework

.. _authors:

Authors
=======

Molecule Robot Framework Plugin was created by Michael Meffie based on code from Molecule.

.. _license:

License
=======

The `MIT`_ License.

.. _`MIT`: https://github.com/ansible/molecule/blob/master/LICENSE

The logo is licensed under the `Creative Commons NoDerivatives 4.0 License`_.

If you have some other use in mind, contact us.

.. _`Creative Commons NoDerivatives 4.0 License`: https://creativecommons.org/licenses/by-nd/4.0/