Skip to main content

Modularizing selenium code for getting coordinates from address of a place.

Project description

selenium-geocoder

Modularizing selenium code for getting coordinates from address of a place.

Exmaple:

from selenium_geocoder import Globe, Browsers

# code for selecting browser to automate on:
globe = Globe(browser=Browsers.FIREFOX)
"""
Supported browsers:
- Mozilla Firefox
- Google Chrome
- Microsoft Edge
"""

# code to get coordinates of a single locaiton: (returns a tuple)
x,y = globe.get_coordinate(name='University of Mumbai')

# code to get coordinates of a batch of locations: (returns a list)
coordinates = globe.get_coordinates(name=['Grand Hyatt Mumbai','Tajlands Mumbai', 'Trident Mumbai'])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

selenium_geocoder-0.5.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

selenium_geocoder-0.5.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file selenium_geocoder-0.5.0.tar.gz.

File metadata

  • Download URL: selenium_geocoder-0.5.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.1

File hashes

Hashes for selenium_geocoder-0.5.0.tar.gz
Algorithm Hash digest
SHA256 95485a14ae495310128af5e873680ffd64ad28745dca75753c432c78b6c024bd
MD5 3209e4e84717051516b3aa33a7148953
BLAKE2b-256 0c666d2b625f0409ab4cb45008e641ba278eaf4c75110c3ce05fb551a79e89af

See more details on using hashes here.

File details

Details for the file selenium_geocoder-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for selenium_geocoder-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51b9a60ff6d5144e70690880974fd7ad51c9c60ff8dda55ddbcf0110f5fee632
MD5 638440265cd806f2bf00c906d0ab3301
BLAKE2b-256 b0b208c53ab8c20d5154105e529bda078ab6397c2ef6d0b9f0b057d377c1d44f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page