Skip to main content

miniclient

CI codecov Docs PyPI Python versions License

A minimal python http client that runs JavaScript, without a browser. Meant to be used as a lightweight test client to simulate browser interactions. Embeds a V8 Runtime, DOM, and is designed to run htmx especially well.

Install

uv add miniclient

Example

The snippet below opens a page, submits a search form, clicks a "load more" button and reads the results back. All against a real in-memory DOM running JavaScript (htmx, for example). No browser involved.

from miniclient.page import Page

with Page() as page:
    page.goto("http://localhost:8000/")
    page.find("input[name=q]").fill("htmx")
    page.find("form").requestSubmit()
    page.find("#load-more").click()
    print(len(page.find_all("#results li")), "results")
    print(page.find("#results li:first-child").text)

Check the full documentation: https://marciomazza.github.io/miniclient/

Metadata

Release files for miniclient 0.2.5

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

Source distribution (sdist)

Source distribution for miniclient 0.2.5
File Size Uploaded Provenance Actions
miniclient-0.2.5.tar.gz 295.3 kB With provenance Details for miniclient-0.2.5.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for miniclient 0.2.5
File Interpreter ABI Platform Actions
miniclient-0.2.5-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for miniclient-0.2.5-cp314-cp314-manylinux_2_28_x86_64.whl
miniclient-0.2.5-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for miniclient-0.2.5-cp314-cp314-macosx_11_0_arm64.whl

Total release size: 48.5 MB

Release files / miniclient-0.2.5.tar.gz

Download URL miniclient-0.2.5.tar.gz
Size 295.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bd11dd48f20c2d2c66df89daf7d126ce5c13a59cad54c50c2569bbad67b1c88b
BLAKE2b-256 checksum
How to use checksums
15581286e51c5801fe88eb2e1b7cb5dcd0dfbf75989805a2701f92b6d359c8af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release files / miniclient-0.2.5-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL miniclient-0.2.5-cp314-cp314-manylinux_2_28_x86_64.whl
Size 25.2 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a25ff94f6a18960475e88339d1d15866fba949e6d5d5b6652f9ff07e7fc098c7
BLAKE2b-256 checksum
How to use checksums
ffbf592733bed49ab6595fe6b09215f169fad11742311dd34f6ef85668a1a008
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release files / miniclient-0.2.5-cp314-cp314-macosx_11_0_arm64.whl

Download URL miniclient-0.2.5-cp314-cp314-macosx_11_0_arm64.whl
Size 23.1 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
eec292debd09075a945007a8d1b1904bd4e5493e354d3116b3e267f1b04d856c
BLAKE2b-256 checksum
How to use checksums
f10888769b8a7fa535a3e74d77ffba92b6d1d24727208fedce72f7dbfd0b6890
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Security for miniclient 0.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for miniclient-0.2.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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