semvec/pypi-packages huggingface dataset:
gpsexif 0.3
Writing / Reading GPS coordinates in photo's EXIF by Python.

# GPS-EXIF

Writing / Reading GPS coordinates in photo's EXIF by Python.

## Install

```shell
pip install gpsexif
```

## APIs

- setGPS

```python
from gpsexif import setGPS


img_path = "input/tyg.jpg"  # use your image path
save_dir = "output"
loc = [114.353458, 30.53624997, 363.5164]
setGPS(img_path, loc, save_dir)
```

- getGPS

```python
from gpsexif import getGPS


img_path = "output/tyg.jpg"  # use your image path
loc = getGPS(img_path)
```
LoraLogger 0.1.1
Custom LORA logger.

# Logger
This logger exists to replace boilerplate code for creating loggers. It also uses a custom format.
In future, this package can be extended to include functions that write logs to an elastic search cluster or something too.

**Usage:**  
Convension is to create many loggers, passing __name__ as the name.
Levels should be passed from a config file so that all logger levels are in one place. This allows for much easier debugging.
```
logger(name, level))

Args:
    name (str): name of the logger.
    level (str): name of the logger level. Valid values are "CRITICAL", "ERROR", "WARNING", "INFO", and "DEBUG"

Returns:
    logging.logger obj: A custom logger instance.
```

**Example**
```
from LoraLogger.logger import logger

logger = logger(__name__, LOGGERS.EXAMPLE)
logger.info("This will write if LOGGERS.EXAMPLE is >= INFO")
logger.debug("This will write if LOGGERS.EXAMPLE is >= DEBUG")
```

**Requirements**
```

```


# Contents
```
Package
logger
 ┣ __init__.py
 ┗ logger.py
```

## **logger.py**
Contains the logger function.
Super-Search 1.0
A command-line utility for system searches.
Requires Python: >=3.8

# SuperSearch (susearch) v1.0

susearch is a command line utility that has the ability to search an entire file system for a given file or directory and it outputs the assoaciated paths.
There's an option to limit the search; how many associated paths to find and exit. Associated paths can also be written to a file for futher inspection or just as a log file and allows the user to specify the name of the file. The most common usage is a system-wide search, meaning it will search the entire system providing it has permissions to do so. Relative searches occur when given a specific path to search. A system-wide search uses te flags **-f** and **-d** while only specifying a *filename* or a *directory name*. The **-p** flag only triggers a system-wide search if the specified path is *"/"* (Linux) or *"C:\\"* (Windows) while only specifying a *filename* or a *directory name* along with the *--file* or *--dir* options. The help flag (**-h**) is divided into sections which can be passed as arguments or the -h flag can be used on its own without any arguments.

### System-wide Search Examples:
`susearch -f <filename>`


`susearch -d <dirname>`


`susearch -p root_path [<filename> --file] [<dirname> --dir]`


### Relative Search Example:
*The path cannot be the root path!*<br>
`susearch -p <path> [<filename> --file] [<dirname> --dir]`


This version of SuperSearch (susearch) is currently only available for Linux operating systems.
SuperSearch 1.0
A command-line utility for system searches.
Requires Python: >=3.8

# SuperSearch (susearch) v1.0

susearch is a command line utility that has the ability to search an entire file system for a given file or directory and it outputs the assoaciated paths.
There's an option to limit the search; how many associated paths to find and exit. Associated paths can also be writte to a file for futher inspection or just as a log file and allow the user to specify the name of the file. The most common usage is a system-wide search, meaning it will search the entire system providing it has permissions to do so. Relative searches occur when given a specific path to search. A system-wide search uses te flags -f and -d while only specifying a filename or a directory name. The -p flag only triggers a system-wide search if the specified path is "/" (Linux) or "C:\\" (Windows) while only specifying a filename or a directory name along with the --file or --dir options. The help flag (-h) is divided into sections that can be passed as arguments to the -h flag or -h can be used on its own without any arguments.

### System-wide Search Examples:
`susearch -f <filename>`


`susearch -d <dirname>`


`susearch -p root_path [<filename> --file] [<dirname> --dir]`


### Relative Search Example:
*The path cannot be the root path!*
`susearch -p <path> [<filename> --file] [<dirname> --dir]`


This version of SuperSearch (susearch) is currently only available for Linux operating systems.