A domonic-like wrapper around selectolax
Project description
adom
A domonic-like wrapper around selectolax
from dom import *
print(html(body(h1('Hello, World!'))))
# <html><body><h1>Hello, World!</h1></body></html>
from window import *
window.location = "https://www.google.com"
print( window.document.css('a') )
# [<Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>]
install
python3 -m pip install adom
CLI
To see the version:
domonic -v
To use css selectors on a website...
adom -q https://google.com a
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
adom-0.0.3.tar.gz
(10.7 kB
view details)
Built Distribution
adom-0.0.3-py3-none-any.whl
(10.7 kB
view details)
File details
Details for the file adom-0.0.3.tar.gz
.
File metadata
- Download URL: adom-0.0.3.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.26.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fb614ce79494a501889a340685add1aea81bad303c47918409eb87dc27c2279 |
|
MD5 | dc0f84e332e59031f4752901686a9948 |
|
BLAKE2b-256 | bab9e012237f92d33437cb308f1e9e9353ddd7ae719f946622d0a773e85d0139 |
File details
Details for the file adom-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: adom-0.0.3-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.26.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e29f6a1d683a21c77d66b7a4e6f34158f8925e1255e4b5c6c8ec3ebd208257a9 |
|
MD5 | 81402fbb02899782fca2f750124922f7 |
|
BLAKE2b-256 | d9b5244bb0e5a1c69fdc7354b3d2fa8b74adfbc230a5fbe3762d69576686d8f0 |