You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
2.5 KiB

4 years ago
  1. Metadata-Version: 2.1
  2. Name: bz2file
  3. Version: 0.98
  4. Summary: Read and write bzip2-compressed files.
  5. Home-page: https://github.com/nvawda/bz2file
  6. Author: Nadeem Vawda
  7. Author-email: nadeem.vawda@gmail.com
  8. License: Apache License, Version 2.0
  9. Platform: UNKNOWN
  10. Classifier: Development Status :: 4 - Beta
  11. Classifier: Intended Audience :: Developers
  12. Classifier: License :: OSI Approved :: Apache Software License
  13. Classifier: Operating System :: OS Independent
  14. Classifier: Programming Language :: Python
  15. Classifier: Programming Language :: Python :: 2
  16. Classifier: Programming Language :: Python :: 2.6
  17. Classifier: Programming Language :: Python :: 2.7
  18. Classifier: Programming Language :: Python :: 3
  19. Classifier: Programming Language :: Python :: 3.0
  20. Classifier: Programming Language :: Python :: 3.1
  21. Classifier: Programming Language :: Python :: 3.2
  22. Classifier: Programming Language :: Python :: 3.3
  23. Classifier: Programming Language :: Python :: 3.4
  24. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  25. Classifier: Topic :: System :: Archiving :: Compression
  26. Bz2file is a Python library for reading and writing bzip2-compressed files.
  27. It contains a drop-in replacement for the file interface in the standard
  28. library's ``bz2`` module, including features from the latest development
  29. version of CPython that are not available in older releases.
  30. Bz2file is compatible with CPython 2.6, 2.7, and 3.0 through 3.4, as well as
  31. PyPy 2.0.
  32. Features
  33. --------
  34. - Supports multi-stream files.
  35. - Can read from or write to any file-like object.
  36. - Can open files in either text or binary mode.
  37. - Added methods: ``peek()``, ``read1()``, ``readinto()``, ``fileno()``,
  38. ``readable()``, ``writable()``, ``seekable()``.
  39. Installation
  40. ------------
  41. To install bz2file, run: ::
  42. $ pip install bz2file
  43. Documentation
  44. -------------
  45. The ``open()`` function and ``BZ2File`` class in this module provide the same
  46. features and interface as the ones in the standard library's ``bz2`` module in
  47. the current development version of CPython, `documented here
  48. <http://docs.python.org/dev/library/bz2.html>`_.
  49. Version History
  50. ---------------
  51. 0.98: 19 January 2014
  52. - Added support for the 'x' family of modes.
  53. - Ignore non-bz2 data at the end of a file, rather than raising an exception.
  54. - Tests now pass on PyPy.
  55. 0.95: 08 October 2012
  56. - Added the ``open()`` function.
  57. - Improved performance when reading in small chunks.
  58. - Removed the ``fileobj`` argument to ``BZ2File()``. To wrap an existing file
  59. object, pass it as the first argument (``filename``).
  60. 0.9: 04 February 2012
  61. - Initial release.