Skip to main content

`positive_tool` 一個輔助開發的 Python 工具模組。目標提供實用的工具

Project description

icon

positive_tool

正體中文 | English

positive_tool 是一個輔助開發的 Python 工具函式庫。目標提供小而實用的工具。

主要功能

  • find_project_path:由指定路徑向上查找並回傳專案資料夾路徑。
  • build_logger:使用 loggingrich.RichHandler 建立 Logger

測試

uv sync --extra test
uv run pytest

貢獻

  • 歡迎提交 issue 和 pull request。

已知問題

暫未發現

使用

>>> from positive_tool import arg, pt
>>> from positive_tool.exceptions import exceptions
>>> 
def test_func(arg: int):
    ArgType("arg", arg, [int])
    print(arg)
>>> 
try:
    test_func("")
except exceptions.arg.ArgTypeWrongTypeError:
    pass
>>>test_func(10)
10

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

positive_tool-0.6.0-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

Details for the file positive_tool-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: positive_tool-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 33.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for positive_tool-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef867765f22d4ca5c3fd751a2897edfd34755f08d01fafcc0de66b3bbb49c886
MD5 efae4b083d08c47fb86252e2a87028c1
BLAKE2b-256 7bf9deb60892bd2b5ba3bb37d2df5c7db27d81398ed78c5d309202acfb449c58

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