semvec/pypi-packages huggingface dataset:
jupyter-translation 0.1.3
Translate Jupyter Notebooks using Google Translate
Requires Python: >=3.9

# JUPYTER-TRANSLATION

**Translate your Jupyter notebooks from the command line or in a Python script.**

[![PyPI Version](https://img.shields.io/pypi/v/jupyter-translation?color=%2334D058&label=pypi%20package)](https://pypi.org/project/jupyter-translation/)
[![License MIT](https://img.shields.io/badge/license-MIT-blue)](https://github.com/numgrade/stringstyler/blob/main/LICENSE)
![Python 3](https://img.shields.io/badge/Python%20version-3.9%2B-blue)

--

## Installation

Create and activate a virtual environment and then install jupyter-translation:

```console
$ pip install jupyter-translation

---> 100%
```

## Usage

### jupyter-translation in the command line

$ jupyter-translation input_notebook.ipynb

or

$ python -m jupyter_translation input_notebook.ipynb

It translates input_notebook.ipynb from French to English. The result is a file named input_notebook_en.ipynb.

Get help with this command :

$ jupyter-translation --help

or

$ python -m jupyter_translation --help


### jupyter-translation in a Python script

```python

import asyncio

from jupyter_translation import translate_single_notebook, translate_multiple_notebooks


# Translate one notebook from Spanish to English.
asyncio.run(
        translate_single_notebook(
            input_files="input_notebook.ipynb", 
            output_path="translated_notebook.ipynb",
            src_lang='es',
            dest_lang='en'
            )
    )

# Translate multiple notebooks. Default translation is from French to English.
asyncio.run(translate_multiple_notebooks("input_notebook1.ipynb", "input_notebook2.ipynb"))
```


## License

This project is licensed under the terms of the MIT license.
pytorrents-csv 2.0.1
a python cli client for torrents-csv
Requires Python: >=3.10

# pytorrents-csv

a python client for https://torrents-csv.com/

Installation: `pip install pytorrents-csv`

Usage:

```
usage: pytorrents-csv [-h] -q QUERY [-n NUMBER] [-p PAGE]

a python cli client for torrents-csv

options:
  -h, --help            show this help message and exit
  -q QUERY, --query QUERY
                        Torrent names to search
  -n NUMBER, --number NUMBER
                        The number of results to return (default 10)
  -p PAGE, --page PAGE  Page number to return (default 1)
```

Example:

```
pytorrents-csv -q "the art of war epub" -n 1
```
```

-------------------------------------
Name: THE ART OF WAR - Sun Tzu (pdf, epub, mobi)
Size: 989.0 KB
Date Created: 2013-07-20 16:44:32
Seeders: 24
Infohash: 485df096772c4532da1e987dbd28481cb11a7eaa
-------------------------------------

Query: the art of war epub
Number of results: 1
Page: 1
```

---
### Disclaimer
I am not encouraging piracy and I am not responsible for any legal troubles you may get yourself in. Only download material that is public domain or that you are allowed to download. 

Not affiliated with torrents-csv.com