Skip to content

Commit 1c8b60e

Browse files
Initial commit
Signed-off-by: teodordelibasic-db <[email protected]>
1 parent e9be746 commit 1c8b60e

File tree

6 files changed

+99
-3
lines changed

6 files changed

+99
-3
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Version changelog
2+
3+
## Release v0.1.0
4+
5+
Initial release of the Databricks Zerobus Ingest SDK for Python.
6+
7+
### API Changes
8+
9+
- Added `ZerobusSdk` class for creating ingestion streams
10+
- Added `ZerobusStream` class for managing stateful gRPC streams
11+
- Added `RecordAcknowledgment` for blocking until record acknowledgment
12+
- Added asynchronous versions: `zerobus.sdk.aio.ZerobusSdk` and `zerobus.sdk.aio.ZerobusStream`
13+
- Added `TableProperties` for configuring table schema and name
14+
- Added `StreamConfigurationOptions` for stream behavior configuration
15+
- Added `ZerobusException` and `NonRetriableException` for error handling
16+
- Added `StreamState` enum for tracking stream lifecycle
17+
- Support for Python 3.9, 3.10, 3.11, 3.12, and 3.13

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
**Definitions**.
2+
3+
Agreement: The agreement between Databricks, Inc., and you governing the use of the Databricks Services, as that term is defined in the Master Cloud Services Agreement (MCSA) located at www.databricks.com/legal/mcsa.
4+
5+
Licensed Materials: The source code, object code, data, and/or other works to which this license applies.
6+
7+
**Scope of Use**. You may not use the Licensed Materials except in connection with your use of the Databricks Services pursuant to the Agreement. Your use of the Licensed Materials must comply at all times with any restrictions applicable to the Databricks Services, generally, and must be used in accordance with any applicable documentation. You may view, use, copy, modify, publish, and/or distribute the Licensed Materials solely for the purposes of using the Licensed Materials within or connecting to the Databricks Services. If you do not agree to these terms, you may not view, use, copy, modify, publish, and/or distribute the Licensed Materials.
8+
9+
**Redistribution**. You may redistribute and sublicense the Licensed Materials so long as all use is in compliance with these terms. In addition:
10+
11+
* You must give any other recipients a copy of this License;
12+
* You must cause any modified files to carry prominent notices stating that you changed the files;
13+
* You must retain, in any derivative works that you distribute, all copyright, patent, trademark, and attribution notices, excluding those notices that do not pertain to any part of the derivative works; and
14+
* If a "NOTICE" text file is provided as part of its distribution, then any derivative works that you distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the derivative works.
15+
16+
You may add your own copyright statement to your modifications and may provide additional license terms and conditions for use, reproduction, or distribution of your modifications, or for any such derivative works as a whole, provided your use, reproduction, and distribution of the Licensed Materials otherwise complies with the conditions stated in this License.
17+
18+
**Termination**. This license terminates automatically upon your breach of these terms or upon the termination of your Agreement. Additionally, Databricks may terminate this license at any time on notice. Upon termination, you must permanently delete the Licensed Materials and all copies thereof.
19+
20+
**DISCLAIMER; LIMITATION OF LIABILITY.**
21+
22+
THE LICENSED MATERIALS ARE PROVIDED “AS-IS” AND WITH ALL FAULTS. DATABRICKS, ON BEHALF OF ITSELF AND ITS LICENSORS, SPECIFICALLY DISCLAIMS ALL WARRANTIES RELATING TO THE LICENSED MATERIALS, EXPRESS AND IMPLIED, INCLUDING, WITHOUT LIMITATION, IMPLIED WARRANTIES, CONDITIONS AND OTHER TERMS OF MERCHANTABILITY, SATISFACTORY QUALITY OR FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. DATABRICKS AND ITS LICENSORS TOTAL AGGREGATE LIABILITY RELATING TO OR ARISING OUT OF YOUR USE OF OR DATABRICKS’ PROVISIONING OF THE LICENSED MATERIALS SHALL BE LIMITED TO ONE THOUSAND ($1,000) DOLLARS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE LICENSED MATERIALS OR THE USE OR OTHER DEALINGS IN THE LICENSED MATERIALS.

MANIFEST.in

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
include README.md
2+
include LICENSE
3+
include NOTICE
4+
include CHANGELOG.md
5+
include DCO
6+
include Makefile
7+
include SECURITY.md
8+
include CONTRIBUTING.md
9+
include pyproject.toml
10+
11+
recursive-exclude examples *
12+
recursive-exclude tests *

NEXT_CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# NEXT CHANGELOG
2+
3+
## Release v0.2.0
4+
5+
### New Features and Improvements
6+
7+
### Bug Fixes
8+
9+
### Documentation
10+
11+
### Internal Changes
12+
13+
### API Changes

NOTICE

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Copyright (2025) Databricks, Inc.
2+
3+
This Software includes software developed at Databricks (https://www.databricks.com/) and its use is subject to the included LICENSE file.
4+
5+
---
6+
7+
This Software includes the following open source components:
8+
9+
## Apache License 2.0
10+
11+
### requests
12+
Copyright 2019 Kenneth Reitz
13+
https://github.com/psf/requests
14+
License: https://github.com/psf/requests/blob/main/LICENSE
15+
16+
### grpcio
17+
Copyright 2014 gRPC authors
18+
https://github.com/grpc/grpc
19+
License: https://github.com/grpc/grpc/blob/master/LICENSE
20+
21+
## BSD 3-Clause License
22+
23+
### protobuf
24+
Copyright 2008 Google Inc.
25+
https://github.com/protocolbuffers/protobuf
26+
License: https://github.com/protocolbuffers/protobuf/blob/main/LICENSE

pyproject.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
[build-system]
2-
requires = ["setuptools>=61.0.0", "wheel"]
2+
requires = ["setuptools>=77", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "databricks-zerobus-ingest-sdk"
7-
version = "0.1.0"
7+
dynamic = ["version"]
88
description = "Databricks Zerobus Ingest SDK for Python"
9+
readme = "README.md"
910
requires-python = ">=3.9"
1011
keywords = ["zerobus", "databricks", "sdk"]
12+
license = "LicenseRef-Proprietary"
13+
license-files = ["LICENSE"]
1114
classifiers = [
12-
"Development Status :: 4 - Beta",
15+
"Development Status :: 5 - Production/Stable",
1316
"Intended Audience :: Developers",
1417
"Intended Audience :: Science/Research",
1518
"Intended Audience :: System Administrators",
@@ -44,6 +47,9 @@ dev = [
4447
"pytest-asyncio",
4548
]
4649

50+
[tool.setuptools.dynamic]
51+
version = {attr = "zerobus.__version__"}
52+
4753
[tool.setuptools.packages.find]
4854
include = ["zerobus", "zerobus.*"]
4955

0 commit comments

Comments
 (0)