A versatile utility library designed to streamline common development tasks.
Project description
Copyright 2026 UsamaAliceWhite All Rights Reserved
------ Core ------
説明
メタクラスなどの基底システムに関連するライブラリ。
関数
SingletonPattern
- シングルトンパターン。メタクラスとして利用。
------ Desktop ------
説明
モニターやマウスなどデスクトップに関連するライブラリ。
関数
get_monitor_geometry()
- モニターの幾何学情報(x,y,width,height)を取得する。
------ Log ------
説明
「アプリケーション全体でログを一元管理する」「簡単にログが出力出来る」
これらをコンセプトとし開発している。
本機能はアプリ全体で一つの設定を共有する。
その為、初回に設定した内容がアプリ終了時まで維持される。
維持されている間は変更が出来ない。
関数
Declaration()
- ログの設定を行う。
- Emitter()を呼び出す前に1度のみ実行可能。以降は無視される。
- 初期値は「毎日0時にログファイルのローテーションを行う。なお過去ファイルは30ファイルまで保存される。
Emitter()
- ログの書き込みを行う。
- Declaration()を呼び出さずに利用可能。その際は初期値が適応される。
サンプルコード
from UsamaAliceWhite import Log
def main():
Declaration(file_path= "C:/Logs/memory.log")
Emitter(message= "In Python we trust.")
if __name__ == "__main__":
main()
------ Media ------
説明
MP4やPNGなど動画・画像に関連するライブラリ。
関数
video_download()
- Webサイトから動画(MP4)をダウンロードする。利用規約等は対象のWebサイトに準ずる。
------ ディレクトリ構造 ------
UsamaAliceWhite/
├── Core/
│ ├── __init__.py
│ ├── Pattern.py
│ └── py.typed
├── Desktop/
│ ├── __init__.py
│ ├── Monitor.py
│ └── py.typed
├── Log/
│ ├── Core/
│ │ ├── __init__.py
│ │ ├── Handler.py
│ │ └── Logger.py
│ ├── Share/
│ │ ├── __init__.py
│ │ └── Pattern.py
│ ├── __init__.py
│ └── py.typed
├── Media/
│ ├── __init__.py
│ ├── py.typed
│ └── Video.py
├── 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
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-3.0.1.tar.gz.
File metadata
- Download URL: usamaalicewhite-3.0.1.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a93f94b562a598e1556bdf907b5174f3f83eedbbfa8854265e78fa093354ee91
|
|
| MD5 |
d18f47192a97c17c7935730c60e25c10
|
|
| BLAKE2b-256 |
c08b8ddd5d113d47305ff3f2e9a1de526893fbb32448d37732c3eb9fc493f722
|
File details
Details for the file usamaalicewhite-3.0.1-py3-none-any.whl.
File metadata
- Download URL: usamaalicewhite-3.0.1-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
449df7f45c2604709621793bb1ca91a8bedf2e4aff4ba98075926d5854c01c18
|
|
| MD5 |
0c41e2e208a0afc4e358b5ce8ba9963b
|
|
| BLAKE2b-256 |
c9c4cfa55f07b45c7aa5f05a08a98257bf4f9b7e2989e8da6754fa43f2b67b2b
|