semvec/pypi-packages huggingface dataset:
ppad 0.0.11
Papertrail log archives downloader
Keywords: papertrail

# Papertrail log archives downloader

`ppad`, stands for _PaPertrail log Archives Downloader_, can download log archives from [Papertrail](https://www.papertrail.com/).

The downloading process works on multi-thread and checking [API's _Rate Limits_ from the header](https://documentation.solarwinds.com/en/Success_Center/papertrail/Content/kb/how-it-works/http-api.htm#rate-limits) so you can download the archives fastly and safely.

## Install

Please use [pip](https://pip.pypa.io/)

```
pip install ppad
```

## Usage

Please set your token to the environment variable named `PAPERTRAIL_API_TOKEN` to run the script.

```bash
$ PAPERTRAIL_API_TOKEN=YOUR_TOKEN ppad # Download all the log archives
$ PAPERTRAIL_API_TOKEN=YOUR_TOKEN ppad 2020-01-01~2020-02-01 # Download the archives which have logged January 2020
$ PAPERTRAIL_API_TOKEN=YOUR_TOKEN ppad 2020-01-01~ # Specified the since date (including the since date file)
$ PAPERTRAIL_API_TOKEN=YOUR_TOKEN ppad ~2020-02-01 # Specified the until date (NOT including the until date file)
```

By running the above command(s), you can get the log archives named such as `2020-01-01-XX.tsv.gz` in the current directory.

The date format is ISO-8601 format supported.

(The script uses [dateutil.isoparse](https://dateutil.readthedocs.io/en/stable/parser.html#dateutil.parser.isoparse))
multiservice 1.7.0
Multiservice is a tool to affect multiple repositories simultaneously

# Multiservice

Multiservice (`ms`) is a tool to run the same commands on multiple services.

## Install

```console
$ pip install multiservice
```


## Usage

```console
$ multiservice [OPTIONS] COMMAND [SERVICES]...
```

**Options**:

* `-c, --config TEXT`: [default: ~/.multiservice.yml]
* `COMMAND`: [required]: command name from the config
* `[SERVICES]...`: a list of services aliases


**Examples**:

Run a command named `status` on all services:
```console
$ ms status
```

Run a command named `status` on some services:
```console
$ ms status as rs
```

Execute custom script
```console
$ ms execute --execute 'git status && git diff' as rs
```

Edit the config file
```console
$ ms edit
```

## Configuration
Multiservice uses a config file to define commands and services.
Default path is `~/.multiservice.yml`, but you can specify a path using `--config` or `-c` options.

Config example:
```yaml
root: ~/projects/
template: source ./venv/bin/activate && {COMMAND}

editor: vim

# alias: directory
services:
  as: attributes-service
  rs: reports-service

commands:
  status: git status
  reset: git reset origin/develop --hard
  pull: >
    git checkout develop -q &&
    git pull
```
google-translation 0.1.0
A simple python library used to translate and speak a given text from the user with Google Translation using user's Chrome browser.
Keywords: translation,traduction,translate,speech,voice,google translation,languages

# selenium_translation

Selenium_translation is a simple python library to translate any other
language or transform it to speech with google traduction , all that
using the user's Chrome browser in hidden mode , mean time to return the
translation or speech 15 seconds

**Installation :**

| $ pip install selenium_translation  |

**Simple usage :**

| >>> from google_translation import chrome |

| >>> from chrome_translator import Chrome |

| >>> test=Chrome()  |

| >>> print(
test.translate_text(text='*Bonjour*',from_lang='*fr*',to_lang='*fr*') )|

| >>> Good morning |


**Methods :**

| Methods                                                  | Return                              |
|:---------------------------------------------------------|:------------------------------------|
| translation_url(from_lang=str,to_lang=str)               | url of google translation (str)     |
| translation_text_url(text=str,from_lang=str,to_lang=str) | url of the translation needed (str) |
| translate_text(text=str,from_lang=str,to_lang=str)       | translation of text (str)           |
| text_2_speech(text=str, language=str)                    | None , text speech                  |
| translation_2_speech(text=str,from_lang=str,to_lang=str) | None , translation speech           |

**Note :**

Use language codes >>>
[ISO-639 Language Codes](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html)

example :  
Arabic:ar  
French:fr
browser-translator 0.1.0
A simple python library used to translate and speak a given text from the user with Google Translation using user's Chrome browser.
Keywords: translation,traduction,translate,speech,voice,google translation,languages

# selenium_translation

Selenium_translation is a simple python library to translate any other
language or transform it to speech with google traduction , all that
using the user's Chrome browser in hidden mode , mean time to return the
translation or speech 15 seconds

**Installation :**

| $ pip install selenium_translation  |

**Simple usage :**

| >>> from browser_translator import chrome |

| >>> from chrome import Chrome |

| >>> test=Chrome()  |

| >>> print(
test.translate_text(text='*Bonjour*',from_lang='*fr*',to_lang='*fr*') )|

| >>> Good morning |


**Methods :**

| Methods                                                  | Return                              |
|:---------------------------------------------------------|:------------------------------------|
| translation_url(from_lang=str,to_lang=str)               | url of google translation (str)     |
| translation_text_url(text=str,from_lang=str,to_lang=str) | url of the translation needed (str) |
| translate_text(text=str,from_lang=str,to_lang=str)       | translation of text (str)           |
| text_2_speech(text=str, language=str)                    | None , text speech                  |
| translation_2_speech(text=str,from_lang=str,to_lang=str) | None , translation speech           |

**Note :**

Use language codes >>>
[ISO-639 Language Codes](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html)

example :  
Arabic:ar  
French:fr