Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.

9 downloads

dbbasic-object-server/pyproject.toml
Install on DigitalOcean Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-object-server.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-object-server.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-object-server.git

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

Daniel Quellhorst Changelog for this batch. 65ef78d 3 hours, 8 minutes ago History
pyproject.toml · 4.7 KB · 146 lines
1[build-system]
2requires = ["setuptools>=68.0", "wheel"]
3build-backend = "setuptools.build_meta"
4
5[project]
6name = "dbbasic-object-server"
7version = "0.0.1"
8description = "Python runtime for live, versioned DBBASIC application objects"
9readme = "README.md"
10requires-python = ">=3.10"
11license = {text = "MIT"}
12authors = [
13 {name = "DBBASIC Project", email = "dan@askrobots.com"}
14]
15keywords = [
16 "dbbasic",
17 "object-runtime",
18 "application-server",
19 "tsv",
20 "live-objects",
21 "versioned-objects",
22]
23classifiers = [
24 "Development Status :: 2 - Pre-Alpha",
25 "Intended Audience :: Developers",
26 "License :: OSI Approved :: MIT License",
27 "Programming Language :: Python :: 3",
28 "Programming Language :: Python :: 3.10",
29 "Programming Language :: Python :: 3.11",
30 "Programming Language :: Python :: 3.12",
31 "Programming Language :: Python :: 3.13",
32 "Programming Language :: Python :: 3.14",
33 "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
34 "Topic :: Software Development :: Libraries :: Application Frameworks",
35]
36dependencies = []
37
38[project.optional-dependencies]
39dev = [
40 "pytest>=7.4.0",
41 "pytest-cov>=4.1.0",
42 "ruff>=0.4.0",
43]
44test = [
45 "pytest>=7.4.0",
46]
47server = [
48 "uvicorn>=0.30.0",
49 # Websocket protocol implementation uvicorn needs to accept /ws upgrades
50 # for realtime push. Without it uvicorn rejects websocket connections.
51 "websockets>=12.0",
52]
53# The daemon's scheduler computes the next run of a cron schedule with
54# croniter. Every schedule the shipped packages declare is cron, so without
55# this extra no scheduled pass (invoice aging, recurring journals, the
56# biller, tracking polls) can run. It is not in `server` because the server
57# itself never needs it and the base install stays dependency-free; a box
58# that runs the daemon installs `.[server,scheduler]`. A missing croniter is
59# reported loudly (daemon boot, GET /daemon/status, the task's own error),
60# never skipped in silence.
61scheduler = [
62 "croniter>=2.0",
63]
64# Box-to-box exchange (docs/box-to-box-exchange.md) signs and verifies
65# business documents with Ed25519, which the standard library does not
66# have. Imported only by object_exchange, and only inside the functions
67# that sign or verify; without it the exchange refuses with a message
68# naming this extra, and nothing else on the box changes.
69exchange = [
70 "cryptography>=42",
71]
72
73[project.urls]
74Homepage = "https://dbbasic.com"
75Repository = "https://github.com/askrobots/dbbasic-object-server"
76Issues = "https://github.com/askrobots/dbbasic-object-server/issues"
77
78[tool.pytest.ini_options]
79testpaths = ["tests"]
80python_files = ["test_*.py"]
81python_classes = ["Test*"]
82python_functions = ["test_*"]
83addopts = [
84 "--strict-markers",
85 "--strict-config",
86 "-v",
87 # Heavy conformance/benchmark suites are deselected from the default
88 # (per-commit) run and invoked deliberately -- `pytest -m conformance`
89 # or `pytest -m bench` -- like benchmarking. A command-line -m overrides
90 # this, so those explicit invocations still work.
91 "-m", "not conformance and not bench and not e2e",
92]
93markers = [
94 "conformance: heavy correctness/charset/i18n/durability conformance suites; run deliberately, not per-commit (see plan/database-test-strategy.md)",
95 "bench: performance/scale benchmarks; a tracked trend, not a pass/fail gate",
96 "node: tests that run JavaScript under the `node` binary; they skip with \"node not installed\" where it is missing, and scripts/release_gate.sh node runs them where it is present",
97 "e2e: real-server, real-Chromium browser tests over the generated UI (see tests/e2e); slower and needs Playwright's browser binaries, run deliberately via `pytest -m e2e tests/e2e` (also its own CI job, .github/workflows/e2e.yml)",
98]
99
100[tool.setuptools]
101py-modules = [
102 "deployment_checks",
103 "http_api_contract",
104 "object_backup",
105 "object_collections",
106 "object_correlation",
107 "object_daemon",
108 "object_daemon_control",
109 "object_daemon_status",
110 "object_events",
111 "object_exchange",
112 "object_execution",
113 "object_field_permissions",
114 "object_files",
115 "object_identity",
116 "object_ids",
117 "object_logs",
118 "object_metadata",
119 "object_namespace",
120 "object_package_changes",
121 "object_packages",
122 "object_permission_audit",
123 "object_permission_store",
124 "object_permission_status",
125 "object_permissions",
126 "object_policy_diff",
127 "object_rate_limit",
128 "object_record_changes",
129 "object_records",
130 "object_schema_versions",
131 "object_schemas",
132 "object_server",
133 "object_source",
134 "object_source_changes",
135 "object_state",
136 "object_versions",
137 "python_object_runtime",
138]
139
140[tool.ruff]
141line-length = 100
142target-version = "py310"
143
144[tool.ruff.lint]
145select = ["E", "F", "I", "B"]
146ignore = ["E501"]