dtcm


Namedtcm JSON
Version 0.2.15 PyPI version JSON
download
home_pagehttps://declassed.art/repository/dtcm
SummaryDeclassed Tor Circuits Manager
upload_time2022-09-23 14:34:42
maintainer
docs_urlNone
authorAXY
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
Declassed Tor Circuits Manager

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

How to use:

import dtcm

config = {
    'tor': {
        'address': '127.0.0.1',
        'socks_port': 9100,
        'control_port': 9051,
        'password': '12345'
    },
    'circuits': {
       'short': True,  # use circuits with minimal number of nodes
       'count': 100,
       'max_lifetime': 900
    }
}

dtcm.init(config)
# dtcm.logger.setLevel(logging.DEBUG)
# your code here, a crawler, right?
dtcm.fini()

:copyright: Copyright 2022 AXY axy@declassed.art
:license: BSD, see LICENSE for details.



            

Raw data

            {
    "_id": null,
    "home_page": "https://declassed.art/repository/dtcm",
    "name": "dtcm",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "AXY",
    "author_email": "axy@declassed.art",
    "download_url": "https://files.pythonhosted.org/packages/74/5b/73abc8499d040d7690b5f2dca3ad011a875f8b5990080763adfa062f7baf/dtcm-0.2.15.tar.gz",
    "platform": null,
    "description": "\nDeclassed Tor Circuits Manager\n\nMaintain the specified number of circuits and attach streams to them in a round-robin manner.\n\nHow to use:\n\nimport dtcm\n\nconfig = {\n    'tor': {\n        'address': '127.0.0.1',\n        'socks_port': 9100,\n        'control_port': 9051,\n        'password': '12345'\n    },\n    'circuits': {\n       'short': True,  # use circuits with minimal number of nodes\n       'count': 100,\n       'max_lifetime': 900\n    }\n}\n\ndtcm.init(config)\n# dtcm.logger.setLevel(logging.DEBUG)\n# your code here, a crawler, right?\ndtcm.fini()\n\n:copyright: Copyright 2022 AXY axy@declassed.art\n:license: BSD, see LICENSE for details.\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Declassed Tor Circuits Manager",
    "version": "0.2.15",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "03ee0cf782a6099164a45b7a96a475fc",
                "sha256": "7c9f908424ca378599414bb282d3fa15b4baa861f6ef9068e599cc6e77f11c79"
            },
            "downloads": -1,
            "filename": "dtcm-0.2.15-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "03ee0cf782a6099164a45b7a96a475fc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4745,
            "upload_time": "2022-09-23T14:34:41",
            "upload_time_iso_8601": "2022-09-23T14:34:41.434547Z",
            "url": "https://files.pythonhosted.org/packages/2d/48/da468521ec8c125b99d5d5241b55cfac1b3b3ae6fec580941e5cfe8bedc3/dtcm-0.2.15-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "f2592a6eb7422f3511b240d7333067c1",
                "sha256": "cde8b833a6a9f04fe250b6fbdec624032b7ecd4d612983979f8372408fcc9aa1"
            },
            "downloads": -1,
            "filename": "dtcm-0.2.15.tar.gz",
            "has_sig": false,
            "md5_digest": "f2592a6eb7422f3511b240d7333067c1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4138,
            "upload_time": "2022-09-23T14:34:42",
            "upload_time_iso_8601": "2022-09-23T14:34:42.844713Z",
            "url": "https://files.pythonhosted.org/packages/74/5b/73abc8499d040d7690b5f2dca3ad011a875f8b5990080763adfa062f7baf/dtcm-0.2.15.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-09-23 14:34:42",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "dtcm"
}
        
AXY
Elapsed time: 0.49550s