Name | chrome-version JSON |
Version |
0.3.1
JSON |
| download |
home_page | |
Summary | Detect the version of Chrome installed on Windows, Linux, Mac. Cross-platform using Python, native OS detection. |
upload_time | 2023-12-31 16:54:21 |
maintainer | hasansezertasan |
docs_url | None |
author | hasansezertasan |
requires_python | >=3.0,<4.0 |
license | MIT |
keywords |
google chrome version
chrome
google
version
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<h1 align="center">
<strong>Chrome Version</strong>
</h1>
<p align="center">
<em>Get the version of Chrome installed on Windows, Linux, Mac. Cross-platform using Python, native OS detection, does not require Selenium.</em>
</p>
<p align="center">
<a href="https://github.com/hasansezertasan/chrome-version" target="_blank">
<img src="https://img.shields.io/github/last-commit/hasansezertasan/chrome-version" alt="Latest Commit">
</a>
<img src="https://img.shields.io/github/workflow/status/hasansezertasan/chrome-version/Test">
<img src="https://img.shields.io/codecov/c/github/hasansezertasan/chrome-version">
<br />
<a href="https://pypi.org/project/chrome-version" target="_blank">
<img src="https://img.shields.io/pypi/v/chrome-version" alt="Package version">
</a>
<a href="https://pypi.org/project/chrome-version" target="_blank">
<img src="https://img.shields.io/pypi/pyversions/chrome-version">
</a>
<img src="https://img.shields.io/github/license/hasansezertasan/chrome-version">
</p>
## Installation
``` bash
pip install chrome-version
```
## Usage
Module:
```python
>>> import chrome_version
>>> print(chrome_version.get_chrome_version())
>>> '103.0.5060.114'
```
CLI:
```bash
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](https://github.com/ultrafunkamsterdam/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](https://python-poetry.org/) 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](https://gist.github.com/primaryobjects/d5346bf7a173dbded1a70375ff7461b4) by [Kory Becker](https://github.com/primaryobjects).
This package provides a CLI wrapper for the original project. All credit reserved to the author of the original code.
Raw data
{
"_id": null,
"home_page": "",
"name": "chrome-version",
"maintainer": "hasansezertasan",
"docs_url": null,
"requires_python": ">=3.0,<4.0",
"maintainer_email": "hasansezertasan@gmail.com",
"keywords": "google chrome version,chrome,google,version",
"author": "hasansezertasan",
"author_email": "hasansezertasan@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/7f/95/b0dad0a0bd7d4bc9ab9f2c4ec736141e7d515b3c52226330c5afaed541be/chrome_version-0.3.1.tar.gz",
"platform": null,
"description": "<h1 align=\"center\">\n <strong>Chrome Version</strong>\n</h1>\n<p align=\"center\">\n <em>Get the version of Chrome installed on Windows, Linux, Mac. Cross-platform using Python, native OS detection, does not require Selenium.</em>\n</p>\n<p align=\"center\">\n <a href=\"https://github.com/hasansezertasan/chrome-version\" target=\"_blank\">\n <img src=\"https://img.shields.io/github/last-commit/hasansezertasan/chrome-version\" alt=\"Latest Commit\">\n </a>\n <img src=\"https://img.shields.io/github/workflow/status/hasansezertasan/chrome-version/Test\">\n <img src=\"https://img.shields.io/codecov/c/github/hasansezertasan/chrome-version\">\n <br />\n <a href=\"https://pypi.org/project/chrome-version\" target=\"_blank\">\n <img src=\"https://img.shields.io/pypi/v/chrome-version\" alt=\"Package version\">\n </a>\n <a href=\"https://pypi.org/project/chrome-version\" target=\"_blank\">\n <img src=\"https://img.shields.io/pypi/pyversions/chrome-version\">\n </a>\n <img src=\"https://img.shields.io/github/license/hasansezertasan/chrome-version\">\n</p>\n\n## Installation\n\n``` bash\npip install chrome-version\n```\n\n## Usage\n\nModule:\n\n```python\n>>> import chrome_version\n>>> print(chrome_version.get_chrome_version())\n>>> '103.0.5060.114'\n```\n\nCLI:\n\n```bash\nchrome-version\n103.0.5060.114\n```\n\n## Why?\n\nAt first,\n\nI needed to get the Chrome version for a project I was working on, which was using [Undetected Chromedriver](https://github.com/ultrafunkamsterdam/undetected-chromedriver). I found the gist below.\n\nWhen 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.\n\nThen,\n\nI decided to use it to learn more about:\n\n- Using [Poetry](https://python-poetry.org/) for packaging and dependency management.\n- Using scripts for CLI.\n- Versioning.\n- License management.\n- Documentation.\n- Publishing a module on PyPI.\n- Using GitHub Actions to automate the publishing process.\n- ...\n\nFinally,\n\nNow it's kind of a playground for me to learn more...\n\n## Motivation\n\n- It might be useful for someone.\n- It's easier to pip install a module than copy/paste a gist.\n- 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.\n\n## Disclaimer\n\nBased on [chrome-version](https://gist.github.com/primaryobjects/d5346bf7a173dbded1a70375ff7461b4) by [Kory Becker](https://github.com/primaryobjects).\n\nThis package provides a CLI wrapper for the original project. All credit reserved to the author of the original code.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Detect the version of Chrome installed on Windows, Linux, Mac. Cross-platform using Python, native OS detection.",
"version": "0.3.1",
"project_urls": {
"documentation": "https://hasansezertasan.github.io/chrome-version/",
"homepage": "https://github.com/hasansezertasan/chrome-version",
"repository": "https://github.com/hasansezertasan/chrome-version"
},
"split_keywords": [
"google chrome version",
"chrome",
"google",
"version"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b36de90520efde6d8dbde5a4844fd275d84f054c1c24f014fee4901a7a8389c0",
"md5": "517e71da28a4c3ce869046dc8aa7cec7",
"sha256": "ba13a942475e86167486f88ef64b5331356c08d34bd04f539d0f92e2f062568c"
},
"downloads": -1,
"filename": "chrome_version-0.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "517e71da28a4c3ce869046dc8aa7cec7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.0,<4.0",
"size": 5311,
"upload_time": "2023-12-31T16:54:19",
"upload_time_iso_8601": "2023-12-31T16:54:19.899822Z",
"url": "https://files.pythonhosted.org/packages/b3/6d/e90520efde6d8dbde5a4844fd275d84f054c1c24f014fee4901a7a8389c0/chrome_version-0.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7f95b0dad0a0bd7d4bc9ab9f2c4ec736141e7d515b3c52226330c5afaed541be",
"md5": "8b9f9caf5414e61fee09e08eb747d290",
"sha256": "9cc852dae9a6373a6ba55e2af724ca0a092a4a762df505508be9992dcb8a3c6f"
},
"downloads": -1,
"filename": "chrome_version-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "8b9f9caf5414e61fee09e08eb747d290",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.0,<4.0",
"size": 4503,
"upload_time": "2023-12-31T16:54:21",
"upload_time_iso_8601": "2023-12-31T16:54:21.482855Z",
"url": "https://files.pythonhosted.org/packages/7f/95/b0dad0a0bd7d4bc9ab9f2c4ec736141e7d515b3c52226330c5afaed541be/chrome_version-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-31 16:54:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hasansezertasan",
"github_project": "chrome-version",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "chrome-version"
}