Python utility library.
Project description
Information
Overview
- Purpose
- Python utility library
- Author
- UsamaAliceWhite
- Copyright
- Copyright 2026 UsamaAliceWhite All Rights Reserved
Environment
- Language
- Python
- Standard Library
- pathlib
- socket
- subprocess
- threading
- typing
- Third-Party Library
- None
- Support OS
- Window
- Linux
- Mac
Specification
Core
- SingletonPattern
- Purpose
- Thread-safe Singleton pattern using a metaclass.
- Arguments
- None= None
- Returns
- None= None
- SampleCode
from UsamaAliceWhite.Core import SingletonPattern class SeaOtter(metaclass= SingletonPattern): def __init__(self) -> None: pass one: SeaOtter = SeaOtter() two: SeaOtter = SeaOtter() assert one is two
- Purpose
System
- is_remote_debug_port_active
- Purpose
- Check the usage status of the remote debugging port.
- Arguments
- port= Remote debugging port number
- host= Target host address
- timeout= Connection timeout in seconds
- Returns
- True= Port is in use
- False= Port is available
- SampleCode
from UsamaAliceWhite.System import is_remote_debug_port_active if is_remote_debug_port_active(port= 5368): print("Port is in use.") else: print("Port is available.")
- Purpose
- launch_browser_with_remote_debug
- Purpose
- Launch the browser with a specified remote debugging port.
Supports Chrome, Edge, and other Chromium browsers.
- Launch the browser with a specified remote debugging port.
- Arguments
- browser_path= Path to the browser executable
- profile_path= Path to the profile directory
- debug_port= Remote debugging port number
- cmdline_args= Additional command-line arguments
(--user-data-dir and --remote-debugging-port are added automatically)
- Returns
- subprocess.Popen= The launched browser process instance
- SampleCode
from UsamaAliceWhite.System import launch_browser_with_remote_debug from subprocess import Popen process: Popen = launch_browser_with_remote_debug( browser_path= "C:/Program Files/Google/Chrome/Application/chrome.exe", profile_path= "C:/UsamaAliceWhite/Profile/", debug_port= 5368, cmdline_args= ["--no-first-run", "--start-maximized"] )
- Purpose
Structure
UsamaAliceWhite-PyPI/
├── UsamaAliceWhite/
│ ├── Core/
│ │ ├── __init__.py
│ │ └── MetaClass.py
│ ├── System/
│ │ ├── __init__.py
│ │ └── Process.py
│ ├── __init__.py
│ └── py.typed
├── LICENSE
├── pyproject.toml
└── README.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
usamaalicewhite-7.1.0.tar.gz
(8.8 kB
view details)
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 usamaalicewhite-7.1.0.tar.gz.
File metadata
- Download URL: usamaalicewhite-7.1.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9677b772506a1383cc5a18b885ee55e0255dcdf3b71d3ad5cdb087bf70e358ff
|
|
| MD5 |
27466b5d20f0f09542fbd8f39ea3ec1f
|
|
| BLAKE2b-256 |
f59d74d59c4000d955a3db57ede97a47d025e989d02e8ca9099d0604e591d687
|
File details
Details for the file usamaalicewhite-7.1.0-py3-none-any.whl.
File metadata
- Download URL: usamaalicewhite-7.1.0-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb8c06aa730596ef42ba9be186938c9322d6590cea4f45290d4b34bff930cc19
|
|
| MD5 |
c80665ca9d7f0c5d1442fa6cec135aef
|
|
| BLAKE2b-256 |
5c1aa4445ab9151e000b9eaad1498918935983bec4810daf2a28aef3e1686ae4
|