semvec/pypi-packages huggingface dataset:
tunneller 0.1.6
Utility to manage SSH-Tunnel to CINECA clusters

# SSH-Tunnels maker aka `tunneller`

Utility to manage SSH-Tunnel to CINECA clusters.

An SSH tunnel is a secure method for forwarding network traffic between two devices over an encrypted connection.  
It uses the SSH protocol to create a secure "tunnel" through which data can be securely transmitted.

## Install

`tunneller` can be installed with `pip` by running:
```
pip install tunneller
```

You can also install it from source:
```
git clone https://github.com/so07/tunneller.git
cd tunneller
python setup.py install
```

## Usage

`tunneller` can be run either on your local machine or on a CINECA cluster.  
- When you run on a CINECA cluster, the instructions you have to execute on your local machine are printed out on the screen.  
  Thus you have to copy and paste the instructions on a shell of your local machine.
- While when you run it on your local machine, the SSH tunnel is opened.


## Examples of Usage

- To open an SSH-Tunel to Leonardo cluster login node with the default options:
```
tunneller -c leonardo
```
**NB1**: the $USER environment variable is used to setup the username  
**NB2**: This is the same of running: `ssh -L 9999:localhost:9999 $USER@login01-ext.leonardo.cineca.it -N`

- To open an SSH-Tunnel to the Leonardo cluster login using a different username:
```
tunneller -u USERNAME -c leonardo
```
This is the same of running: `ssh -L 9999:localhost:9999 USERNAME@login01-ext.leonardo.cineca.it -N`

- To open a double SSH-Tunnel to the Leonardo compute node `lrdn2655` on the port 9998 passing through `login02`
```
tunneller -c leonardo -p 9998 -n lrdn2655
```
This is the same of: `ssh -L 9998:localhost:9998 $USER@login02-ext.leonardo.cineca.it ssh -L 9998:localhost:9998 lrdn2655 -N`

- To list all processes IDs that have network connections on port 9999 on Leonardo login node:
```
tunneller -c leonardo -p 9999 --port-list
```
This is the same of running `lsof -ti:9999` on the login node of Leonardo cluster or running `ssh $USER@login01-ext.leonardo.cineca.it lsof -ti:9999` on your local machine.

- To kill all processes that have network connections on port 9998 on Leonardo cluster `login02`:
```
tunneller -c leonardo -p 9998 -l 2 --port-clean
```
This is the same of running `lsof -ti:9999 | xarg kill -9` on the login node of Leonardo cluster.
riguima-calculator-cli 0.1.1
Calculator CLI made from app ideas repo: https://github.com/florinpop17/app-ideas
Requires Python: >=3.11,<4.0

# Calculator CLI

## Instalação

Instale usando pip ou pipx (recomendado)

```
$ pipx install riguima-calculator-cli
```

Dá para fazer contas com as 4 operações matemáticas, segue exemplos:

```
$ calculator add 4 3 -f 5.5 # Utilize -f para número com ponto flutuante
12.5
```

```
$ calculator subtract 2 4 5 --even # Utilize --even para calcular somente números pares
-2
```

```
$ calculator multiply 3 2 9 --odd # Utilize --odd para calcular somente números ímpares
27
```

```
$ calculator divide 50 2 1
25.0
```
osmilepipdemo 0.0.1
a pip upload bag
Requires Python: >=3.6

# 这是一个可以上传到pypi的例程

# pypi网站
[https://pypi.org/](https://pypi.org/)

# 操作流程
## 安装需要的包
```
python -m pip install --upgrade build
python -m pip install --upgrade twine
```
## 编译包
```
python -m build
```

## 上传包
```
python -m twine upload --repository testpypi dist/*
```
riguima-stopwatch 0.1.0
Crônometro feito do repositório app ideas: https://github.com/florinpop17/app-ideas
Requires Python: >=3.11,<4.0

# Stopwatch

Aplicação de crônometro em TUI desenvolvida a partir do repositório [app ideas](https://github.com/florinpop17/app-ideas/blob/master/Projects/1-Beginner/Stopwatch-App.md)

## Instalação

Instale usando pip ou pipx (recomendado)

```
$ pip install riguima-stopwatch
```

```
$ pipx install riguima-stopwatch
```

Rode com o comando `stopwatch`