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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file tcman-0.0.1.tar.gz.

File metadata

  • Download URL: tcman-0.0.1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for tcman-0.0.1.tar.gz
Algorithm Hash digest
SHA256 51b2444bf844cb2ac424bd4f4028e7aa895f21b23aec87bab5ee46c2d7be3ad0
MD5 54dfd477ca54700e34a65dab879f95c9
BLAKE2b-256 09958ee15f0a54795be20fc646caaa19af1559eaaa776c5670c4eada2814261d

See more details on using hashes here.

File details

Details for the file tcman-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tcman-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for tcman-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 10ddd6c32d2e163c8dfa9fa65b53ef3bf552529228ff50e00ba8204d80eaeffe
MD5 575c5331f5f4fadfce0d356f6b10afb9
BLAKE2b-256 697e3c7fb25fbafc0606a7a0865c125d028f1fd44630fae9aef67a0a5536c872

See more details on using hashes here.

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