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.browser import Browser, Page

with Page(Browser()) as page:
    page.goto("http://localhost:8000/")
    page.find("input[name=q]").fill("htmx")
    page.find("form").request_submit()
    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.3.0

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.3.0
File Size Uploaded Provenance Actions
miniclient-0.3.0.tar.gz 777.9 kB With provenance Details for miniclient-0.3.0.tar.gz

Built distributions (wheels)

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

Total release size: 70.8 MB

Release files / miniclient-0.3.0.tar.gz

Download URL miniclient-0.3.0.tar.gz
Size 777.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8ca5e22c6cd8b5bfd1e72cdab70ce8f1c37f06f34c4efa83a2b7548a1067938d
BLAKE2b-256 checksum
How to use checksums
f053a55d5db5375d7807dc8b4692768a878b9f14a369565f7d14e033b6966687
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 3, 2026.

Transparency log

Release files / miniclient-0.3.0-cp315-cp315-manylinux_2_28_x86_64.whl

Download URL miniclient-0.3.0-cp315-cp315-manylinux_2_28_x86_64.whl
Size 36.4 MB
Tags CPython 3.15 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0d7663657cb9dc2d9213a1715d3d85943ee3e8bdcb915b8824ffde1a3cd10c45
BLAKE2b-256 checksum
How to use checksums
0a2d574527b60fad1c4c652d8646386839327e9f14bc4c519c83686823d6a038
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 3, 2026.

Transparency log

Release files / miniclient-0.3.0-cp315-cp315-macosx_11_0_arm64.whl

Download URL miniclient-0.3.0-cp315-cp315-macosx_11_0_arm64.whl
Size 33.6 MB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
671a90632e4d75875b110ff7c87416680cc0f8a624996e09e7d88c193ca5b7c1
BLAKE2b-256 checksum
How to use checksums
e9129de1d3e7cf9ae330e2ecef991c41fbbeeb539cc2a807ea2021164646b42d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 3, 2026.

Transparency log

Security for miniclient 0.3.0

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.3.0.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 Nov 3, 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