semvec/pypi-packages huggingface dataset:
tor-refresh 0.4.6
Refresh your TOR circuit
Requires Python: >=3.10

![](https://img.shields.io/badge/platform-Ubuntu-orange)
![](https://img.shields.io/badge/python-3.10.x-yellow)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/Fraccs/tor-refresh)
![GitHub](https://img.shields.io/github/license/Fraccs/tor-refresh)
![GitHub issues](https://img.shields.io/github/issues/Fraccs/tor-refresh)
![GitHub pull requests](https://img.shields.io/github/issues-pr/Fraccs/tor-refresh)

# TOR Refresh

> 🧅 Refresh your TOR circuit with ease.

---

<img src="https://user-images.githubusercontent.com/78105813/209010594-c6c054d2-e498-44df-95f3-247b9378cfcc.PNG" />

---

## Installation (tor)

> The program needs the tor executable in order to work, skip this if you have it already.

```bash
sudo apt update
```

```bash
sudo apt install tor
```

## Installation (pipx)

### Install pipx

```bash
python3 -m pip install pipx
```

```bash
python3 -m pipx ensurepath
```

### Install tor-refresh

```bash
pipx install tor-refresh
```

```bash
tor_refresh <?port> <?control_port>
```

## Installation (git)

### Install tor-refresh

```bash
git clone https://github.com/Fraccs/tor-refresh.git
```

```bash
python3 src/tor_refresh.py <?port> <?control_port>
```
python-tutuka-client 1.5.2
Tutuka XML-RPC Client
Requires Python: >=3.6
Keywords: tutuka,client

[![wemake-python-styleguide](https://img.shields.io/badge/style-wemake-000000.svg)](https://github.com/wemake-services/wemake-python-styleguide)

# python-tutuka-client

A library for accessing the Tutuka Local API XML-RPC API for python.

[Tutuka Local API Reference](https://developer.tutuka.com/companion-api/api-reference/local-api/)

## Installation

Use the package manager [pipenv](https://pypi.org/project/pipenv/2020.6.2/) to install.

    pipenv install python-tutuka-client

## Usage

Use your own Tutuka credentials.

- **terminal_id** - Tutuka issued terminal ID of the terminal requesting the transaction
- **password** - Tutuka issued terminal password
- **host** - Tutuka Host
- **path** - Tutuka Local API path

```python
from tutuka_client import LocalApiClient

client = LocalApiClient(
    terminal_id='terminal_id',
    password='password',
    host='https://companion.uat.tutuka.cloud',
    path='/v2_0/XmlRpc.cfm',
)
```

## Class Methods

- [CreateLinkedCard](/docs/create_linked_card.md)
- [LinkCard](/docs/link_card.md)
- [OrderCard](/docs/order_card.md)
- [OrderCardWithPinBlock](/docs/order_card_with_pin_block.md)
- [ActivateCard](/docs/activate_card.md)
- [GetActiveLinkedCards](/docs/get_active_linked_cards.md)
- [ChangePin](/docs/change_pin.md)
- [ResetPin](/docs/reset_pin.md)
- [UpdateBearer](/docs/update_bearer.md)
- [TransferLink](/docs/transfer_link.md)
- [StopCard](/docs/stop_card.md)
- [UnstopCard](/docs/unstop_card.md)
- [Status](/docs/status.md)
- [Set3dSecureCode](/docs/set3d_secure_code.md)
- [UpdateCVV](/docs/update_cvv.md)
- [RetireCard](/docs/retire_card.md)
- [Token Lifecycle Management](/docs/token_lifecycle_management.md)

## Test

Tested with [mamba](https://mamba-framework.readthedocs.io/en/latest/), install pipenv dev packages and then run tests.

    pipenv install --dev
    pipenv run make test

## Shell

This project has a script to run a shell with a client initialized so you can test run the API.

```shell
TUTUKA_TERMINAL_ID='0000000000' TUTUKA_PASSWORD='' TUTUKA_HOST='http://api.tutuka.com/' TUTUKA_PATH='companion/v2_0/xmlrpc.cfm' bin/shell
```

```python
# Call a pre-defined method (uuid has been imported to help you generate transaction IDs)
client.get_active_linked_cards('00000000-0000-0000-0000-000000000000', str(uuid.uuid4()))

# Call any RPC method
client.execute(
    method_name='',
    arguments=[]
)
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)
prettify-xml 0.4.5
CLI for prettifying XML
Requires Python: >=3.9

# prettify-xml

[![License: GPL v3](https://img.shields.io/badge/License-GPL_v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
![Python Versions](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%20-blue) 
![Style Black](https://warehouse-camo.ingress.cmh1.psfhosted.org/fbfdc7754183ecf079bc71ddeabaf88f6cbc5c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64652532307374796c652d626c61636b2d3030303030302e737667) 
[![Documentation Status](https://readthedocs.org/projects/xml-formatter/badge/?version=latest)](https://chembee.readthedocs.io/en/latest/?badge=latest)
[![status-badge](https://ci.codeberg.org/api/badges/sail.black/chembee/status.svg)](https://ci.codeberg.org/sail.black/chembee)

# Why 

Pretty xml output is necessary for debugging xml-based communications and other operations involving XML

# What 

It is a simple command-line application formatting XML files written in Python

# Usage 

```bash
xml-formatter -i sample.xml -o formatted_test.xml
```


# Installation

## Production Build 

```bash 
pip install xml-formatter
```

## Dev Build
### Linux 

Run with one of the follwing: 
```bash
bash install.sh
./install.sh
sh install.sh
```


### Windows

Double click on `install.bat` or run

```bash
install.bat
```



# Usage 




```bash
python .\xml-format.py -i .\sample.xml -o formatted_test.xml
```

# Register a shell command 

The section is about registering shell commands using the `Click` library. Maybe you are curious, about crafting your own OS? Go for it! I do it 
and it is a lot of fun :)


The best way to have a system wide executable command on both, Windows and Linux systems is to use setuputools.

There is a description in the click package about [how to do it](https://click.palletsprojects.com/en/8.1.x/setuptools/#setuptools-integration)

In a nutshell, the setup.py file has to follow a certain pattern, e.g.

```python 
from setuptools import setup, find_packages

setup(
    name='prettify_xml',
    version='0.4.3',
    packages=find_packages(),
    include_package_data=True,
    install_requires=[
        'Click',
    ],
    entry_points={
        'console_scripts': [
            'formatter = prettify_xml.formatter:format',
        ],
    },
)
```

Then, you can run on Windows: 

```bash 
python -m venv venv 
venv/Scripts/activate
pip install --editable .
```

And on Linux you can run: 

```bash 
python -m venv venv 
source venv/bin/activate
pip install --editable .
```

Then, test the application with: 

```bash
xml-formatter -i sample.xml -o formatted_test.xml
```