PKG-INFO 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Metadata-Version: 1.1
  2. Name: ndg_httpsclient
  3. Version: 0.4.0
  4. Summary: Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL
  5. Home-page: https://github.com/cedadev/ndg_httpsclient/
  6. Author: Richard Wilkinson and Philip Kershaw
  7. Author-email: Philip.Kershaw@stfc.ac.uk
  8. License: BSD - See LICENCE file for details
  9. Description:
  10. This is a HTTPS client implementation for httplib and urllib2 based on
  11. PyOpenSSL. PyOpenSSL provides a more fully featured SSL implementation over the
  12. default provided with Python and importantly enables full verification of the
  13. SSL peer.
  14. Releases
  15. ========
  16. 0.4.0
  17. -----
  18. * Made dual compatible with Python 2 / 3.
  19. 0.3.3
  20. -----
  21. * Fix to add in AnotherName for ``subjectAltNames`` field - added for support for CACert issued
  22. certs (thanks to Gu1).
  23. * Fix to HTTP Basic Auth option for ``ndg.httpsclient.utils.main``
  24. * Fix to ``ServerSSLCertVerification`` so that it can pass a function-based callback instead of using ``__call__``. In newer versions of OpenSSL (>= 0.14) the latter failed because of a request for ``__name__`` attribute.
  25. 0.3.2
  26. -----
  27. * Fix to SubjectAltNames support check - should only be enabled if pyasn1 is
  28. installed.
  29. * Fix to open_url: HTTP Request object was being created inside if headers is
  30. None block - now corrected to create regardless.
  31. * Added http basic auth support to script. (Thanks to Willem van Engen)
  32. 0.3.1
  33. -----
  34. * extended utils functions to support keyword for passing additional urllib2
  35. handlers.
  36. 0.3.0
  37. -----
  38. * Added ndg.httpsclient.utils.fetch_stream_from_url function and added
  39. parameter for data to post in open_url and fetch_* methods.
  40. * fix to ndg.httpsclient.utils module _should_use_proxy and open_url functions
  41. 0.2.0
  42. -----
  43. * added support for SSL verification with subjectAltNames using pyasn1
  44. * fixed minor bug - SSL cert DN prefix matching
  45. 0.1.0
  46. -----
  47. Initial release
  48. Prerequisites
  49. =============
  50. This has been developed and tested for Python 2.6 and 2.7 with pyOpenSSL 0.13 and 0.14.
  51. Version 0.4.0 tested with pyOpenSSL 0.15.1 and Python 2.7 and 3.4. Note that proxy support
  52. is only available from Python 2.6.2 onwards. pyasn1 is required for correct SSL
  53. verification with subjectAltNames.
  54. Installation
  55. ============
  56. Installation can be performed using easy_install or pip.
  57. Running ndg_httpclient
  58. ======================
  59. A simple script for fetching data using HTTP or HTTPS GET from a specified URL.
  60. Parameter:
  61. ``url``
  62. The URL of the resource to be fetched
  63. Options:
  64. ``-h, --help``
  65. Show help message and exit.
  66. ``-c FILE, --certificate=FILE``
  67. Certificate file - defaults to ``$HOME/credentials.pem``
  68. ``-k FILE, --private-key=FILE``
  69. Private key file - defaults to the certificate file
  70. ``-t DIR, --ca-certificate-dir=DIR``
  71. Trusted CA certificate file directory.
  72. ``-d, --debug``
  73. Print debug information - this may be useful in solving problems with HTTP or
  74. HTTPS access to a server.
  75. ``-p FILE, --post-data-file=FILE``
  76. POST data file
  77. ``-f FILE, --fetch=FILE``
  78. Output file
  79. ``-n, --no-verify-peer``
  80. Skip verification of peer certificate.
  81. Platform: UNKNOWN
  82. Classifier: Development Status :: 3 - Alpha
  83. Classifier: Environment :: Console
  84. Classifier: Environment :: Web Environment
  85. Classifier: Intended Audience :: End Users/Desktop
  86. Classifier: Intended Audience :: Developers
  87. Classifier: Intended Audience :: System Administrators
  88. Classifier: Intended Audience :: Science/Research
  89. Classifier: License :: OSI Approved :: BSD License
  90. Classifier: Natural Language :: English
  91. Classifier: Operating System :: Microsoft :: Windows
  92. Classifier: Operating System :: POSIX :: Linux
  93. Classifier: Programming Language :: Python
  94. Classifier: Topic :: Security
  95. Classifier: Topic :: Internet
  96. Classifier: Topic :: Scientific/Engineering
  97. Classifier: Topic :: System :: Distributed Computing
  98. Classifier: Topic :: System :: Systems Administration :: Authentication/Directory
  99. Classifier: Topic :: Software Development :: Libraries :: Python Modules