clach04 / image_ls

Command line tool to dump out simple meta data about images and (CBR, CBT, and CBZ) Comics
Apache License 2.0
0 stars 0 forks source link

support CBR, CB7 via libarchive #1

Open clach04 opened 1 year ago

clach04 commented 1 year ago

https://github.com/Changaco/python-libarchive-c https://github.com/fsspec/filesystem_spec/blob/master/fsspec/implementations/libarchive.py

clach04 commented 1 year ago

Alternative libs:

clach04 commented 1 year ago

Python 3.6 support needed for https://github.com/markokr/rarfile needs:

from __future__ import print_function  # for python 2.7
## but f-strings are used which are Python 3.6+

Look at using converter to generate a 2.7 version. E.g. using https://github.com/mbarkhau/lib3to6

clach04 commented 5 months ago

Python 3.6 support needed for https://github.com/markokr/rarfile needs:

from __future__ import print_function  # for python 2.7
## but f-strings are used which are Python 3.6+

Look at using converter to generate a 2.7 version. E.g. using https://github.com/mbarkhau/lib3to6

Attempted and encountered issues, https://gitlab.com/mbarkhau/lib3to6/-/issues/11 lib3to6 requires significant rewrite of rarfile.

Consider alternative tools instead: