dbos 1.15.0a6__tar.gz → 1.15.0a8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dbos might be problematic. Click here for more details.

Files changed (99) hide show
  1. dbos-1.15.0a6/README.md → dbos-1.15.0a8/PKG-INFO +42 -0
  2. dbos-1.15.0a6/PKG-INFO → dbos-1.15.0a8/README.md +6 -19
  3. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_dbos.py +2 -0
  4. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_dbos_config.py +2 -0
  5. {dbos-1.15.0a6 → dbos-1.15.0a8}/pyproject.toml +20 -1
  6. {dbos-1.15.0a6 → dbos-1.15.0a8}/LICENSE +0 -0
  7. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/__init__.py +0 -0
  8. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/__main__.py +0 -0
  9. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_admin_server.py +0 -0
  10. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_app_db.py +0 -0
  11. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_classproperty.py +0 -0
  12. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_client.py +0 -0
  13. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_conductor/conductor.py +0 -0
  14. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_conductor/protocol.py +0 -0
  15. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_context.py +0 -0
  16. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_core.py +0 -0
  17. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_croniter.py +0 -0
  18. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_debouncer.py +0 -0
  19. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_debug.py +0 -0
  20. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_docker_pg_helper.py +0 -0
  21. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_error.py +0 -0
  22. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_event_loop.py +0 -0
  23. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_fastapi.py +0 -0
  24. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_flask.py +0 -0
  25. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_kafka.py +0 -0
  26. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_kafka_message.py +0 -0
  27. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_logger.py +0 -0
  28. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_migration.py +0 -0
  29. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_outcome.py +0 -0
  30. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_queue.py +0 -0
  31. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_recovery.py +0 -0
  32. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_registrations.py +0 -0
  33. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_roles.py +0 -0
  34. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_scheduler.py +0 -0
  35. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_schemas/__init__.py +0 -0
  36. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_schemas/application_database.py +0 -0
  37. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_schemas/system_database.py +0 -0
  38. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_serialization.py +0 -0
  39. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_sys_db.py +0 -0
  40. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_sys_db_postgres.py +0 -0
  41. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_sys_db_sqlite.py +0 -0
  42. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_templates/dbos-db-starter/README.md +0 -0
  43. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_templates/dbos-db-starter/__package/__init__.py +0 -0
  44. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_templates/dbos-db-starter/__package/main.py.dbos +0 -0
  45. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_templates/dbos-db-starter/__package/schema.py +0 -0
  46. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_templates/dbos-db-starter/dbos-config.yaml.dbos +0 -0
  47. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_templates/dbos-db-starter/migrations/create_table.py.dbos +0 -0
  48. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_templates/dbos-db-starter/start_postgres_docker.py +0 -0
  49. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_tracer.py +0 -0
  50. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_utils.py +0 -0
  51. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/_workflow_commands.py +0 -0
  52. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/cli/_github_init.py +0 -0
  53. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/cli/_template_init.py +0 -0
  54. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/cli/cli.py +0 -0
  55. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/cli/migration.py +0 -0
  56. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/dbos-config.schema.json +0 -0
  57. {dbos-1.15.0a6 → dbos-1.15.0a8}/dbos/py.typed +0 -0
  58. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/__init__.py +0 -0
  59. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/atexit_no_ctor.py +0 -0
  60. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/atexit_no_launch.py +0 -0
  61. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/classdefs.py +0 -0
  62. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/client_collateral.py +0 -0
  63. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/client_worker.py +0 -0
  64. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/conftest.py +0 -0
  65. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/dupname_classdefs1.py +0 -0
  66. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/dupname_classdefsa.py +0 -0
  67. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/more_classdefs.py +0 -0
  68. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/queuedworkflow.py +0 -0
  69. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/script_without_fastapi.py +0 -0
  70. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_admin_server.py +0 -0
  71. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_async.py +0 -0
  72. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_async_workflow_management.py +0 -0
  73. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_classdecorators.py +0 -0
  74. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_cli.py +0 -0
  75. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_client.py +0 -0
  76. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_concurrency.py +0 -0
  77. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_config.py +0 -0
  78. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_croniter.py +0 -0
  79. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_dbos.py +0 -0
  80. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_debouncer.py +0 -0
  81. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_debug.py +0 -0
  82. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_docker_secrets.py +0 -0
  83. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_failures.py +0 -0
  84. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_fastapi.py +0 -0
  85. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_fastapi_roles.py +0 -0
  86. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_flask.py +0 -0
  87. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_kafka.py +0 -0
  88. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_outcome.py +0 -0
  89. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_package.py +0 -0
  90. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_queue.py +0 -0
  91. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_scheduler.py +0 -0
  92. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_schema_migration.py +0 -0
  93. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_singleton.py +0 -0
  94. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_spans.py +0 -0
  95. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_sqlalchemy.py +0 -0
  96. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_streaming.py +0 -0
  97. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_workflow_introspection.py +0 -0
  98. {dbos-1.15.0a6 → dbos-1.15.0a8}/tests/test_workflow_management.py +0 -0
  99. {dbos-1.15.0a6 → dbos-1.15.0a8}/version/__init__.py +0 -0
@@ -1,6 +1,48 @@
1
+ Metadata-Version: 2.1
2
+ Name: dbos
3
+ Version: 1.15.0a8
4
+ Summary: Ultra-lightweight durable execution in Python
5
+ Author-Email: "DBOS, Inc." <contact@dbos.dev>
6
+ License: MIT
7
+ Classifier: Development Status :: 5 - Production/Stable
8
+ Classifier: Programming Language :: Python
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: 3 :: Only
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Intended Audience :: Information Technology
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Topic :: Internet
20
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
+ Classifier: Topic :: Database
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Classifier: Framework :: AsyncIO
24
+ Requires-Python: >=3.10
25
+ Requires-Dist: pyyaml>=6.0.2
26
+ Requires-Dist: python-dateutil>=2.9.0.post0
27
+ Requires-Dist: psycopg[binary]>=3.1
28
+ Requires-Dist: websockets>=14.0
29
+ Requires-Dist: typer-slim>=0.17.4
30
+ Requires-Dist: sqlalchemy>=2.0.43
31
+ Provides-Extra: otel
32
+ Requires-Dist: opentelemetry-api>=1.37.0; extra == "otel"
33
+ Requires-Dist: opentelemetry-sdk>=1.37.0; extra == "otel"
34
+ Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.37.0; extra == "otel"
35
+ Description-Content-Type: text/markdown
36
+
1
37
 
2
38
  <div align="center">
3
39
 
40
+ [![GitHub Actions](https://img.shields.io/github/actions/workflow/status/dbos-inc/dbos-transact-py/unit-test.yml?query=branch%3Amain)](https://github.com/dbos-inc/dbos-transact-py/actions/workflows/unit-test.yml)
41
+ [![PyPI release (latest SemVer)](https://img.shields.io/pypi/v/dbos.svg)](https://pypi.python.org/pypi/dbos)
42
+ [![Python Versions](https://img.shields.io/pypi/pyversions/dbos.svg)](https://pypi.python.org/pypi/dbos)
43
+ [![License (MIT)](https://img.shields.io/github/license/dbos-inc/dbos-transact-py.svg?v)](LICENSE)
44
+ [![Join Discord](https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white)](https://discord.com/invite/jsmC6pXGgX)
45
+
4
46
  # DBOS Transact: Lightweight Durable Workflows
5
47
 
6
48
  #### [Documentation](https://docs.dbos.dev/) &nbsp;&nbsp;•&nbsp;&nbsp; [Examples](https://docs.dbos.dev/examples) &nbsp;&nbsp;•&nbsp;&nbsp; [Github](https://github.com/dbos-inc) &nbsp;&nbsp;•&nbsp;&nbsp; [Discord](https://discord.com/invite/jsmC6pXGgX)
@@ -1,25 +1,12 @@
1
- Metadata-Version: 2.1
2
- Name: dbos
3
- Version: 1.15.0a6
4
- Summary: Ultra-lightweight durable execution in Python
5
- Author-Email: "DBOS, Inc." <contact@dbos.dev>
6
- License: MIT
7
- Requires-Python: >=3.10
8
- Requires-Dist: pyyaml>=6.0.2
9
- Requires-Dist: python-dateutil>=2.9.0.post0
10
- Requires-Dist: psycopg[binary]>=3.1
11
- Requires-Dist: websockets>=14.0
12
- Requires-Dist: typer-slim>=0.17.4
13
- Requires-Dist: sqlalchemy>=2.0.43
14
- Provides-Extra: otel
15
- Requires-Dist: opentelemetry-api>=1.37.0; extra == "otel"
16
- Requires-Dist: opentelemetry-sdk>=1.37.0; extra == "otel"
17
- Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.37.0; extra == "otel"
18
- Description-Content-Type: text/markdown
19
-
20
1
 
21
2
  <div align="center">
22
3
 
4
+ [![GitHub Actions](https://img.shields.io/github/actions/workflow/status/dbos-inc/dbos-transact-py/unit-test.yml?query=branch%3Amain)](https://github.com/dbos-inc/dbos-transact-py/actions/workflows/unit-test.yml)
5
+ [![PyPI release (latest SemVer)](https://img.shields.io/pypi/v/dbos.svg)](https://pypi.python.org/pypi/dbos)
6
+ [![Python Versions](https://img.shields.io/pypi/pyversions/dbos.svg)](https://pypi.python.org/pypi/dbos)
7
+ [![License (MIT)](https://img.shields.io/github/license/dbos-inc/dbos-transact-py.svg?v)](LICENSE)
8
+ [![Join Discord](https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white)](https://discord.com/invite/jsmC6pXGgX)
9
+
23
10
  # DBOS Transact: Lightweight Durable Workflows
24
11
 
25
12
  #### [Documentation](https://docs.dbos.dev/) &nbsp;&nbsp;•&nbsp;&nbsp; [Examples](https://docs.dbos.dev/examples) &nbsp;&nbsp;•&nbsp;&nbsp; [Github](https://github.com/dbos-inc) &nbsp;&nbsp;•&nbsp;&nbsp; [Discord](https://discord.com/invite/jsmC6pXGgX)
@@ -335,6 +335,8 @@ class DBOS:
335
335
  self._background_threads: List[threading.Thread] = []
336
336
  self.conductor_url: Optional[str] = conductor_url
337
337
  self.conductor_key: Optional[str] = conductor_key
338
+ if config.get("conductor_key"):
339
+ self.conductor_key = config.get("conductor_key")
338
340
  self.conductor_websocket: Optional[ConductorWebsocket] = None
339
341
  self._background_event_loop: BackgroundEventLoop = BackgroundEventLoop()
340
342
  self._active_workflows_set: set[str] = set()
@@ -36,6 +36,7 @@ class DBOSConfig(TypedDict, total=False):
36
36
  dbos_system_schema (str): Schema name for DBOS system tables. Defaults to "dbos".
37
37
  enable_otlp (bool): If True, enable built-in DBOS OTLP tracing and logging.
38
38
  system_database_engine (sa.Engine): A custom system database engine. If provided, DBOS will not create an engine but use this instead.
39
+ conductor_key (str): An API key for DBOS Conductor. Pass this in to connect your process to Conductor.
39
40
  """
40
41
 
41
42
  name: str
@@ -55,6 +56,7 @@ class DBOSConfig(TypedDict, total=False):
55
56
  dbos_system_schema: Optional[str]
56
57
  enable_otlp: Optional[bool]
57
58
  system_database_engine: Optional[sa.Engine]
59
+ conductor_key: Optional[str]
58
60
 
59
61
 
60
62
  class RuntimeConfig(TypedDict, total=False):
@@ -15,7 +15,26 @@ dependencies = [
15
15
  ]
16
16
  requires-python = ">=3.10"
17
17
  readme = "README.md"
18
- version = "1.15.0a6"
18
+ classifiers = [
19
+ "Development Status :: 5 - Production/Stable",
20
+ "Programming Language :: Python",
21
+ "Programming Language :: Python :: 3",
22
+ "Programming Language :: Python :: 3 :: Only",
23
+ "Programming Language :: Python :: 3.10",
24
+ "Programming Language :: Python :: 3.11",
25
+ "Programming Language :: Python :: 3.12",
26
+ "Programming Language :: Python :: 3.13",
27
+ "Intended Audience :: Developers",
28
+ "Intended Audience :: Information Technology",
29
+ "License :: OSI Approved :: MIT License",
30
+ "Operating System :: OS Independent",
31
+ "Topic :: Internet",
32
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
33
+ "Topic :: Database",
34
+ "Topic :: Software Development :: Libraries :: Python Modules",
35
+ "Framework :: AsyncIO",
36
+ ]
37
+ version = "1.15.0a8"
19
38
 
20
39
  [project.license]
21
40
  text = "MIT"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes