Metadata-Version: 2.1
Name: pyarti
Version: 0.0.1
Author-email: Kushal Das <mail@kushaldas.in>
Project-URL: Homepage, https://github.com/kushaldas/pyarti
Project-URL: Bug Tracker, https://github.com/kushaldas/pyarti/issues
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# pyarti

It is a Python module to allow creating of SOCKS5 proxy using [Arti](https://gitlab.torproject.org/tpo/core/arti/) project from the [Tor Project](https://www.torproject.org).

By default it runs the proxy at port 9150 on localhost.

## How to build?

First install [Rustup toolchain](https://rustup.rs) for your user.

### Build dependencies in Fedora

```
sudo dnf install python3-devel openssl-devel
```

### Build dependencies in Debian Bullseye

```
sudo apt install -y python3-dev python3-pip python3-venv
```

Then create a virtual environment and follow along.

```
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements-dev.txt
python setup.py develop
```

For a release build use the following command.

```
python setup.py bdist_wheel
`````


## How to use?

```
proxy = OnionProxy()
assert proxy.verify(blocking=True)
```

Documentation coming soon.
