semvec/pypi-packages huggingface dataset:
no-utils 1.0.0
Python Module to enable running tasks inside threads based on cron schedule
License: MIT

# Overvoew

A Python module whose goal is to take some common cases of python code that become repetive and used everywhere and hide them behind some easy to use functions and classes

# Examples

```python

from no_utils import *

#run a system command and get the return code, output and error messages
ret, out, err = system_cmd("git clone https://github.com/FrdAlex/no_utils.git")

#example of guarding against None values
def do_something(param):
    Guard.agains_none(param)
    print(param)

do_something("Simple example")
do_something(None)

# File Utils examples

file1 = "part_1.txt"
file2 = "part_2.txt"
output = "output.txt"

FileUtils.merge_files([file1,fil2], output)
FileUtils.remove_last_empty_line(output)
FileUtils.content_exists("warning")
```