Skip to main content

Fork of ZIMply with only the zimply_core module.

Project description

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")
))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

zimply_core-1.0.7-py2.py3-none-any.whl (19.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file zimply_core-1.0.7-py2.py3-none-any.whl.

File metadata

  • Download URL: zimply_core-1.0.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.9

File hashes

Hashes for zimply_core-1.0.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 54e3084bf9b70fb477d1b48a114e06f0cb6eae616fd32221d072383b69c4b773
MD5 7afb3804d5683f07aa832235428028e7
BLAKE2b-256 66abab27571ab7e0ec9b8c8c93cc32ef998a4e3006b94aabe7e41ecf1d05bef6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page