semvec/pypi-packages huggingface dataset:
pyfilewatcher 1.0.0
A library for monitoring files and directories for changes
License: MIT
Requires Python: >=3.7

# pyFileWatcher - A library for monitoring files and directories for changes
The python package for monitoring files and directories provides a fast and efficient way to detect changes to files and directories. It is particularly small and resource-efficient, making it ideal for use in environments with limited resources.
The package is also easy to integrate and can be effortlessly incorporated into existing projects. It provides icomprehensive documentation to get you started.
Overall, our Python package for monitoring files and directories is a powerful and reliable choice for anyone who wants to monitor changes to files and directories.

## Installation
### pip
```bash
python3 -m pip install --user pyfilewatcher
```

### Manual
**Currently still in progress!**

## Example
```python
from pyfilewatcher import FileWatcher

file = FileWatcher(name="Test", files=["example.log"], interval=1)
file()
```
measure-exec-time 0.10
Decorator for measuring the execution time of a callable
License: MIT
Keywords: decorator,measuring,time


# Decorator for measuring the execution time of a callable

```python

$pip install measure-exec-time
from measure_exec_time import measure_time
from time import sleep



@measure_time
def foo1():
    sleep(2)
    return 22





@measure_time(show_timedelta=False, show_start_end=True)
def foo2():
    sleep(2)
    return 22





@measure_time(show_timedelta=True, show_start_end=False)
def foo3():
    sleep(2)
    return 22


foo1()
print('----------')
foo2()
print('----------')
foo3()


    
```
<img src="https://github.com/hansalemaos/screenshots/raw/main/timemea.png"/>