Skip to main content

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

hvbrowser-0.1.0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hvbrowser-0.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file hvbrowser-0.1.0.tar.gz.

File metadata

  • Download URL: hvbrowser-0.1.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hvbrowser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f8332ecfdf024c66de8803f92dc9fa81eea8d4a626dcdbe656e10dc2ca2bec2f
MD5 f494578c4d1e6e00e13b9980df1d853a
BLAKE2b-256 7c1ece9f34b3a3a2080b020f4af1dc15f5790f76c3b61a63449dbab9d3185ab2

See more details on using hashes here.

Provenance

The following attestation bundles were made for hvbrowser-0.1.0.tar.gz:

Publisher: publish.yml on Kuan-Lun/hvbrowser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hvbrowser-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hvbrowser-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hvbrowser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10deda55fc5ae041f13e9838615d76561518864d714c2cf181f028ea0a30ad1a
MD5 9db7f5e55b2e86777da432b4e7085a0c
BLAKE2b-256 26a2d2f23f5436ece945aa3712e01158a99a8c567f80db06602bb331121b2d22

See more details on using hashes here.

Provenance

The following attestation bundles were made for hvbrowser-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Kuan-Lun/hvbrowser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.10.2

2 files

0.10.1

2 files

0.9.8

2 files

0.9.7

2 files

0.9.6

2 files

0.9.5

2 files

0.9.4

2 files

0.9.3

2 files

0.9.2

2 files

0.9.1

2 files

0.8.0

2 files

0.7.3

2 files

0.7.2

2 files

0.7.0

2 files

0.6.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.13

2 files

0.2.12

2 files

0.2.11

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

2 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