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