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 hashes)
Built Distribution
adom-0.0.3-py3-none-any.whl
(10.7 kB
view hashes)