習作を兼ねた使い回し用のツール群。
Project description
mrhzr-tools
習作を兼ねた使い回し用のツール群。
Reusable utility tools developed for learning purposes.
インストール方法 / Installation
pip install mrhzr-tools
構成 / Structure
以下の構成図に示す通り、各モジュールは mrhzr.tools ディレクトリ配下に整理されています。
Modules are organized under the mrhzr.tools directory, as shown in the structure below:
└── 📁mrhzr
└── 📁tools
├── __init__.py
├── config_manager.py
└── log.py
使用方法 / Usage
config_manager
YAML 形式のコンフィグファイルを読み込み、セクションごとの設定を返す。 コンフィグファイルの読み込みは一度だけ。
Reads YAML config files and retrieves settings for each section. Load the configuration file only once.
from mrhzr.tools import config_manager
config_manager.init_config("config.yaml")
config = config_manager.get_config("section", default=None)
log
システム全体のログの管理。
Centralized system logging.
from mrhzr.tools import log
# if config=None, use config_manager.get_config("logging", None)
log.init_log(config=None)
logger = log.get_logger(__name__)
依存関係 / Requirements
このパッケージは以下の環境での動作確認をしています:
Confirmed to work in the following environments:
- Python 3.8+
- PyYAML 6.0.3+
ライセンス / License
このライブラリは MIT ライセンスのもとで公開されています。
This library is released under the MIT License.
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 mrhzr_tools-1.1.0.tar.gz.
File metadata
- Download URL: mrhzr_tools-1.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8095341146cbad595eecb0a27e2202923b2693102227ba1966bc92a531b90411
|
|
| MD5 |
7472e9fcaf19d72beec78467d26622fe
|
|
| BLAKE2b-256 |
3aeafd5c43adead3d2586a5afed40c62ce92e60b469038d21390d4eeeeb04ac0
|
Provenance
The following attestation bundles were made for mrhzr_tools-1.1.0.tar.gz:
Publisher:
publish.yml on murahazure/tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mrhzr_tools-1.1.0.tar.gz -
Subject digest:
8095341146cbad595eecb0a27e2202923b2693102227ba1966bc92a531b90411 - Sigstore transparency entry: 1050519054
- Sigstore integration time:
-
Permalink:
murahazure/tools@9cb9d9008a9d1e0656b7faf2684cf3318bf5967d -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/murahazure
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9cb9d9008a9d1e0656b7faf2684cf3318bf5967d -
Trigger Event:
release
-
Statement type:
File details
Details for the file mrhzr_tools-1.1.0-py3-none-any.whl.
File metadata
- Download URL: mrhzr_tools-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5a81df100a0744d870ffd2290823a87e41d4b72b9b719473e52ba142b949753
|
|
| MD5 |
d6a19b91a1a2a612ec3fd1da03996078
|
|
| BLAKE2b-256 |
2762a3a547810076fb5fe5e0f68788007e8243b2d79e3edb607a02728e929cd2
|
Provenance
The following attestation bundles were made for mrhzr_tools-1.1.0-py3-none-any.whl:
Publisher:
publish.yml on murahazure/tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mrhzr_tools-1.1.0-py3-none-any.whl -
Subject digest:
b5a81df100a0744d870ffd2290823a87e41d4b72b9b719473e52ba142b949753 - Sigstore transparency entry: 1050519101
- Sigstore integration time:
-
Permalink:
murahazure/tools@9cb9d9008a9d1e0656b7faf2684cf3318bf5967d -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/murahazure
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9cb9d9008a9d1e0656b7faf2684cf3318bf5967d -
Trigger Event:
release
-
Statement type: