semvec/pypi-packages huggingface dataset:
scui 0.0.2
Demo static svelte UI distributed as a python package.

# scui
Demo static svelte UI distributed as a python package.


## UI
Minimal svelte demo app from `npm create svelte@latest`.

- Uses [static adapter](https://kit.svelte.dev/docs/adapter-static#usage)
- Does not include the usual svelte demo sverdle game (which requires a server)


```sh
cd ui
npm install

# dev server - type 'o' to open browser on http://localhost:5173
npm run dev

# build into build directory
npm run build
```

## pip installable scui package
This package includes a static web server and a bundle with the svelte UI build.

```sh
pip install scui
scui
```

### To rebuild and publish the scui package
This assumes that access to pypi.org has been configured.  
First npm install and npm build the svelte UI (see above)

```sh
pip install build twine
python -m build
python -m twine upload dist/*
````
cliwiper 1.1.4
clear the cli
Requires Python: >=3.8

# cliwiper
A Basic cli cleaner in the form as a cross-platform Python module that provides a function which clears the terminal.  
**This is a simpler alternative to defining this function on your own**.  

# Installation
To install with pip, or pipx run:  

`pip install cliwiper`  
`pipx install cliwiper`  

# Usages  

```
from cliwiper import cliwiper  
```
```
cliwiper.wiper()  
```
or  

```
from cliwiper.cliwiper import wiper  
```
```
wiper()  
```

# License  
This project is licensed under the terms of the [MIT license](#LICENSE).
tcCalc3 0.0.4
A simple calculator package
Requires Python: >=3.6

# Simple Python Math Calculator

This package is a simple math calculator. It has basic operations such as addition, subtraction,
multiplication, and division. Additionally, it also has the ability to find the nth root. This calculator
will store all values computed until the memory is reset.

## Installation

Installing tcCalc3 with pip

`pip install tcCalc3`

## Features

- Addition
- Subtraction
- Multiplication
- Division
- nth Root

## Methods

**.memory()** - *Return the current value stored in the calculator's memory*

**.add(num)**- *Add value to the calculator's current value.*
   
**.subtract(num)** - *Subtract value from the calculator's current value.*

**.multiply(num)** - *Multiply value of the calculator's current value.*

**.divide(num)** - *Divide value of the calculator's current value.*

**.nroot(num, n)** - *Calculate the nth root of a number.*

**.reset()** - *Reset the calculators value in memory back to zero.*


## Usage

```
from tcCalc.calculator import Calculator

# Initialize instance
calculator = Calculator()

# Calling the methods

>>> calculator.add(10)
10

>>> calculator.subtract(3)
7

>>> calculator.multiply(3)
21

>>> calculator.divide(3)
7

>>> calculator.nroot(81,2)
9

>>> calculator.memory()
7

>>> calculator.reset()
0

```
tor-python-easy 0.1.7
Simple library to manage tor proxy and IP changes
Requires Python: >=3.8,<4.0

# tor-python-easy

[![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)
[![CI Main](https://github.com/markowanga/tor-python-easy/actions/workflows/python-master.yml/badge.svg)](https://github.com/markowanga/tor-python-easy/actions/workflows/python-master.yml)
[![PyPI version](https://badge.fury.io/py/tor-python-easy.svg)](https://badge.fury.io/py/tor-python-easy)
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)


**tor-python-easy** was developed for use tor proxy in python with easy interface, which allow for
changing ip address whenever you want.

Repo is very simple but if you want you can **add new feature request**.

## Donate

If you want to sponsor me, in thanks for the project, please send me some crypto 😁:

|Coin|Wallet address|
|---|---|
|Bitcoin|`3EajE9DbLvEmBHLRzjDfG86LyZB4jzsZyg`|
|Etherum|`0xE43d8C2c7a9af286bc2fc0568e2812151AF9b1FD`|

## Installation

Library is only one file, so you can copy it to project.

However, if you want you can install it with pip:

```bash
pip3 install tor-python-easy
```

## Run tor proxy

There are two simple ways to run tor proxy.

1. First one is using docker and docker-compose from this repo. You can manipulate with mapping
   ports and password.
   ```shell
   docker-compose up
   ```
2. Second one uses tor installed in OS
   ```shell
   tor --controlport 9051 
   ```

## Use lib with python

1. In terminal
   ```shell
   docker-compose up
   ```
2. In Python
   ```python
   from tor_python_easy.tor_control_port_client import TorControlPortClient
   from tor_python_easy.tor_socks_get_ip_client import TorSocksGetIpClient
   
   if __name__ == '__main__':
       proxy_config = {
           'http': 'socks5://localhost:9050',
           'https': 'socks5://localhost:9050',
       }
       ip_client = TorSocksGetIpClient(proxy_config)
       tor_control_port_client = TorControlPortClient('localhost', 9051, 'test1234')
   
       for it in range(10):
           old_ip = ip_client.get_ip()
           tor_control_port_client.change_connection_ip(seconds_wait=10)
           new_ip = ip_client.get_ip()
           print(f'iteration {it + 1} ::  {old_ip} -> {new_ip}')
   ```
   
   Output will give 10 IP migrations.