# Latest ChromeDriver
The `latest_chromedriver` is a module for python scripts in order to find the correct version of the ChromeDriver depending on Google Chrome version.
## Purpose
The purpose of this module is not to be deployed to live system like webservers or similar.
This module is intended for use in scripts that are running on different client machines, where Google Chrome could be in different versions or auto updated.
## Getting Started
These instructions will get you a copy of the project up and running on your local. Currently there are three systems supported:
* [Windows](https://en.wikipedia.org/wiki/Microsoft_Windows)
* [Linux](https://en.wikipedia.org/wiki/Linux)
* [Darwin](https://en.wikipedia.org/wiki/Darwin_(operating_system))
### Example Usage
```python
import latest_chromedriver
latest_chromedriver.safely_set_chromedriver_path()
```
If `Google Chrome` is installed in a different location:
```python
import latest_chromedriver
latest_chromedriver.safely_set_chromedriver_path(chrome_path='/adhoc/locatation/googe-chrome')
```
If `chromedriver` needs to be installed in a different location:
```python
import latest_chromedriver
latest_chromedriver.safely_set_chromedriver_path(chromedriver_folder='/tmp')
```
### Prerequisites
In order to install this module you need to have:
* Google Chrome
* Python >= 3
### Installation
Install `latest-chromedriver` with [pip](https://pip.pypa.io)
```shell
python -m pip install latest-chromedriver
```
## Built With
* [logzero](https://logzero.readthedocs.io/en/latest/) - A simple library for easy logging (could change it to standard logging module)
* [requests](https://requests.readthedocs.io/en/latest/) - Requests is an elegant and simple HTTP library for Python, built for human beings
* [ubelt](https://ubelt.readthedocs.io/en/latest/ubelt.html) - A “utility belt” of commonly needed utility and helper functions
* [py-cpuinfo](https://github.com/workhorsy/py-cpuinfo) - Gets CPU info with pure Python
## Contributing
Please read [CONTRIBUTING.md](https://github.com/hargikas/latest-chromedriver/blob/main/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
## Authors
* **Charalampos Gkikas** - *Initial work* - [hargikas](https://github.com/hargikas)
## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/hargikas/latest-chromedriver/blob/main/LICENSE) file for details
Raw data
{
"_id": null,
"home_page": "https://github.com/hargikas/auto-chromedriver/",
"name": "latest-chromedriver",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": null,
"keywords": "chromedriver windows",
"author": "Charalampos Gkikas",
"author_email": "hargikas@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/de/94/678deacb5ab303261040bcaca437ae306c689b0ebaa812d980060e0ce0a8/latest-chromedriver-2024.4.1.tar.gz",
"platform": null,
"description": "# Latest ChromeDriver\r\n\r\nThe `latest_chromedriver` is a module for python scripts in order to find the correct version of the ChromeDriver depending on Google Chrome version.\r\n\r\n## Purpose\r\n\r\nThe purpose of this module is not to be deployed to live system like webservers or similar.\r\n\r\nThis module is intended for use in scripts that are running on different client machines, where Google Chrome could be in different versions or auto updated.\r\n\r\n## Getting Started\r\n\r\nThese instructions will get you a copy of the project up and running on your local. Currently there are three systems supported:\r\n\r\n* [Windows](https://en.wikipedia.org/wiki/Microsoft_Windows)\r\n* [Linux](https://en.wikipedia.org/wiki/Linux)\r\n* [Darwin](https://en.wikipedia.org/wiki/Darwin_(operating_system))\r\n\r\n### Example Usage\r\n\r\n```python\r\nimport latest_chromedriver\r\n\r\nlatest_chromedriver.safely_set_chromedriver_path()\r\n```\r\n\r\nIf `Google Chrome` is installed in a different location:\r\n\r\n```python\r\nimport latest_chromedriver\r\n\r\nlatest_chromedriver.safely_set_chromedriver_path(chrome_path='/adhoc/locatation/googe-chrome')\r\n```\r\n\r\nIf `chromedriver` needs to be installed in a different location:\r\n\r\n```python\r\nimport latest_chromedriver\r\n\r\nlatest_chromedriver.safely_set_chromedriver_path(chromedriver_folder='/tmp')\r\n```\r\n\r\n### Prerequisites\r\n\r\nIn order to install this module you need to have:\r\n\r\n* Google Chrome\r\n* Python >= 3\r\n\r\n### Installation\r\n\r\nInstall `latest-chromedriver` with [pip](https://pip.pypa.io)\r\n\r\n```shell\r\npython -m pip install latest-chromedriver\r\n```\r\n\r\n## Built With\r\n\r\n* [logzero](https://logzero.readthedocs.io/en/latest/) - A simple library for easy logging (could change it to standard logging module)\r\n* [requests](https://requests.readthedocs.io/en/latest/) - Requests is an elegant and simple HTTP library for Python, built for human beings\r\n* [ubelt](https://ubelt.readthedocs.io/en/latest/ubelt.html) - A \u201cutility belt\u201d of commonly needed utility and helper functions\r\n* [py-cpuinfo](https://github.com/workhorsy/py-cpuinfo) - Gets CPU info with pure Python\r\n\r\n## Contributing\r\n\r\nPlease read [CONTRIBUTING.md](https://github.com/hargikas/latest-chromedriver/blob/main/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\r\n\r\n## Authors\r\n\r\n* **Charalampos Gkikas** - *Initial work* - [hargikas](https://github.com/hargikas)\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/hargikas/latest-chromedriver/blob/main/LICENSE) file for details\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A small package to find the correct chromedriver version in windows machines",
"version": "2024.4.1",
"project_urls": {
"Homepage": "https://github.com/hargikas/auto-chromedriver/",
"Say Thanks!": "https://saythanks.io/to/hargikas",
"Source": "https://github.com/hargikas/auto-chromedriver/",
"Tracker": "https://github.com/hargikas/auto-chromedriver/issues"
},
"split_keywords": [
"chromedriver",
"windows"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "de94678deacb5ab303261040bcaca437ae306c689b0ebaa812d980060e0ce0a8",
"md5": "64073762f7379e7e75370580b797a052",
"sha256": "742e51b35248f3a52de30fd8a27f3e1b69f1c047d7020b5e1defd6a4fcc34f34"
},
"downloads": -1,
"filename": "latest-chromedriver-2024.4.1.tar.gz",
"has_sig": false,
"md5_digest": "64073762f7379e7e75370580b797a052",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 9294,
"upload_time": "2024-04-01T06:11:31",
"upload_time_iso_8601": "2024-04-01T06:11:31.496682Z",
"url": "https://files.pythonhosted.org/packages/de/94/678deacb5ab303261040bcaca437ae306c689b0ebaa812d980060e0ce0a8/latest-chromedriver-2024.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-01 06:11:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hargikas",
"github_project": "auto-chromedriver",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "latest-chromedriver"
}