Skip to main content

A custom Streamlit component to get the users location via js navigator.geolocation.

Project description

streamlit-geolocation

A geolocation module for streamlit

This is heavily inspired by this repository: https://github.com/aghasemi/streamlit_js_eval I am simplifying the scope to just getting the user's location and not evaluating arbitrary javascript, but I owe a lot to the original author.

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

streamlit_geolocation-0.0.2.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

streamlit_geolocation-0.0.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_geolocation-0.0.2.tar.gz.

File metadata

  • Download URL: streamlit_geolocation-0.0.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.66.1 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for streamlit_geolocation-0.0.2.tar.gz
Algorithm Hash digest
SHA256 172cc2183d2dc5524cd9b29e9ee887bf58009e183f56975f8cde0a7cc67913f3
MD5 fe2c5dd5c4835f681ac68b95157805fe
BLAKE2b-256 8547d924fabc3f7974ecbc6b45552065d2e641a7cae8befbbcd5004b95e68fbe

See more details on using hashes here.

File details

Details for the file streamlit_geolocation-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: streamlit_geolocation-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.66.1 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for streamlit_geolocation-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 00cfd8888da04792062baca6fbf13f8be7e0a03eec3a4afe45bc5ea9b1dc1e6d
MD5 02b37d9dc534731252bbc67df96965ac
BLAKE2b-256 fcaea851015138fa1bf3ce0c0958f1edf7b1a2fab10f8171e061d582bcd3ca86

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