Skip to main content

A package that downloads and manage Chromedriver

Created to be used in a project, this package is published to github for ease of management and installation across different modules.

Installation

install from github

pip install git+https://github.com/AresJef/ChromeDM.git

How to Use

from chromedm import ChromeDM
    cdm = ChromeDM(
        # Default cache directory: `~/chromedm/.drivers`.
        dir=None
        /or...
        # Custom cache directory: `/destop/chromedrivers`.
        dir="/destop/chromedrivers"
    )
    chromedriver = await cdm.install(
        # Match the latest driver version after 1 day.
        latest_version_interval = 86_400,
        # Use local proxy.
        proxy="http://127.0.0.1:7890",
        # Download timeout after 10 seconds.
        timeout=10,
        # Only cache the latest 20 drivers.
        max_cache=20,
    )

Compatibility

Only support for python 3.10 and above.

Acknowledgements

ChromeDM is based on several open-source repositories.

ChromeDM makes modification of the following open-source repositories:

Release files for chromedm 0.1.10.0

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

Source distribution (sdist)

Source distribution for chromedm 0.1.10.0
File Size Uploaded
chromedm-0.1.10.0.tar.gz 14.8 kB Details

Built distribution (wheel)

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

Total release size: 31.3 kB

Release files / chromedm-0.1.10.0.tar.gz

Download URL chromedm-0.1.10.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2f3ba5959aa70f163b7e60c457388fbc84360c1373fad0b9415beb62155b24d8
BLAKE2b-256 checksum
How to use checksums
5318407451e45f1e9fab92d9feb988b5dda6848cbb6d95481e4b10ebf6228785
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / chromedm-0.1.10.0-py3-none-any.whl

Download URL chromedm-0.1.10.0-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1ccdcb00ee28d36914c0e026d0b7da03b24d29bcf800261e00b4c330b0af390
BLAKE2b-256 checksum
How to use checksums
1a760b67063dcefb7e3674289f548aea2ac70cb1ad57d6bafca3766371f7193a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.10.0 This release

2 release files

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