semvec/pypi-packages huggingface dataset:
thumbgen 0.1.1
Pre-generates thumbnails for 'Gnome Files' formerly known as nautilus.
License: MIT
Requires Python: >=3.5,<4.0
Keywords: nautilus,thumbnail

# Thumbgen

Pre-generates thumbnails for 'Gnome Files' formerly known as nautilus. This is useful if you have a lot of files which you want to glance over but you have to wait for them to load as you scroll.
Supports **Python 3.5+** and any Linux distro using Gnome Desktop 3.

## Basic Usage
```
# generating thumbnails for two directories
thumbgen -d directory1/directory1_1 directory2

# Pulling up the help
thumbgen --help
```

## Command Line Options
| short | long          | Description                                                                                         |
|-------|---------------|-----------------------------------------------------------------------------------------------------|
| -d    | --img_dirs    | directories to recursively generate thumbnails seperated by space, eg: "dir1/dir2 dir3"  [required] |
| -w    | --workers     | no of cpus to use for processing                                                                    |
| -i    | --only_images | Whether to only look for images to be thumbnailed                                                   |
| -r    | --recursive   | Whether to recursively look for files                                                               |
|       | --help        | CLI help                                                                                            |


## Installation

Install PyGObject pre-requisites for your OS from [here](https://pygobject.readthedocs.io/en/latest/getting_started.html). For Ubuntu/Debian:

```
sudo apt install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0
```

Then install Thumbgen using:
```
pip install thumbgen
```
lambert 1.0.0
Convert location units from WS84 to Lambert (I,II,III) and reverse
License: MIT

# Lambert-python

A pure python module to convert from Lambert to WGS84 positioning system
Highly inspired by https://github.com/yageek/lambert-java
Thank you Yannick Heinrich !

## Install 

To install this module just type
```
pip install lambert
```

## Example

```python

from lambert import Lambert93, convertToWGS84Deg

print(str(Lambert93.n()))
pt = convertToWGS84Deg(780886, 6980743, Lambert93)
print("Point latitude:" + str(pt.getY()) + " longitude:" + str(pt.getX()))
```
rosbak 0.0.1
Mikrotik RouterOS backup tool
License: MIT

# Mikrotik RouterOS backup tool

## Instalation

```shell
pip3 install rosbak
```

## What is rosbak

**rosbak** is a Python command line tool which allows backup Mikrotik RouterOS
routers and switches.

Keeping backup files inside RouterOS is usually unsafe, as when the equipment
fail, you have no access to them.

**rosbak** performs RouterOS backup and copies files to the specified location.

# Requirements

* RouterOS >= 6.45, as **rosbak** uses scp
* RouterOS ssh service should be turned on
* You should have an access to RouterOS host

## Usage

```shell
rosbak [options] <host>
```

e.g.

```
rosbak -d /backups router1
```

## Configuration

You may put configuration to */usr/local/etc/rosbak.yml*

Configuration contains global variable *dir* which points to default backup
location (you may use {host} param e.g. /backups/{host}, in this case backups
are stored e.g. to */backups/router1*)

Host sections in configuration file may contain router IP (*addr*), port,
backup *delay*, etc.

Configuration file is optional.

## Why backup delay

RouterOS performs backups in background. Backup delay param is required to ask
**rosbak** wait the specified number of seconds before copying backup.

## Export

Command line param *-x* or *export: true* in host configuration tells
**rosbak** to perform configuration export as well (*/export file=...*)

Configuration exports are useful when you need to restore backup partially,
manually copying settings one-by-one (e.g. when restoring it on the another
model).

## Copyright and warranty

**rosbak** is provided as-is under MIT license. **rosbak** is a 3rd party tool
and is not affiliated with SIA Mikrotīkls.