askrobots / dbbasic-object-server
Public
Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.
danq9
signup: the person chooses the password and name on the confirm page
83c7aa6
2 weeks, 5 days ago
History
pyproject.toml · 3.6 KB · 124 lines
| 1 | [build-system] |
| 2 | requires = ["setuptools>=68.0", "wheel"] |
| 3 | build-backend = "setuptools.build_meta" |
| 4 | |
| 5 | [project] |
| 6 | name = "dbbasic-object-server" |
| 7 | version = "0.0.1" |
| 8 | description = "Python runtime for live, versioned DBBASIC application objects" |
| 9 | readme = "README.md" |
| 10 | requires-python = ">=3.10" |
| 11 | license = {text = "MIT"} |
| 12 | authors = [ |
| 13 | {name = "DBBASIC Project", email = "dan@askrobots.com"} |
| 14 | ] |
| 15 | keywords = [ |
| 16 | "dbbasic", |
| 17 | "object-runtime", |
| 18 | "application-server", |
| 19 | "tsv", |
| 20 | "live-objects", |
| 21 | "versioned-objects", |
| 22 | ] |
| 23 | classifiers = [ |
| 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 | ] |
| 36 | dependencies = [] |
| 37 | |
| 38 | [project.optional-dependencies] |
| 39 | dev = [ |
| 40 | "pytest>=7.4.0", |
| 41 | "pytest-cov>=4.1.0", |
| 42 | "ruff>=0.4.0", |
| 43 | ] |
| 44 | test = [ |
| 45 | "pytest>=7.4.0", |
| 46 | ] |
| 47 | server = [ |
| 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 | |
| 54 | [project.urls] |
| 55 | Homepage = "https://dbbasic.com" |
| 56 | Repository = "https://github.com/askrobots/dbbasic-object-server" |
| 57 | Issues = "https://github.com/askrobots/dbbasic-object-server/issues" |
| 58 | |
| 59 | [tool.pytest.ini_options] |
| 60 | testpaths = ["tests"] |
| 61 | python_files = ["test_*.py"] |
| 62 | python_classes = ["Test*"] |
| 63 | python_functions = ["test_*"] |
| 64 | addopts = [ |
| 65 | "--strict-markers", |
| 66 | "--strict-config", |
| 67 | "-v", |
| 68 | # Heavy conformance/benchmark suites are deselected from the default |
| 69 | # (per-commit) run and invoked deliberately -- `pytest -m conformance` |
| 70 | # or `pytest -m bench` -- like benchmarking. A command-line -m overrides |
| 71 | # this, so those explicit invocations still work. |
| 72 | "-m", "not conformance and not bench and not e2e", |
| 73 | ] |
| 74 | markers = [ |
| 75 | "conformance: heavy correctness/charset/i18n/durability conformance suites; run deliberately, not per-commit (see plan/database-test-strategy.md)", |
| 76 | "bench: performance/scale benchmarks; a tracked trend, not a pass/fail gate", |
| 77 | "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)", |
| 78 | ] |
| 79 | |
| 80 | [tool.setuptools] |
| 81 | py-modules = [ |
| 82 | "deployment_checks", |
| 83 | "http_api_contract", |
| 84 | "object_backup", |
| 85 | "object_collections", |
| 86 | "object_correlation", |
| 87 | "object_daemon", |
| 88 | "object_daemon_control", |
| 89 | "object_daemon_status", |
| 90 | "object_events", |
| 91 | "object_execution", |
| 92 | "object_field_permissions", |
| 93 | "object_files", |
| 94 | "object_identity", |
| 95 | "object_ids", |
| 96 | "object_logs", |
| 97 | "object_metadata", |
| 98 | "object_namespace", |
| 99 | "object_package_changes", |
| 100 | "object_packages", |
| 101 | "object_permission_audit", |
| 102 | "object_permission_store", |
| 103 | "object_permission_status", |
| 104 | "object_permissions", |
| 105 | "object_rate_limit", |
| 106 | "object_record_changes", |
| 107 | "object_records", |
| 108 | "object_schema_versions", |
| 109 | "object_schemas", |
| 110 | "object_server", |
| 111 | "object_source", |
| 112 | "object_source_changes", |
| 113 | "object_state", |
| 114 | "object_versions", |
| 115 | "python_object_runtime", |
| 116 | ] |
| 117 | |
| 118 | [tool.ruff] |
| 119 | line-length = 100 |
| 120 | target-version = "py310" |
| 121 | |
| 122 | [tool.ruff.lint] |
| 123 | select = ["E", "F", "I", "B"] |
| 124 | ignore = ["E501"] |