semvec/pypi-packages huggingface dataset:
llpy-helper-lib 2.13.1.post1
A typing & util lib for LLSE Python runtime
License: MIT
Requires Python: >=3.10

# LLSE-Python Helper Lib

A typing & util lib for LLSE Python runtime

为 LLSE Python 运行时开发的 类型提示/工具库

## Install / 安装

Use `pip` or other Python package managers to install globally for type hints.

使用 `pip` 或其他包管理器全局安装来提供类型提示

```shell
pip install llpy-helper-lib
```

## Usage / 用法

**[example.py](./example.py)**
version-stamper 1.0.3
Manage/sync version numbers across all files that contain it, including git tags.
License: MIT

# version-stamper

> Manage/sync version numbers across all files that contain it, including git tags - from a single source of truth.

Some projects have version numbers in multiple files, e.g. `package.json` or `setup.py`, on a documentation page, etc.

With version stamper, you set the version number in one place (`version_stamp.json`), configure which files need the version number.  

## Example
For example, our [halchemy](https://github.com/pointw-dev/halchemy) library contains packages for Python, Node, and Ruby (more coming in the roadmap!).  To keep all of these packages in sync, halchemy's `version_stamp.json` looks like this:

```json
{
    "version": "1.0.3",
    "files": [
        {
            "path": "./node/halchemy/package.json",
            "pattern": "^  \"version\": \"{version}\","
        },
        {
            "path": "./node/halchemy/package-lock.json",
            "pattern": "^  \"version\": \"{version}\","
        },
        {
            "path": "./python/version.py",
            "pattern": "VERSION = '{version}'"
        },
        {
            "path": "./ruby/halchemy/lib/halchemy/version.rb",
            "pattern": "VERSION = \"{version}\""
        }
    ]
}
```

Then when you change the version number all you do is:

```bash
stamp --set 1.0.4
```

This updates `version_stamp.json` (the single source of truth for the version) then applies the version number to all files configured.

Stamp by itself with display the current version

```bash
stamp
```

## Tag your git commit
After you commit your code, you can easily tag the commit with:

```bash
stamp --tag
git push --tags
```