semvec/pypi-packages huggingface dataset:
tk-core 1.5.0
Centralized core functionality for Terakeet SD, DS, DE, etc.

# tk-core

[![PyPI Latest Release](https://img.shields.io/pypi/v/tk-core.svg)](https://pypi.org/project/tk-core/)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

Centralized core functionality for Terakeet SD, DS, DE, etc.

## Installation

The tk-core package is available on PyPI and can be installed using pip:

```
pip install tk-core
```

# APIs

## Current

- [common](src/tk_core/common/README.md)
  - anything you find yourself using frequently could be added here
- [serp_api](src/tk_core/serp_api/README.md)
  - anything related to <a href=https://serpapi.com>SERPAPI</a>
  - there is a base class for all Google endpoints: `serp_api.base.py:SERPAPI`
- [snowflake](src/tk_core/snowkeet/README.md)
  - anything related to snowflake
- [core](src/tk_core/core/README.md)
  - functionality that is core to the other sub-modules in the package
- [async module](src/tk_core/core/async_module/README.md)
  - helper functions and async functionality that is core to the other sub-modules in the package
- [urls](src/tk_core/urls/normalizer.py)
  - URL normalizer as implemented by https://github.com/terakeet/tk-normalizer

## Examples

Each sub-packages should have their own directory inside the `examples` directory. These will be built out over time to help (along with the documentation) understand functionality and common use cases for the tk-core package.

# Project Structure

```
tk-core
├── examples
│   ├── aws
│   ├── core
│   ├── notebooks
│   ├── page_restructuring
│   ├── scraping_bee
│   ├── serp_api
│   ├── snowkeet
│   └── timing
├── src
│   └── tk_core
│       ├── aws
│       ├── common
│       ├── core
│       │   └── async_module
│       ├── gp
│       ├── page_restructuring
│       │   └── utils
│       ├── page_scrape
│       ├── prefect
│       ├── serp_api
│       ├── snowkeet
│       ├── threads
│       ├── timing
│       └── urls
└── test
    ├── async_module
    ├── aws
    ├── common
    │   └── fixtures
    ├── core
    ├── page_restructuring
    ├── page_scrape
    ├── serp_api
    ├── snowkeet
    ├── threads
    ├── timing
    └── urls
```


# Questions, Concerns, Bugs

Clone the repo, create a PR and give it a shot your self. Make sure to write some tests--or update the existing ones--with any changing functionality. Feel free to reach out to the engineering team for help.
JPEG2GIF 0.0.5
JPEG2GIF
Requires Python: >=3.9


[![PyPI](https://img.shields.io/pypi/v/JPEG2GIF.svg)](https://pypi.org/project/JPEG2GIF/)
[![Python Version](https://img.shields.io/pypi/pyversions/JPEG2GIF.svg)](https://pypi.org/project/JPEG2GIF/)
[![License](https://img.shields.io/pypi/l/JPEG2GIF.svg)](https://github.com/uag515/JPEG2GIF/blob/main/LICENSE)

将多个 JPEG/JPG 图像合并为一个动画 GIF 的轻量级 Python 工具。

> 简单、快速、无需复杂配置。

## 📦 安装

使用 pip 安装：

```bash
pip install JPEG2GIF
依赖项 Pillow 会自动安装。🚀 快速使用1. 基本用法from JPEG2GIF import convert_images_to_gif

# 指定图像路径列表
image_paths = ["image1.jpg", "image2.jpg", "image3.jpg"]

# 转换为 GIF
convert_images_to_gif(image_paths, "output.gif")
2. 自定义参数convert_images_to_gif(
    image_paths,
    output_path="animated.gif",
    duration=500,      # 每帧显示时间（毫秒）
    loop=0,            # 循环次数（0 表示无限循环）
    resize=None,       # 可选：调整图像大小，如 (800, 600)
    optimize=True      # 优化 GIF 文件大小
)
3. 使用通配符批量处理import glob
from JPEG2GIF import convert_images_to_gif

# 自动匹配所有 .jpg 和 .jpeg 文件
image_paths = sorted(glob.glob("frames/*.jpg") + glob.glob("frames/*.jpeg"))
convert_images_to_gif(image_paths, "result.gif", duration=200)
🖼️ 命令行使用（CLI）安装后，可直接在终端使用：# 基本用法
jpeg2gif image1.jpg image2.jpg image3.jpg -o animation.gif

# 设置帧延迟和循环
jpeg2gif *.jpg -o output.gif --duration 300 --loop 1

# 查看帮助
jpeg2gif --help
🧩 功能特性
•✅ 支持 .jpg 和 .jpeg 格式
•✅ 可调节帧延迟（duration）
•✅ 支持无限或有限循环（loop）
•✅ 可选图像缩放（resize）
•✅ 启用 GIF 优化以减小文件大小
•✅ 支持命令行和 Python API 两种调用方式
⚙️ 开发者安装开发依赖pip install -e .
pip install -r dev-requirements.txt  # 或使用 pyproject.toml 中的 dev 依赖
运行测试pytest tests/
📄 许可证本项目基于 MIT 许可证 开源。📬 反馈与问题欢迎提交 issue 或 PR：
 👉 https://github.com/uag515/JPEG2GIF/issues作者：uag515 uag515@sina.com
---

## ✅ 说明

- **替换链接**：请将 `https://github.com/uag515/JPEG2GIF` 替换为你真实的 GitHub/GitLab 仓库地址。
- **功能假设**：此 README 假设你的包提供了 `convert_images_to_gif` 函数和 `jpeg2gif` CLI 命令。如果实际 API 不同，请根据你的代码调整示例。
- **可扩展**：你可以添加“示例 GIF 图”、“性能对比”、“常见问题”等章节。