Skip to main content

An HTML utility package

Project description


A simple Python project to make accessing HTML elements easier; really more of an experiment than a full-fledged project.

It is recommended that you create a virtual environment before installing.

pip install virtualenv

virtualenv ev

source ev/bin/activate

Then install snag-dom.

pip install snag-dom

To use, simply call S with the CSS selector and the URL you intend to select elements from.

from snag_dom import S
header = S('h1', '')[0]

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for snag-dom, version 0.10
Filename, size File type Python version Upload date Hashes
Filename, size snag-dom-0.10.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page