Skip to main content

Tor Circuits Manager

Project description

Tor Circuits Manager

This package provides a set of classes to construct circuit manager that matches your taste.

Use it in conjunction with mintc.

How to:

    import asyncio
    from mintc import TorController
    from tcman import *

    class MyCircuitsManager(
        CircuitsManagerBase,
        RoundRobinManager,
        PromiscuousPathBuilder,
        Logger
    ):
        pass

    async def main():
        async with TorController('127.0.0.1:9051') as tc:
            await tc.authenticate('password')
            async with MyCircuitsManager(tc, num_hops=2, max_circuits=500) as tcm:
                await tcm.run()

    asyncio.run(main())

Mind exceptions and re-run when shit happens.

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

tcman-0.0.1.tar.gz (8.7 kB view hashes)

Uploaded Source

Built Distribution

tcman-0.0.1-py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 3

Supported by

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