Skip to content

dylanmccall/zimply-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZIMply Core

ZIMply Core is an unstable fork of ZIMply, intended for developers who would like to use its pure Python zim file parser without the additional dependencies.

Usage

Install zimply-core from pypi:

pip install zimply-core

Now, in Python code, you can import from zimply_core:

from zimply_core import ZIMClient
zim_file = ZIMClient("wikipedia.zim", encoding="utf-8", auto_delete=True)
print("{name} contains {count} articles".format(
    name=zim_file.get_article("M/Name").data.decode(),
    count=zim_file.get_namespace_count("A")
))

About

An easy to use offline reader for ZIM files right in your browser!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%