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.

Example:

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: selenium_geocoder-1.0.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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4469a62846fa685ee43b0abfdb9b7267ff05737b28bf790ce07dbcbf7e3c2b4e
MD5 6b5e2d40c863845bfe63b7e39e70a7b5
BLAKE2b-256 73a6f0f4625a78c6df41e9d2c102bb5accb1b651f506d1e0bf9ec71b92a352c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for selenium_geocoder-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15e6431c625f2732e2145b07008a5c71c5f25eff9e8b869ed9ea1f6e8c42cc2e
MD5 4e804be52460f5721c766758b8589164
BLAKE2b-256 2a225b7f3ea60c97305a829b04020a0fa411e3db580f21a2af50d2e1b0a42d5d

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