Skip to main content

Fast asynchronous web scraper with minimalist API.

Project description


Fast asynchronous web scraper with minimalist API inspired by awesome node-osmosis.

Hypotonic provides SQLAlchemy-like command chaining DSL to define HTML scrapers. Everything is executed asynchronously via asyncio and all dependencies are pure Python. Supports querying by CSS selectors with Scrapy's pseudo-attributes. XPath is not supported due to libxml requirement.

Hypotonic does not natively execute JavaScript on websites and it is recommended to use prerender.


Hypotonic requires Python 3.6+.

pip install hypotonic


from hypotonic import Hypotonic

data, errors = (
    .paginate('.next a::attr(href)', 5)
    .find('.product_pod h3')
    .set({'price': '.price_color',
          'availability': 'p.availability'})

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

hypotonic-0.0.14.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

hypotonic-0.0.14-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

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