Python Utility Pack
Project description
pytilpack
Pythonのユーティリティ集。
インストール
ベースパッケージ(stdlib系ユーティリティ + httpx/werkzeug):
pip install pytilpack
各モジュールが必要とするライブラリは extras で追加インストールする:
pip install pytilpack[all] # 全モジュール
pip install pytilpack[fastapi] # pytilpack.fastapi 用
pip install pytilpack[flask] # pytilpack.flask 用
# ...
uvx で CLI を使う場合、サブコマンドが要求する extras を --from で明示する:
uvx --from 'pytilpack[mcp]' pytilpack mcp
uvx --from 'pytilpack[sqlalchemy]' pytilpack wait-for-db-connection "$SQLALCHEMY_DATABASE_URI"
extras 一覧
| Extra | 対象モジュール | 依存パッケージ |
|---|---|---|
all |
全モジュール | (全依存) |
anthropic |
.anthropic |
anthropic |
babel |
.babel .i18n |
babel |
environ |
.environ |
python-dotenv |
fastapi |
.fastapi |
fastapi等 |
flask |
.flask .flask_login |
flask等 |
htmlrag |
.htmlrag |
beautifulsoup4 |
markdown |
.markdown |
bleach等 |
mcp |
CLI: pytilpack mcp |
mcp等 |
msal |
.msal |
msal等 |
openai |
.openai |
openai |
pycryptodome |
.pycrypto |
pycryptodome |
pydantic |
.pydantic |
pydantic |
pytest |
.pytest |
pytest等 |
pyyaml |
.yaml |
pyyaml |
quart |
.quart .quart_auth |
quart等 |
sqlalchemy |
.sqlalchemy |
sqlalchemy等 |
tiktoken |
.tiktoken |
tiktoken等 |
tqdm |
.tqdm |
tqdm |
web |
.web (check_html) |
html5lib |
extras不要のモジュール(ベースパッケージに含まれる):
.cache .crypto .data_url .functools
.healthcheck .http .httpx .io
.json .jsonc .paginator .random
.ratelimit .secrets .sse .validator 等
主な使い方
各モジュールを個別に import して利用する。
import pytilpack.xxx
xxx には対象ライブラリ名(openai や pathlib など)が入る。
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 pytilpack-1.44.1.tar.gz.
File metadata
- Download URL: pytilpack-1.44.1.tar.gz
- Upload date:
- Size: 339.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3803adee0e9babfc269116ecd2ffbba9d3648023ae1e9c55393cd7a02fabeb91
|
|
| MD5 |
a5956cf61a8be5544597a8d744c89ff4
|
|
| BLAKE2b-256 |
78bcf5515a2e2f0d08c7648d5c144c21bccc01a9f8f07dd4487c85ec572b861e
|
File details
Details for the file pytilpack-1.44.1-py3-none-any.whl.
File metadata
- Download URL: pytilpack-1.44.1-py3-none-any.whl
- Upload date:
- Size: 128.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a24c8169669a22c4b6a2094502012c7915ce1ce2a13f0b6880ec3c1e9ef0fbfe
|
|
| MD5 |
bbe50a5f4319ae8d369cc8f2ad93c569
|
|
| BLAKE2b-256 |
5cecd1ddecbcdee405767210fda2ef50a86e03c357ec3542eaaa18edf68f3a5e
|