This release is a pre-release and may not be stable for production use.
browserman
Python bindings for browserman, a cross-platform browser detection and launcher written in Rust.
Python
pip install browserman
import browserman
for browser in browserman.browsers():
print(browser.browser_type, browser.display_name, browser.version, browser.path)
chrome = browserman.get("chrome", "152.*")
if chrome is not None:
pid = chrome.launch("https://example.com", ["--incognito"])
pid = browserman.launch("firefox", url="https://example.com")
browser.launch() and browser.logo() act on a browser you already have.
The module level browserman.launch() looks the browser up first, so prefer the methods when you have one.
Both launch forms return the process id of the new child, because std::process::Child has no Python equivalent.
They raise BrowsermanError when no browser matches or the process cannot be started.
browser.logo() returns a Logo carrying content_type and bytes, or None when no icon can be extracted.
The package ships py.typed and a stub file, so type checkers see the full API.
Metadata
Release files for browserman 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| browserman-0.1.0a1.tar.gz | 31.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| browserman-0.1.0a1-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 377.4 kB
Release files / browserman-0.1.0a1.tar.gz
| Download URL | browserman-0.1.0a1.tar.gz |
|---|---|
| Size | 31.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f02e5a42548184b712d0a1ecab0a95253a0cc7f15b9eb9a3535b7f35a6d3e76d
|
|
BLAKE2b-256 checksum How to use checksums |
dbadebbc320a6cd98e2bc395c2b197d992332633a3fdeeaaf29edb03f171a900
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / browserman-0.1.0a1-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | browserman-0.1.0a1-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 346.0 kB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5225e195555880953a2741a25055bcfcd855606f41b788bb74d1503325ac3e1d
|
|
BLAKE2b-256 checksum How to use checksums |
4c8f897644efe30838f4efc11d98874045aeea31b5aabc98917a57a3c21a8291
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|