- Add MDAuth class for authentication and session management - Add MDClient class for note operations (CRUD + export/search) - Add CLI tool mdclient_cli.py for quick operations - Support for CodiMD, HedgeDoc, and HackMD services - Multi-endpoint API compatibility Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
59 lines
1.5 KiB
TOML
59 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "mdclient"
|
|
version = "0.1.0"
|
|
description = "Markdown 笔记服务的 Python 客户端库"
|
|
readme = "README.md"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Your Name", email = "your.email@example.com"}
|
|
]
|
|
keywords = ["markdown", "notes", "codimd", "hedgedoc", "hackmd", "api", "client"]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
requires-python = ">=3.8"
|
|
dependencies = [
|
|
"requests>=2.28.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"black>=22.0.0",
|
|
"flake8>=5.0.0",
|
|
"mypy>=0.990",
|
|
]
|
|
env = [
|
|
"python-dotenv>=1.0.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/yourusername/mdclient"
|
|
Repository = "https://github.com/yourusername/mdclient"
|
|
Issues = "https://github.com/yourusername/mdclient/issues"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["mdclient*"]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ["py38", "py39", "py310", "py311", "py312"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.8"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|