Skip to main content

Declassed Tor Circuits Manager version 2

Project description

Maintain the specified number of circuits and attach streams to them in a round-robin manner.

How to use:

from dtcm2 import TorCircuitsManager

async with TorCircuitsManager('127.0.0.1', 9051, 'my-secret-password',
                              hops=2, num_circuits=500) as tcm:
    await tcm.run()

Mind exceptions and re-run this block when shit happens. Up to you.

This module uses torcontrol. See also Stem-based version 1: https://declassed.art/repository/dtcm

copyright:

Copyright 2022 AXY axy@declassed.art

license:

LGPLv3, see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dtcm2-2.0.2.tar.gz (7.0 kB view hashes)

Uploaded source

Built Distribution

dtcm2-2.0.2-py3-none-any.whl (7.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page