WordPress-style content management with block-based pages, stored as JSON files on disk instead of MySQL.

0 downloads

dbbasic-content/pyproject.toml
Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-content.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-content.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-content.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

danq9 Release v0.2.0 - Pages support 25b7e5e 1 year, 1 month ago History
pyproject.toml · 1.8 KB · 65 lines
1[build-system]
2requires = ["setuptools>=61.0", "wheel"]
3build-backend = "setuptools.build_meta"
4
5[project]
6name = "dbbasic-content"
7version = "0.2.0"
8description = "Unix-foundation content management for web apps - WordPress escape toolkit"
9readme = "README.md"
10authors = [{name = "Dan Quellhorst", email = "dan@quellhorst.com"}]
11license = {text = "MIT"}
12classifiers = [
13 "Development Status :: 3 - Alpha",
14 "Intended Audience :: Developers",
15 "Topic :: Software Development :: Libraries :: Python Modules",
16 "License :: OSI Approved :: MIT License",
17 "Programming Language :: Python :: 3",
18 "Programming Language :: Python :: 3.8",
19 "Programming Language :: Python :: 3.9",
20 "Programming Language :: Python :: 3.10",
21 "Programming Language :: Python :: 3.11",
22]
23keywords = ["cms", "content-management", "wordpress", "unix", "blocks", "json"]
24requires-python = ">=3.8"
25dependencies = [
26 "dbbasic-tsv>=1.0.0",
27]
28
29[project.optional-dependencies]
30dev = [
31 "pytest>=7.0",
32 "pytest-cov>=4.0",
33]
34wordpress = [
35 "pymysql>=1.0",
36]
37
38[project.urls]
39Homepage = "https://github.com/askrobots/dbbasic-content"
40Documentation = "https://github.com/askrobots/dbbasic-content#readme"
41Repository = "https://github.com/askrobots/dbbasic-content"
42"Bug Tracker" = "https://github.com/askrobots/dbbasic-content/issues"
43
44[project.scripts]
45dbcontent = "dbbasic_content.cli:main"
46
47[tool.pytest.ini_options]
48testpaths = ["tests"]
49python_files = ["test_*.py"]
50python_classes = ["Test*"]
51python_functions = ["test_*"]
52addopts = ["-v", "--strict-markers", "--tb=short"]
53
54[tool.coverage.run]
55source = ["dbbasic_content"]
56omit = ["tests/*", "*/test_*.py"]
57
58[tool.coverage.report]
59exclude_lines = [
60 "pragma: no cover",
61 "def __repr__",
62 "raise AssertionError",
63 "raise NotImplementedError",
64 "if __name__ == .__main__.:",
65]