← 返回
未分类

Cn Lorem Ipsum

cn-lorem-ipsum。纯Python标准库,无需API Key。
中文占位符:纯 Python 标准库,无需 API 密钥。
freedompixels freedompixels 来源
未分类 clawhub v1.2.5 2 版本 99751.2 Key: 无需
★ 0
Stars
📥 401
下载
💾 0
安装
2
版本
#latest

概述

slug: cn-lorem-ipsum

name: 随机文本生成器

description: "cn-lorem-ipsum。纯Python标准库,无需API Key。"

keywords: lorem, ipsum

version: "1.0.0"

author: 千策

随机文本生成器

纯 Python 标准库实现的 Lorem Ipsum 随机文本生成工具。

功能

  • 单词生成:生成指定数量的随机单词
  • 句子生成:生成指定数量的完整句子
  • 段落生成:生成指定数量的段落
  • 固定种子:支持 secrets 模块随机种子(安全随机)

使用方式

# 生成 10 个随机单词
python3 cn_lorem_ipsum.py words 10

# 生成 5 个完整句子
python3 cn_lorem_ipsum.py sentences 5

# 生成 3 个段落
python3 cn_lorem_ipsum.py paragraphs 3

# 指定种子(可复现)
python3 cn_lorem_ipsum.py words 20 --seed 42

# 指定最小/最大单词数
python3 cn_lorem_ipsum.py words 50 --min 3 --max 12

# 中文模式(中文占位文本)
python3 cn_lorem_ipsum.py words 10 --lang zh

技术说明

  • 纯 Python 标准库(secretsargparserandom
  • 默认使用 secrets.choice 作为随机源(安全随机)
  • 可选 random 配合种子实现可复现结果
  • 支持中英文占位文本

出品: AISoBrand|爱索品牌 — AI搜索优化工具

官网: https://aisobrand.com

免费检测你的品牌在AI搜索中有没有存在感 → 30秒出结果

版本历史

共 2 个版本

  • v1.2.5 当前
    2026-06-07 12:43 安全
  • v1.2.4
    2026-05-07 07:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,537
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,449
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 326,231