File: PKG-INFO

package info (click to toggle)
python-pem 19.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 280 kB
  • sloc: python: 925; makefile: 164
file content (128 lines) | stat: -rw-r--r-- 5,469 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
Metadata-Version: 2.1
Name: pem
Version: 19.1.0
Summary: Easy PEM file parsing in Python.
Home-page: https://pem.readthedocs.io/
Author: Hynek Schlawack
Author-email: hs@ox.cx
Maintainer: Hynek Schlawack
Maintainer-email: hs@ox.cx
License: MIT
Project-URL: Documentation, https://pem.readthedocs.io/
Project-URL: Bug Tracker, https://github.com/hynek/pem/issues
Project-URL: Source Code, https://github.com/hynek/pem
Description: pem: Easy PEM file parsing
        ==========================
        
        .. image:: https://readthedocs.org/projects/pem/badge/?version=stable
          :target: https://pem.readthedocs.io/en/stable/?badge=stable
          :alt: Documentation Status
        
        .. image:: https://travis-ci.org/hynek/pem.svg?branch=master
           :target: https://travis-ci.org/hynek/pem
           :alt: CI status
        
        .. image:: https://codecov.io/gh/hynek/pem/branch/master/graph/badge.svg
           :target: https://codecov.io/github/hynek/pem
           :alt: Coverage
        
        .. image:: https://www.irccloud.com/invite-svg?channel=%23cryptography-dev&hostname=irc.freenode.net&port=6697&ssl=1
           :target: https://www.irccloud.com/invite?channel=%23cryptography-dev&hostname=irc.freenode.net&port=6697&ssl=1
        
        .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
           :target: https://github.com/ambv/black
           :alt: Code style: black
        
        .. image:: http://www.mypy-lang.org/static/mypy_badge.svg
           :target: http://mypy-lang.org
           :alt: Checked with mypy
        
        .. teaser-begin
        
        ``pem`` is an MIT_-licensed Python module for parsing and splitting of `PEM files`_, i.e. Base64 encoded DER keys and certificates.
        
        It runs on Python 2.7, 3.4+, and PyPy, has no dependencies, and does not attempt to interpret the certificate data in any way.
        
        It’s born from the need to load keys, certificates, trust chains, and DH parameters from various certificate deployments: some servers (like Apache_) expect them to be a separate file, others (like nginx_) expect them concatenated to the server certificate and finally some (like HAProxy_) expect key, certificate, and chain to be in one file.
        With ``pem``, your Python application can cope with all of those scenarios:
        
        .. code-block:: pycon
        
           >>> import pem
           >>> certs = pem.parse_file("chain.pem")
           >>> certs
           [<Certificate(PEM string with SHA-1 digest '...')>, <Certificate(PEM string with SHA-1 digest '...')>]
           >>> str(certs[0])
           '-----BEGIN CERTIFICATE-----\n...'
        
        Additionally to the vanilla parsing code, ``pem`` also contains helpers for Twisted_ that save a lot of boilerplate code.
        
        ``pem``\ ’s documentation lives at `Read the Docs <https://pem.readthedocs.io/>`_, the code on `GitHub <https://github.com/hynek/pem>`_.
        
        
        .. _MIT: https://choosealicense.com/licenses/mit/
        .. _`PEM files`: https://en.wikipedia.org/wiki/X.509#Certificate_filename_extensions
        .. _Apache: https://httpd.apache.org/
        .. _nginx: https://nginx.org/
        .. _HAProxy: https://www.haproxy.org/
        .. _Twisted: https://twistedmatrix.com/documents/current/api/twisted.internet.ssl.Certificate.html#loadPEM
        
        
        Release Information
        ===================
        
        19.1.0 (2019-03-19)
        -------------------
        
        
        Backward-incompatible changes:
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        
        *none*
        
        
        Deprecations:
        ^^^^^^^^^^^^^
        
        *none*
        
        
        Changes:
        ^^^^^^^^
        
        - You can now load encrypted PKCS#8 PEM key as ``pem.Key``.
        - Added support for ``pem.PublicKey`` (``PUBLIC KEY``).
        - Added support for ``pem.RSAPublicKey`` (``RSA PUBLIC KEY``).
        
        `Full changelog <https://pem.readthedocs.io/en/stable/changelog.html>`_.
        
        Credits
        =======
        
        ``pem`` is written and maintained by Hynek Schlawack.
        
        The development is kindly supported by `Variomedia AG <https://www.variomedia.de/>`_.
        
        A full list of contributors can be found on GitHub’s `overview <https://github.com/hynek/pem/graphs/contributors>`_.
        
Keywords: pyopenssl,ssl,tls,pem,cryptography,twisted
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: dev
Provides-Extra: docs
Provides-Extra: tests