multi volume file wrapper library
.. image:: https://coveralls.io/repos/github/miurahr/multivolume/badge.svg?branch=master :target: https://coveralls.io/github/miurahr/multivolume?branch=master
.. image:: https://github.com/miurahr/multivolume/workflows/Run%20Tox%20tests/badge.svg :target: https://github.com/miurahr/multivolume/actions
MultiVolumefile is a python library to provide a file-object wrapping multiple files as virtually like as a single file. It inherit io.RawIOBase class and support some of its standard methods.
See API details at python library reference
_
.. _python library reference
: https://docs.python.org/3/library/io.html
multivolumefile module is under active development and considered as Alpha state. It is not good idea to use it on production systems, but it may work well in a limited range of usage. Please check limitations and passed test cases.
You can install it as usual public libraries, you can use pip command
pip install multivolumefile
You are also able to add it to your setup.py/cfg as dependency.
archive.7z.0001
, archive.7z.0002
and so on,
you can call multivolumefile as follows;.. code-block::
with multivolumefile.open('archive.7z', 'rb') as vol:
data = vol.read(100)
vol.seek(500)
archive.7z.0001
, archive.7z.0002
and so on,
you can call multivolumefile as follows;.. code-block::
data = b'abcdefg'
with multivolumefile.open('archive.7z', 'wb') as vol:
size = vol.write(data)
vol.seek(0)
you will see file archive.7z.001
are written.
You are welcome to contribute the project, as usual on github projects, Pull-Requests are always welcome.
Multivolume is licensed under GNU Lesser General Public license version 2.1 or later.
All notable changes to this project will be documented in this file.
Unreleased
_v0.2.3
_v0.2.2
_v0.2.1
_name
property that indicate basename of volumesstat()
that return stat_result
which has as mostly same methods as os.stat_result
class
except for platform dependent methods.v0.2.0
_v0.1.4
_v0.1.3
_v0.1.2
_v0.1.1
_v0.1.0
_v0.0.5
_.. History links .. _Unreleased: https://github.com/miurahr/py7zr/compare/v0.2.2...HEAD .. _v0.2.2: https://github.com/miurahr/py7zr/compare/v0.2.1...v0.2.2 .. _v0.2.1: https://github.com/miurahr/py7zr/compare/v0.2.0...v0.2.1 .. _v0.2.0: https://github.com/miurahr/py7zr/compare/v0.1.4...v0.2.0 .. _v0.1.4: https://github.com/miurahr/py7zr/compare/v0.1.3...v0.1.4 .. _v0.1.3: https://github.com/miurahr/py7zr/compare/v0.1.2...v0.1.3 .. _v0.1.2: https://github.com/miurahr/py7zr/compare/v0.1.1...v0.1.2 .. _v0.1.1: https://github.com/miurahr/py7zr/compare/v0.1.0...v0.1.1 .. _v0.1.0: https://github.com/miurahr/py7zr/compare/v0.0.5...v0.1.0 .. _v0.0.5: https://github.com/miurahr/py7zr/compare/v0.0.1...v0.0.5