semvec/pypi-packages huggingface dataset:
dtcm2 2.0.2
Declassed Tor Circuits Manager version 2
Requires Python: >=3.7


========================================
Declassed Tor Circuits Manager version 2
========================================

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

How to use:

.. code:: python

    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.