AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
description: command line utilities to help you work with paths
have you even done calculations of paths in shells of the form:
And did you get upset when the path came out wrong? either repeated
elements, extra colons, wrong order and the like?
This is the end of your troubles.
$ export PATH=$(pypathutil add --head $PATH /usr/games/bin)
Which means adding to the head of the path.
If you want to add to the tail of the path just use:
$ export PATH=$(pypathutil add --tail $PATH /usr/games/bin)
If you are on windows and want a different separator檢視完整 README ↗description: command line utilities to help you work with paths
project website: https://veltzer.github.io/pypathutil
author: Mark Veltzer
version: 0.0.17
have you even done calculations of paths in shells of the form:
$ export PATH=$PATH:$HOME/bin
And did you get upset when the path came out wrong? either repeated elements, extra colons, wrong order and the like?
This is the end of your troubles.
$ export PATH=$(pypathutil add $PATH /usr/games/bin)
This is the same as adding:
$ export PATH=$(pypathutil add --head $PATH /usr/games/bin)
Which means adding to the head of the path.
If you want to add to the tail of the path just use:
$ export PATH=$(pypathutil add --tail $PATH /usr/games/bin)
If you are on windows and want a different separator
$ export PATH=$(pypathutil add --separator \; $PATH /usr/games/bin)
But default pypathutil will remove duplicate entries, remove non absolute paths, and remove folders which do not exist. All of these can be controlled with appropriate flags.
$ pip3 install pypathutil --user
to install in your home directory or
$ sudo -H pip3 install pypathutil
to install for all users on the system.
If you don't have pip3 then you can probably get it using:
$ sudo apt install python3-pip
After doing a little performance work it dawned on me that writing bash code to do the same will be much faster. And I actually wrote bash functions to implement all of this but this package is still my best suggestion for people who want a solid foundation (bash can not be called solid).
You can, of course, use pypathutil for it's API as a python module. It's quite intuitive.
Mark Veltzer, Copyright © 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026