# rawstr4c input for Python - prefix = `RAWSTR_pl_python` - output = `:global-variable-only-header` - translate = `:hex` - no-postfix = `true`
## uv ### uv config source content ```toml [[index]] url = "@url@" default = true ``` ### Get uv config ```sh grep -A 2 'index' @f@ | sed -n 's/^url = "\(.*\)"/\1/p' ``` ### Set uv config ```sh @sed@ '/^\[\[index\]\]$/,/^default = true$/{s|^url = ".*"$|url = "@url@"|}' @f@ ``` ### Test uv if set source ```sh grep -q '^\[\[index]]$' @f@ ```
## Rye - name = `rye_config` ```toml [[sources]] name = "@1@" url = "@2@" ```