Skip to main content

glovebox-hosts

The helpers every part of glovebox shares that read or write outside the process: the bundled Public Suffix List, file locks, owner-only files, sockets and directories, atomic file publish, process-group stops and text elision. The host rules and the JSON reader live in glovebox-core.

BUNDLED_SUFFIXES is the Public Suffix List that tldextract bundles, read offline. Pass it to each glovebox_core.host_rules rule that judges a name against that list. tldextract is imported only when a name is judged, so a python without it raises SuffixListUnread there and nowhere else.

python3 -m glovebox_hosts runs the host rules for a caller outside Python: name-check judges one name.

glovebox_hosts.flock holds an exclusive file lock: held, for a block. It lives here because the host tools and the monitor package can both import it.

glovebox_hosts.proc_handle follows a process through a kernel handle and stops a process group as one unit. run_group runs a child under a timeout that stops the grandchildren too. The launcher, the monitor, the driver and the eval harnesses all import it from here.

glovebox_hosts.reads reads a host file or folder and raises ReadFailed when a read fails. Only a present_* reader answers None for a missing path. glovebox_hosts.proc_identity judges whether a pid still names the process a record holds, by its start time. glovebox_hosts.probe_timeouts holds the ceiling and kill grace one host probe gets. The launcher imports each from here, and the services it holds can import them without the launcher's code.

glovebox_hosts.held_services reads the record of the host services a session's launch holds. down names each service of that session that should run and does not. The launcher writes the record and stops what it names; the monitor reads it here for its health verdict.

Metadata

Release files for glovebox-hosts 0.12.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 glovebox-hosts 0.12.0
File Size Uploaded Provenance Actions
glovebox_hosts-0.12.0.tar.gz 41.0 kB Without provenance Details for glovebox_hosts-0.12.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for glovebox-hosts 0.12.0
File Interpreter ABI Platform Actions
glovebox_hosts-0.12.0-py3-none-any.whl Python 3 none any Details for glovebox_hosts-0.12.0-py3-none-any.whl

Total release size: 86.4 kB

Release files / glovebox_hosts-0.12.0.tar.gz

Download URL glovebox_hosts-0.12.0.tar.gz
Size 41.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7e2e003f5ac0ce68fc56b4533b6886c983fe7534e0162473e22923d2d36abc01
BLAKE2b-256 checksum
How to use checksums
e5d9f225dc7d0c98a3bafd1753d3e64e2caf0ab6696e26a21afbbdfc13917ca0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / glovebox_hosts-0.12.0-py3-none-any.whl

Download URL glovebox_hosts-0.12.0-py3-none-any.whl
Size 45.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6cad6b079c6a43ac27d7d396fb0778e339d1b9c67ff04983c7d4430562dfc2f8
BLAKE2b-256 checksum
How to use checksums
1eaa984177b0fa7c2779861dedb5b4dc5130db4353b59890428e32e382e342bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for glovebox-hosts 0.12.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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