Skip to content

Releases: openzim/python-libzim

v1.1.1

17 Jun 11:42
Compare
Choose a tag to compare

Changed

  • Building with Cython 0.29.30
  • Specifying max python version to 3.10.x in metadata

This release prevents Python 3.11 users from accidentally trying to install libzim.

v1.1.0

23 May 09:32
Compare
Choose a tag to compare

Added

  • Archive.get_metadata_item() (#127)
  • Python 3.10 Support

Changed

  • using libzim 7.2.2
    • RuntimeError exception is now raised on invalid/duplicate entries
  • Allow setting mimetype for metadata
  • Updated Cython to 0.29.28
  • Fixed Archive.filesize (#137)

Removed

  • skip cython on setup.py clean (#131)
  • OFFLINE environ skips network-using tests (#132)

v1.0.0

09 Oct 16:41
Compare
Choose a tag to compare
  • using libzim 7.x
  • Python 3.9 support
  • [breaking] Using new libzim 7-based API for both reader and writer
  • Rewrote all tests for new API ; using libzim's own test ZIM files to test reader
  • Code-coverage now includes Cython code as well
  • macOS releases are signed and notarized
  • Early-failure on invalid destination ZIM path

v0.1

10 Jun 09:37
Compare
Choose a tag to compare

Using libzim 6.3.2 which compresses zstd at level 19 which is required to keep decompression RAM allocation under control on 32b systems

0.0.3.post0

03 Jul 10:41
f82e388
Compare
Choose a tag to compare
  • fixed access to bundled libzim on macOS (missing rpath)

0.0.3

01 Jul 17:23
Compare
Choose a tag to compare
  • [reader] fixed main_page retrieval
  • [reader] provide access to redirect target via get_redirect_article() (#51)
  • [reader] fixed ReadArticle.__repr__ (#37)
  • [reader] raising IndexError and KeyError on incorrect url/ID (#38)
  • [reader] File.get_metadata() now returns bytes (#30)
  • [reader] cleaner reader API
    • added/fixed all docstrings, including annotations
    • File can be used as a contextmanager
    • File.get_namespaces_count() renamed to get_namespace_count()
  • [writer] removed ZIM filename printed on stdout at Creator init
  • [writer] Creator now closed upon deletion (#31)
  • [writer] min_chunk_size and index_language now optional at Creator init (#29)
  • [writer] Creator now uses pathlib.Path for filename (#45)
  • [writer] cleaner Creator API
    • added/fixed all docstrings, including annotations
    • added _closed property
    • removed _get_counter_string()
    • removed write_metadata()
    • removed _update_article_counter)_
    • removed pascalize()
    • update_metadata() accepts datetime.datetime for Date
  • [writer] exceptions in Article methods now forwarded to python (as RuntimeError with details in message)
  • [writer] fixed creation of redirect from Article (get_redirect_url())
  • added macOS support (#35)
  • building with Cython 0.29.20+
  • using libzim 6.1.7

0.0.2

04 Jun 16:14
Compare
Choose a tag to compare

Same as version 0.0.1.

We need a new release number as version 0.0.1 already exists on pypi and we can't modify it.

0.0.1

04 Jun 16:10
Compare
Choose a tag to compare

First release of python-libzim.