chrome-version 0.3.1

Creator: codyrutscher

Last updated:

Add to Cart

Description:

chromeversion 0.3.1

Chrome Version


Get the version of Chrome installed on Windows, Linux, Mac. Cross-platform using Python, native OS detection, does not require Selenium.
















Installation
pip install chrome-version

Usage
Module:
>>> import chrome_version
>>> print(chrome_version.get_chrome_version())
>>> '103.0.5060.114'

CLI:
chrome-version
103.0.5060.114

Why?
At first,
I needed to get the Chrome version for a project I was working on, which was using Undetected Chromedriver. I found the gist below.
When I used it in a variaty of projects, I decided to turn it into a module so I'll be free of copy/paste. It only have one functionality: getting the chrome version.
Then,
I decided to use it to learn more about:

Using Poetry for packaging and dependency management.
Using scripts for CLI.
Versioning.
License management.
Documentation.
Publishing a module on PyPI.
Using GitHub Actions to automate the publishing process.
...

Finally,
Now it's kind of a playground for me to learn more...
Motivation

It might be useful for someone.
It's easier to pip install a module than copy/paste a gist.
Educational Purposes: A simple module is a good practice for me to learn how to build modules and publish them on PyPI and show others how easy it is.

Disclaimer
Based on chrome-version by Kory Becker.
This package provides a CLI wrapper for the original project. All credit reserved to the author of the original code.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.