# Tor Circuits Manager
This package provides a set of classes to construct circuit manager
that matches your taste.
Use it in conjunction with [mintc](https://github.com/amateur80lvl/mintc).
How to:
```python
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/amateur80lvl/tcman",
"name": "tcman",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "tor,onion,controller,asyncio",
"author": "amateur80lvl",
"author_email": "amateur80lvl@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/09/95/8ee15f0a54795be20fc646caaa19af1559eaaa776c5670c4eada2814261d/tcman-0.0.1.tar.gz",
"platform": null,
"description": "# Tor Circuits Manager\n\nThis package provides a set of classes to construct circuit manager\nthat matches your taste.\n\nUse it in conjunction with [mintc](https://github.com/amateur80lvl/mintc).\n\nHow to:\n\n```python\n\n import asyncio\n from mintc import TorController\n from tcman import *\n\n class MyCircuitsManager(\n CircuitsManagerBase,\n RoundRobinManager,\n PromiscuousPathBuilder,\n Logger\n ):\n pass\n\n async def main():\n async with TorController('127.0.0.1:9051') as tc:\n await tc.authenticate('password')\n async with MyCircuitsManager(tc, num_hops=2, max_circuits=500) as tcm:\n await tcm.run()\n\n asyncio.run(main())\n```\n\nMind exceptions and re-run when shit happens.\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Tor Circuits Manager",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/amateur80lvl/tcman"
},
"split_keywords": [
"tor",
"onion",
"controller",
"asyncio"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "697e3c7fb25fbafc0606a7a0865c125d028f1fd44630fae9aef67a0a5536c872",
"md5": "575c5331f5f4fadfce0d356f6b10afb9",
"sha256": "10ddd6c32d2e163c8dfa9fa65b53ef3bf552529228ff50e00ba8204d80eaeffe"
},
"downloads": -1,
"filename": "tcman-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "575c5331f5f4fadfce0d356f6b10afb9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10023,
"upload_time": "2023-07-26T05:31:12",
"upload_time_iso_8601": "2023-07-26T05:31:12.456014Z",
"url": "https://files.pythonhosted.org/packages/69/7e/3c7fb25fbafc0606a7a0865c125d028f1fd44630fae9aef67a0a5536c872/tcman-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "09958ee15f0a54795be20fc646caaa19af1559eaaa776c5670c4eada2814261d",
"md5": "54dfd477ca54700e34a65dab879f95c9",
"sha256": "51b2444bf844cb2ac424bd4f4028e7aa895f21b23aec87bab5ee46c2d7be3ad0"
},
"downloads": -1,
"filename": "tcman-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "54dfd477ca54700e34a65dab879f95c9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8723,
"upload_time": "2023-07-26T05:31:14",
"upload_time_iso_8601": "2023-07-26T05:31:14.427571Z",
"url": "https://files.pythonhosted.org/packages/09/95/8ee15f0a54795be20fc646caaa19af1559eaaa776c5670c4eada2814261d/tcman-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-26 05:31:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "amateur80lvl",
"github_project": "tcman",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "tcman"
}