Skip to main content

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

Metadata

Release files for adom 0.0.3

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

Source distribution (sdist)

Source distribution for adom 0.0.3
File Size Uploaded
adom-0.0.3.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adom 0.0.3
File Interpreter ABI Platform
adom-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 21.4 kB

Release files / adom-0.0.3.tar.gz

Download URL adom-0.0.3.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3fb614ce79494a501889a340685add1aea81bad303c47918409eb87dc27c2279
BLAKE2b-256 checksum
How to use checksums
bab9e012237f92d33437cb308f1e9e9353ddd7ae719f946622d0a773e85d0139
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / adom-0.0.3-py3-none-any.whl

Download URL adom-0.0.3-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e29f6a1d683a21c77d66b7a4e6f34158f8925e1255e4b5c6c8ec3ebd208257a9
BLAKE2b-256 checksum
How to use checksums
d9b5244bb0e5a1c69fdc7354b3d2fa8b74adfbc230a5fbe3762d69576686d8f0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.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