pyciphersuite


Namepyciphersuite JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/jxdv/pyciphersuite
SummaryPython API wrapper for ciphersuiteinfo
upload_time2023-12-21 19:02:01
maintainer
docs_urlNone
authorjxdv
requires_python
licenseMIT
keywords python3 api rest api ciphersuite
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyciphersuite

Get information related to cipher suites.

## Installation

```bash
python3 -m venv env && source env/bin/activate
(env) python3 -m pip install requests pyciphersuite
```

## Usage

List all available cipher suites:

```python
import pyciphersuite

suites = pyciphersuite.list_all_cs()
print(suites)
```

Display cipher suite information for the given IANA name:

```python
suite = pyciphersuite.display_cs("TLS_DH_anon_EXPORT_WITH_RC4_40_MD5")
print(suite)
```

Display cipher suites supported by the given TLS version:

```python
suites = pyciphersuite.display_cs_for_tls_version("12") # TLS version 1.2
print(suites)
```

Display cipher suites with the given security level:

```python
suites = pyciphersuite.display_cs_for_security_lvl("weak")
print(suites)
```

Display cipher suites supported by the given library:

```python
suites = pyciphersuite.display_cs_for_given_lib("gnutls")
print(suites)
```

List all available RFCs:

```python
rfcs = pyciphersuite.list_all_rfcs()
print(rfcs)
```

Display RFC with the given number:

```python
rfc = pyciphersuite.display_rfc("6367")
print(rfc)
```

## Purpose

I've been using ciphersuite APIs in a lot of my internally developed security scripts, and felt it was really redundant to write the same requests over and over, so I've decided to write
this small API wrapper. It will get rid of redundancies in my scripts and maybe help some other people too.

## License

[MIT](./LICENSE)



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jxdv/pyciphersuite",
    "name": "pyciphersuite",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python3,api,rest api,ciphersuite",
    "author": "jxdv",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/39/80/bbc3d1d45075a175013597160ff2e98ed9434d5dfa496b89a5d146bb24de/pyciphersuite-0.1.1.tar.gz",
    "platform": null,
    "description": "# pyciphersuite\n\nGet information related to cipher suites.\n\n## Installation\n\n```bash\npython3 -m venv env && source env/bin/activate\n(env) python3 -m pip install requests pyciphersuite\n```\n\n## Usage\n\nList all available cipher suites:\n\n```python\nimport pyciphersuite\n\nsuites = pyciphersuite.list_all_cs()\nprint(suites)\n```\n\nDisplay cipher suite information for the given IANA name:\n\n```python\nsuite = pyciphersuite.display_cs(\"TLS_DH_anon_EXPORT_WITH_RC4_40_MD5\")\nprint(suite)\n```\n\nDisplay cipher suites supported by the given TLS version:\n\n```python\nsuites = pyciphersuite.display_cs_for_tls_version(\"12\") # TLS version 1.2\nprint(suites)\n```\n\nDisplay cipher suites with the given security level:\n\n```python\nsuites = pyciphersuite.display_cs_for_security_lvl(\"weak\")\nprint(suites)\n```\n\nDisplay cipher suites supported by the given library:\n\n```python\nsuites = pyciphersuite.display_cs_for_given_lib(\"gnutls\")\nprint(suites)\n```\n\nList all available RFCs:\n\n```python\nrfcs = pyciphersuite.list_all_rfcs()\nprint(rfcs)\n```\n\nDisplay RFC with the given number:\n\n```python\nrfc = pyciphersuite.display_rfc(\"6367\")\nprint(rfc)\n```\n\n## Purpose\n\nI've been using ciphersuite APIs in a lot of my internally developed security scripts, and felt it was really redundant to write the same requests over and over, so I've decided to write\nthis small API wrapper. It will get rid of redundancies in my scripts and maybe help some other people too.\n\n## License\n\n[MIT](./LICENSE)\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python API wrapper for ciphersuiteinfo",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/jxdv/pyciphersuite"
    },
    "split_keywords": [
        "python3",
        "api",
        "rest api",
        "ciphersuite"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8474bfe782356b97253e5c467bd2bcc5939869ef6e0093c85c42404293290ea7",
                "md5": "ba073bbe985b65942137b8ad197007f7",
                "sha256": "f9f58f6e74d701b99ed9075d6ba4c2a46b1125df34374b8fbfc00b6d4b70b359"
            },
            "downloads": -1,
            "filename": "pyciphersuite-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ba073bbe985b65942137b8ad197007f7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3864,
            "upload_time": "2023-12-21T19:01:58",
            "upload_time_iso_8601": "2023-12-21T19:01:58.632069Z",
            "url": "https://files.pythonhosted.org/packages/84/74/bfe782356b97253e5c467bd2bcc5939869ef6e0093c85c42404293290ea7/pyciphersuite-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3980bbc3d1d45075a175013597160ff2e98ed9434d5dfa496b89a5d146bb24de",
                "md5": "612bb78d72f2ffc16b6529f4fecba558",
                "sha256": "04235795fdf657f72b40774b3246556d3897b5667bba365749ff868c516bd87c"
            },
            "downloads": -1,
            "filename": "pyciphersuite-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "612bb78d72f2ffc16b6529f4fecba558",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3326,
            "upload_time": "2023-12-21T19:02:01",
            "upload_time_iso_8601": "2023-12-21T19:02:01.710641Z",
            "url": "https://files.pythonhosted.org/packages/39/80/bbc3d1d45075a175013597160ff2e98ed9434d5dfa496b89a5d146bb24de/pyciphersuite-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-21 19:02:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jxdv",
    "github_project": "pyciphersuite",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyciphersuite"
}
        
Elapsed time: 3.01420s