{"id":28184441,"url":"https://github.com/byteface/adom","last_synced_at":"2025-05-16T05:15:26.453Z","repository":{"id":57408256,"uuid":"455884616","full_name":"byteface/adom","owner":"byteface","description":"A domonic-like wrapper around selectolax","archived":false,"fork":false,"pushed_at":"2022-02-06T17:33:43.000Z","size":53,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T04:52:28.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/byteface.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-05T13:58:30.000Z","updated_at":"2022-06-23T01:34:10.000Z","dependencies_parsed_at":"2022-09-26T17:10:58.168Z","dependency_job_id":null,"html_url":"https://github.com/byteface/adom","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteface%2Fadom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteface%2Fadom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteface%2Fadom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteface%2Fadom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byteface","download_url":"https://codeload.github.com/byteface/adom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254039853,"owners_count":22004370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-16T05:15:25.848Z","updated_at":"2025-05-16T05:15:26.446Z","avatar_url":"https://github.com/byteface.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# adom\n\nA [domonic-like](https://github.com/byteface/domonic) wrapper around [selectolax](https://github.com/rushter/selectolax)\n\n```python\nfrom dom import *\nprint(html(body(h1('Hello, World!'))))\n# \u003chtml\u003e\u003cbody\u003e\u003ch1\u003eHello, World!\u003c/h1\u003e\u003c/body\u003e\u003c/html\u003e\n```\n\n```python\nfrom window import *\nwindow.location = \"https://www.google.com\"\nprint( window.document.css('a') )\n# [\u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e, \u003cNode a\u003e]\n```\n\n### install\n\n```bash\npython3 -m pip install adom\n```\n\n### CLI\n\nTo see the version:\n\n```bash\nadom -v\n```\n\nTo use css selectors on a website...\n\n```bash\nadom -q https://google.com a\n```\n\n### Discord\n\nThere's a discord for domonic to talk about python/doms etc. It can be used for this as well.\nI check there 2 or 3 times a week or post updates there.\n\nhttps://discord.gg/a9pSZv4V5f\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteface%2Fadom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyteface%2Fadom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteface%2Fadom/lists"}