HVBrowser
HVBrowser provides browser automation APIs for HentaiVerse. It builds on
hbrowser for the shared authenticated browser session.
The package was extracted from the historical combined hbrowser
distribution. Battle-domain APIs live in the separate hvbattle package.
Development
Build a clean environment backed by the PyPI release of hbrowser:
bash scripts/rebuild-env.sh
For coordinated local development, overlay the clean environment manually:
uv pip install --python .venv/bin/python --reinstall --no-deps --editable \
/Users/kuanlun_wang/Desktop/git-repo/hbrowser.clone
Commands that must preserve this editable overlay use uv run --no-sync.
Read-only Market inspection
Market inspection and sale planning are non-mutating by default:
import asyncio
from hvbrowser import HVDriver, SellItems
async def main() -> None:
async with HVDriver(headless=True) as driver:
snapshot = await driver.inspect_market()
plan = await driver.marketcheck(SellItems(materials=["Low-Grade Metals"]))
print(len(snapshot.items), plan.total_units)
asyncio.run(main())
The compatibility marketcheck() call requires commit=True before it can
request submission. Submission is currently blocked by a fail-closed runtime
gate until the current quote selector and pricing semantics have been confirmed
with the read-only live probe. The guarded implementation never deposits
credits and never re-lists unrelated orders.
Guarded live smoke test
The surrounding hentaiverse workspace owns account selection. This smoke
probe only refuses to construct a browser unless credentials are supplied
indirectly through the environment. It stops when an active battle is detected
and contains no click, submit, repair, recovery, lottery, monster-lab, or battle
call:
uv run --no-sync python scripts/live_readonly_smoke.py \
--inspect-market-form
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hvbrowser-0.1.1.tar.gz.
File metadata
- Download URL: hvbrowser-0.1.1.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9b4983009b114d7bc8816f8e2cdb1851f2c5ea14585d511f9c4520c1984be3c
|
|
| MD5 |
664d9401c12470b0361216d9c9a0293c
|
|
| BLAKE2b-256 |
c92a90801fe439b4b1462e9ecaee46f5d37d2e599773cd09816c29822b400169
|
Provenance
The following attestation bundles were made for hvbrowser-0.1.1.tar.gz:
Publisher:
publish.yml on Kuan-Lun/hvbrowser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hvbrowser-0.1.1.tar.gz -
Subject digest:
f9b4983009b114d7bc8816f8e2cdb1851f2c5ea14585d511f9c4520c1984be3c - Sigstore transparency entry: 2324285613
- Sigstore integration time:
-
Permalink:
Kuan-Lun/hvbrowser@e735770049937e7c9ad197a98b72b89b9fa05ef2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Kuan-Lun
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e735770049937e7c9ad197a98b72b89b9fa05ef2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file hvbrowser-0.1.1-py3-none-any.whl.
File metadata
- Download URL: hvbrowser-0.1.1-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7890b6e5f191a559ef4a3209b1a43caebb98e5a494943e025fd28963130b602
|
|
| MD5 |
a6dd48523f8f9af5e60a126a49da618a
|
|
| BLAKE2b-256 |
e42de48e2f51106c69da9b3e7c298f12037b9d08f2dbb072281f2ed602ae34ea
|
Provenance
The following attestation bundles were made for hvbrowser-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on Kuan-Lun/hvbrowser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hvbrowser-0.1.1-py3-none-any.whl -
Subject digest:
b7890b6e5f191a559ef4a3209b1a43caebb98e5a494943e025fd28963130b602 - Sigstore transparency entry: 2324285690
- Sigstore integration time:
-
Permalink:
Kuan-Lun/hvbrowser@e735770049937e7c9ad197a98b72b89b9fa05ef2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Kuan-Lun
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e735770049937e7c9ad197a98b72b89b9fa05ef2 -
Trigger Event:
push
-
Statement type: