databuck-sdk 0.5.46__py3-none-any.whl

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.
databuck/__init__.py ADDED
@@ -0,0 +1,8 @@
1
+ import os
2
+
3
+ from .sdk import DataBuck
4
+
5
+ if os.environ.get("DATABUCK_SPARK_SDK_AUTO_DOWNLOAD", "1").lower() not in ("0", "false", "no"):
6
+ os.environ["DATABUCK_SPARK_SDK_JAR"] = DataBuck.download_jar()
7
+
8
+ __all__ = ["DataBuck"]
databuck/__main__.py ADDED
@@ -0,0 +1,7 @@
1
+ """Download the DataBuck Spark SDK JAR after installing the Python package."""
2
+
3
+ from .sdk import DataBuck
4
+
5
+
6
+ if __name__ == "__main__":
7
+ print(DataBuck.download_jar())