[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "shijing"
version = "0.5.1"
description = "诗经与四书文本分析工具:语料清洗、字频/词频/韵脚统计、词云与候选名出处核验"
requires-python = ">=3.10"
license = {text = "MIT"}
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Text Processing :: Linguistic",
"Natural Language :: Chinese (Simplified)",
"Natural Language :: Chinese (Traditional)",
]
dependencies = [
"jieba>=0.42",
"pypinyin>=0.50",
]
[project.urls]
Homepage = "https://gitcode.com/LLLAAAAA/shijing"
Repository = "https://gitcode.com/LLLAAAAA/shijing"
Issues = "https://gitcode.com/LLLAAAAA/shijing/issues"
Changelog = "https://gitcode.com/LLLAAAAA/shijing/blob/main/CHANGELOG.md"
[project.optional-dependencies]
cloud = [
"wordcloud>=1.9",
"matplotlib>=3.7",
]
dev = [
"pytest>=8",
"ruff>=0.5",
"zhconv>=1.4",
"matplotlib>=3.7",
"wordcloud>=1.9",
]
[project.scripts]
shijing = "shijing.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 100
target-version = "py310"
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
ignore = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests"]