Skip to main content

snag-dom

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', 'http://www.example.com')[0]
print(header)

Metadata

Release files for snag-dom 0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for snag-dom 0.10
File Size Uploaded
snag-dom-0.10.tar.gz 2.4 kB Details

Release files / snag-dom-0.10.tar.gz

Download URL snag-dom-0.10.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5247a607be011be4eb83d28582c7e980560b4607adfcfaa86184422a6d5c794b
BLAKE2b-256 checksum
How to use checksums
e2379b853c8a1b0fbb7c82e2ebba88cf0758999d27e06440bb5bd20c03fe7b37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

Release history Release notifications | RSS feed

This release

0.10 This release

1 release file

0.9

1 release file

0.8

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

2 release files

0.2

1 release file

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page