onion-location


Nameonion-location JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryDiscover advertised Onion-Location for given URLs
upload_time2024-08-02 10:12:25
maintainerNone
docs_urlNone
authorFrederik “Freso” S. Olesen
requires_python>=3.9
licenseNone
keywords onion-location tor
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. SPDX-FileCopyrightText: © 2024 Frederik “Freso” S. Olesen
.. SPDX-License-Identifier: AGPL-3.0-or-later

================
 Onion-Location
================

Python library for discovering `Onion-Location`_ HTTP headers.

.. _`Onion-Location`: https://community.torproject.org/onion-services/advanced/onion-location/

-------
 Usage
-------

>>> from onion_location import get_onion_location
>>> get_onion_location("https://www.torproject.org/")
'http://2gzyxa5ihm7nsggfxnu52rck2vv4rvmdlkiu3zzui5du4xyclen53wid.onion/index.html'

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "onion-location",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "Onion-Location, Tor",
    "author": "Frederik \u201cFreso\u201d S. Olesen",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/72/0d/e2656bdb8c66dc590da40622ca843f0513cd6f4b78bb1f9b6ed4592d283e/onion_location-0.1.0.tar.gz",
    "platform": null,
    "description": ".. SPDX-FileCopyrightText: \u00a9 2024 Frederik \u201cFreso\u201d S. Olesen\n.. SPDX-License-Identifier: AGPL-3.0-or-later\n\n================\n Onion-Location\n================\n\nPython library for discovering `Onion-Location`_ HTTP headers.\n\n.. _`Onion-Location`: https://community.torproject.org/onion-services/advanced/onion-location/\n\n-------\n Usage\n-------\n\n>>> from onion_location import get_onion_location\n>>> get_onion_location(\"https://www.torproject.org/\")\n'http://2gzyxa5ihm7nsggfxnu52rck2vv4rvmdlkiu3zzui5du4xyclen53wid.onion/index.html'\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Discover advertised Onion-Location for given URLs",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://codeberg.org/Freso/python-onion-location",
        "Issues": "https://codeberg.org/Freso/python-onion-location/issues",
        "Repository": "https://codeberg.org/Freso/python-onion-location.git"
    },
    "split_keywords": [
        "onion-location",
        " tor"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ab426f5bb9863dfde6320a28abc10f053952585aff0a2f22929d5c651f3fb3cc",
                "md5": "9f1fd9778d7bc7dfdf17525f505349d0",
                "sha256": "01ebb3eaad34496a9b7c09d44ea6689e9fdfd69d9e842e808c92d33c9295b641"
            },
            "downloads": -1,
            "filename": "onion_location-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9f1fd9778d7bc7dfdf17525f505349d0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 18123,
            "upload_time": "2024-08-02T10:12:26",
            "upload_time_iso_8601": "2024-08-02T10:12:26.431674Z",
            "url": "https://files.pythonhosted.org/packages/ab/42/6f5bb9863dfde6320a28abc10f053952585aff0a2f22929d5c651f3fb3cc/onion_location-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "720de2656bdb8c66dc590da40622ca843f0513cd6f4b78bb1f9b6ed4592d283e",
                "md5": "c9773b0235d50e83c54acb87b998d025",
                "sha256": "37dc14eab3a22b8948f8301542344144682108d1564289482827dc45106ee1d5"
            },
            "downloads": -1,
            "filename": "onion_location-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "c9773b0235d50e83c54acb87b998d025",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 19367,
            "upload_time": "2024-08-02T10:12:25",
            "upload_time_iso_8601": "2024-08-02T10:12:25.251050Z",
            "url": "https://files.pythonhosted.org/packages/72/0d/e2656bdb8c66dc590da40622ca843f0513cd6f4b78bb1f9b6ed4592d283e/onion_location-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-02 10:12:25",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": true,
    "codeberg_user": "Freso",
    "codeberg_project": "python-onion-location",
    "lcname": "onion-location"
}
        
Elapsed time: 0.73566s