Skip to main content

Welcome to WkManager!

An unnoficial lib that facilitates the download of wkhtmltopdf/wkhtmltoimage (wkhtmltox), based on the characteristics of the system such as OS, architecture of the processor and also the availability of the software, also being possible to manually select this information.

WkManager

A class to validation of system characteristics to start downloading wkhtmltopdf/wkhtmltopdf (wkhtmltox) files from the official website (please consult directly for more information).

Attributes

Attribute Type
sys str
support str
arch str
extension str
  • system: the OS you are looking for, if None will be replace by checking your OS.

  • support: the support are looking for, like "XP", "Vista", "Debian", "Arch. if None wil be replaced by checking your OS.

  • arch: the OS architecture you are looking for, if None will be replace by checking your machine.

  • extension: the extension you looking for, if None will raise an ValueError with the avaliable extensions for you based on others attributes.

Example:

from wkmanager import WkManager

Wk = WkManager("Windows", "XP", "64bit", "7z")

If successful, you can use the get_wk method.

get_wk

Method to download the wkhtmltox files, being able to unzip it automatically (winrar required for 7z files).

Args

Attribute Type
path str
extract bool
winrar_path str
  • path: the path where the file will be saved, if None will saved on root.

  • extract: if True, the file will be extracted if it is 7z or Zip, by default it is False.

  • winrar_path: if a 7z file extension is selected and extract is True, it will be necessary to have Winrar installed and pass the path to winrar.exe for the file to be unpacked.

from wkmanager import WkManager

Wk = WkManager("Windows", "XP", "64bit", "7z")
wk_path = Wk.get_wk("wk_folder", True, "C:\Program Files\WinRAR\WinRAR.exe")

the if extract is True, the file will be full unpacked without internal folder.

Returns

Returns the path of folder with wk files.

Metadata

Release files for wkmanager 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wkmanager 0.1.3
File Size Uploaded Provenance Actions
wkmanager-0.1.3.tar.gz 4.5 kB Without provenance Details for wkmanager-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wkmanager 0.1.3
File Interpreter ABI Platform Actions
wkmanager-0.1.3-py3-none-any.whl Python 3 none any Details for wkmanager-0.1.3-py3-none-any.whl

Total release size: 9.6 kB

Release files / wkmanager-0.1.3.tar.gz

Download URL wkmanager-0.1.3.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c06db90a1080acae2ba72903661dffdbc70d0f7136a16d6e1b706e23f638e02d
BLAKE2b-256 checksum
How to use checksums
ea36baae680ee87d25df5f8498863b9abd26cc202918b3c59892f83997d95b6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.4 Windows/10

Release files / wkmanager-0.1.3-py3-none-any.whl

Download URL wkmanager-0.1.3-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1959b2badc21756428f0c4c79e7278548c9a377acdf167c0093a530f9e40dbb6
BLAKE2b-256 checksum
How to use checksums
49029ac8ef6045a1ca069fef8eef904506d85aadd6e83a092c7b485a7c869d19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.4 Windows/10

Security for wkmanager 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page