Skip to main content

A Python client for the Ekho scraping service

Project description

ekho-scraper-client

A Python client for the Ekho scraping service.

Installation

pip install ekho-scraper-client

Usage

from ekho import scrape, subpages

result = scrape("https://www.ashgrove.com/locations")
print(result)

subpages_result = subpages("https://www.ashgrove.com/locations")
print(subpages_result)

Environment

You can override the default service endpoints by setting the following environment variables:

export EKHO_SCRAPER_ENDPOINT="https://my.internal.endpoint/scrape"
export EKHO_SUBPAGES_ENDPOINT="https://my.internal.endpoint/subpages"

Development

Build distribution packages:

pip install --upgrade build twine
python -m build

Publish to PyPI:

export TWINE_USERNAME="__token__"
export TWINE_PASSWORD="<your-api-token>"

twine upload dist/*

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

ekho_scraper_client-0.1.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

ekho_scraper_client-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file ekho_scraper_client-0.1.1.tar.gz.

File metadata

  • Download URL: ekho_scraper_client-0.1.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for ekho_scraper_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 338f492832461d199a0028938c4234f05fe80ba1dc2311e57834d4a69fcd18c7
MD5 356f6a117bdddcdfc20fe39b15bbe038
BLAKE2b-256 78adecd812bc1a04fb032f300725f800aada7bd2e60e1cc94d1f1deabdf3df03

See more details on using hashes here.

File details

Details for the file ekho_scraper_client-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ekho_scraper_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 74bbddb81b9577c2a98fa98a3faaf25a82613715e70401995bd0926465e39b0c
MD5 533cb97b9bfcb914e4edc27a010c466f
BLAKE2b-256 fe0c4049d8c186134eb2906ffbf31427468823058c6d9f3a3aa2eb5d178f3f0d

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