semvec/pypi-packages huggingface dataset:
streamlit-timeago 0.1.2
Streamlit wrapper of timeago-react to render time ago
Requires Python: >=3.7

# Streamlit Time Ago

Streamlit wrapper of `timeago-react`: https://www.npmjs.com/package/timeago-react

Examples:

```
just now
12 seconds ago
2 hours ago
3 days ago
3 weeks ago
2 years ago

in 12 seconds
in 3 minutes
in 24 days
in 6 months
```

## Installation instructions

```sh
pip install streamlit-timeago
```

## Usage instructions

```python
from streamlit_timeago import time_ago
from datetime import datetime

time_ago(datetime.now())
```
audit-trail-logger 0.1.3
A Django package for logging actions with user and object details
Requires Python: >=3.6

# Django Audit Log

A simple Django package for logging user actions on objects within the application.

## Installation

Install via pip:

pip install audit-trail-logger

1. Add auditlog to INSTALLED_APPS in your Django settings. 
2. Use the audit_log decorator on your views or model methods.
    from auditlog.decorators import audit_log 
    @audit_log(action_type='create', object_type='Product') 
    def create_product(request): 
        ## Your logic for creating the product pass
gg_daigua 0.2.23
方便的工具
Requires Python: <4.0,>=3.12

## 自用的工具箱


### 使用

`gg --help`

```shell

Usage: gg [OPTIONS] COMMAND [ARGS]...

╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion          Install completion for the current shell.                                           │
│ --show-completion             Show completion for the current shell, to copy it or customize the installation.    │
│ --help                        Show this message and exit.                                                         │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ my          自用工作流，1.下载最清晰的youtube视频，2.提取srt文件，3.合并字幕与视频，并清除多余文件，只留带字幕的… │
│ srt         自动生成视频的字幕srt文件                                                                             │
│ srt-merge   合并srt字幕和视频文件                                                                                 │
│ youtube     下载youtube视频                                                                                       │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

```



### 打包上传

安装依赖

`poetry install`

构建包

`opetry build`

配置pypi token（配置过可跳过）

`poetry config pypi-token.pypi <your-api-token>`

上传

`poetry publish`


### 版本更新

```shell

poetry version patch   # 增加补丁版本，0.1.0 -> 0.1.1
poetry version minor   # 增加次版本，0.1.0 -> 0.2.0
poetry version major   # 增加主版本，0.1.0 -> 1.0.0
poetry version <新版本号>  # 直接设置为特定版本号

```