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.1.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.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: selenium_geocoder-0.5.1.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.1.tar.gz
Algorithm Hash digest
SHA256 bd592518acd597fd3003b5f0990ae3fdb087c991f5343c7b0397e230d3e4d77f
MD5 3125e7b0fd018a4b9c4dec1722232479
BLAKE2b-256 ddf0d50f77304ca0991757471a7a95ca60e3032a0c8b81052b5fdfb012072222

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for selenium_geocoder-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 191969e6059b665c481f8bcdba1a08e7a7e74587fc6002d8c1f48e1e46eededf
MD5 5efcf58fcf9bfad1b992c2e288b695f6
BLAKE2b-256 db0169de8da8ba970bffd4026cbdcdba050b731e85ad8ab0f2abde0ca108a95c

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