Skip to main content

Python utility library.

Project description

Copyright 2026 UsamaAliceWhite All Rights Reserved

Overview

  1. Purpose
    • Python用ユーティリティライブラリ
  2. Language
    • Python
  3. Third Party Library
    • None
  4. Platform
    • Windows
    • Linux
    • Mac

Function

Core

  1. SingletonPattern
    1. Purpose
      • スレッドセーフなシングルトンパターンのメタクラス
    2. SampleCode
      from UsamaAliceWhite.Core import SingletonPattern
      
      class SeaOtter(metaclass= SingletonPattern):
          def __init__(self) -> None:
              pass
      
      a = SeaOtter()
      b = SeaOtter()
      assert a is b
      

System

  1. is_remote_debug_port_active
    1. Purpose
      • リモートデバッグポートの使用状況を確認
    2. 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.")
      
  2. launch_browser_with_remote_debug
    1. Purpose
      • Chromium系ブラウザをリモートデバッグモードで起動
    2. 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,
          add_cmdline_args= ["--no-first-run", "--start-maximized"]
      )
      

DirectoryStructure

UsamaAliceWhite-PyPI/
├── UsamaAliceWhite/
│   ├── Core/
│   │   ├── __init__.py
│   │   └── MetaClass.py
│   ├── System/
│   │   ├── __init__.py
│   │   └── Process.py
│   ├── __init__.py
│   └── py.typed
├── LICENSE
└── README.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

usamaalicewhite-6.0.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

usamaalicewhite-6.0.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file usamaalicewhite-6.0.0.tar.gz.

File metadata

  • Download URL: usamaalicewhite-6.0.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for usamaalicewhite-6.0.0.tar.gz
Algorithm Hash digest
SHA256 48283f90d2e5244d3419ef33fcec60ddc3f6df99874bb34613a5efcf5d6a5616
MD5 85245ac98a1261d8c46d29207d34fb9a
BLAKE2b-256 ea182ff18ea72611f15509ff7cc334250dfe1747360fd9c15e0c58521e953ee0

See more details on using hashes here.

File details

Details for the file usamaalicewhite-6.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for usamaalicewhite-6.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1fefee0d56ad97badb982cd1252961b4f9c476dc2dd670a2fa79cbb9476ba53a
MD5 5dc0acc470b2fce919489172a94ccbdc
BLAKE2b-256 398bfdb4a541f662a64ddfb024872dbad120ea8abae6ce302fc4beeda95293a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page