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)
| 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
|