pip-system-certs


Namepip-system-certs JSON
Version 4.0 PyPI version JSON
download
home_pagehttps://gitlab.com/alelec/pip-system-certs
SummaryLive patches pip to use system certs by default
upload_time2022-11-04 11:01:12
maintainer
docs_urlNone
authorAndrew Leech
requires_python>=2.7.9, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
licenseBSD
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ================
pip-system-certs
================

This package patches pip and requests at runtime to use certificates from the default system store (rather than the bundled certs ca).

This will allow pip to verify tls/ssl connections to servers who's cert is trusted by your system install.

Simply install with::

  pip install pip_system_certs

and pip should trust your https sites if your host os does.

This also extends to all direct uses of the requests library (and other packages that use requests)

PyInstaller
-----------
The method used to automatically enable the cert handling in requests/pip/etc relies on a ``.pth``
file script that python loads at startup. This method does not work when a python application is
bundled into an executable with PyInstaller (or similar).

If you want to use this tool in an application built with PyInstaller it will need to be manually
enabled in your application.

This can be done by adding the following line to the top of your main application script::

    import pip_system_certs.wrapt_requests

This must be run before ``requests`` is imported.

Acknowledgements
----------------
The method of patching at runtime is built from the autowrapt module: https://pypi.python.org/pypi/autowrapt


version: 4.0

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/alelec/pip-system-certs",
    "name": "pip-system-certs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=2.7.9, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
    "maintainer_email": "",
    "keywords": "",
    "author": "Andrew Leech",
    "author_email": "andrew@alelec.net",
    "download_url": "https://files.pythonhosted.org/packages/27/9a/4e949d0a281c5dd45c8d5b02b03fe32044936234675e967de49317a1daee/pip_system_certs-4.0.tar.gz",
    "platform": null,
    "description": "================\npip-system-certs\n================\n\nThis package patches pip and requests at runtime to use certificates from the default system store (rather than the bundled certs ca).\n\nThis will allow pip to verify tls/ssl connections to servers who's cert is trusted by your system install.\n\nSimply install with::\n\n  pip install pip_system_certs\n\nand pip should trust your https sites if your host os does.\n\nThis also extends to all direct uses of the requests library (and other packages that use requests)\n\nPyInstaller\n-----------\nThe method used to automatically enable the cert handling in requests/pip/etc relies on a ``.pth``\nfile script that python loads at startup. This method does not work when a python application is\nbundled into an executable with PyInstaller (or similar).\n\nIf you want to use this tool in an application built with PyInstaller it will need to be manually\nenabled in your application.\n\nThis can be done by adding the following line to the top of your main application script::\n\n    import pip_system_certs.wrapt_requests\n\nThis must be run before ``requests`` is imported.\n\nAcknowledgements\n----------------\nThe method of patching at runtime is built from the autowrapt module: https://pypi.python.org/pypi/autowrapt\n\n\nversion: 4.0\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Live patches pip to use system certs by default",
    "version": "4.0",
    "project_urls": {
        "Homepage": "https://gitlab.com/alelec/pip-system-certs"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "708278c30a18858d484acd13a3aea22ead89c66f200e118d1aa4b4bae392efee",
                "md5": "7c93f176bfe0c2665a6b73a37cb5a5a8",
                "sha256": "47202b9403a6f40783a9674bbc8873f5fc86544ec01a49348fa913e99e2ff68b"
            },
            "downloads": -1,
            "filename": "pip_system_certs-4.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7c93f176bfe0c2665a6b73a37cb5a5a8",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=2.7.9, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
            "size": 6070,
            "upload_time": "2022-11-04T11:01:11",
            "upload_time_iso_8601": "2022-11-04T11:01:11.169375Z",
            "url": "https://files.pythonhosted.org/packages/70/82/78c30a18858d484acd13a3aea22ead89c66f200e118d1aa4b4bae392efee/pip_system_certs-4.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "279a4e949d0a281c5dd45c8d5b02b03fe32044936234675e967de49317a1daee",
                "md5": "9a2a7f036fc8ae7866eebe88abcadfbd",
                "sha256": "db8e6a31388d9795ec9139957df1a89fa5274fb66164456fd091a5d3e94c350c"
            },
            "downloads": -1,
            "filename": "pip_system_certs-4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9a2a7f036fc8ae7866eebe88abcadfbd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=2.7.9, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
            "size": 5622,
            "upload_time": "2022-11-04T11:01:12",
            "upload_time_iso_8601": "2022-11-04T11:01:12.537867Z",
            "url": "https://files.pythonhosted.org/packages/27/9a/4e949d0a281c5dd45c8d5b02b03fe32044936234675e967de49317a1daee/pip_system_certs-4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-11-04 11:01:12",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "alelec",
    "gitlab_project": "pip-system-certs",
    "lcname": "pip-system-certs"
}
        
Elapsed time: 0.27741s