%global _empty_manifest_terminate_build 0 Name: python-databricks-api Version: 0.8.0 Release: 1 Summary: Databricks API client auto-generated from the official databricks-cli package License: MIT URL: https://github.com/crflynn/databricks-api Source0: https://mirrors.nju.edu.cn/pypi/web/packages/67/5b/fdaaa9ce90d45686b44ad048fe01cea6efab2fb8529f58df0380a540def6/databricks_api-0.8.0.tar.gz BuildArch: noarch Requires: python3-databricks-cli %description |pypi| |pyversions| *[This documentation is auto-generated]* This package provides a simplified interface for the Databricks REST API. The interface is autogenerated on instantiation using the underlying client library used in the official ``databricks-cli`` python package. Install using pip install databricks-api The docs here describe the interface for version **0.17.0** of the ``databricks-cli`` package for API version **2.0**. The ``databricks-api`` package contains a ``DatabricksAPI`` class which provides instance attributes for the ``databricks-cli`` ``ApiClient``, as well as each of the available service instances. The attributes of a ``DatabricksAPI`` instance are: * DatabricksAPI.client ** * DatabricksAPI.jobs ** * DatabricksAPI.cluster ** * DatabricksAPI.policy ** * DatabricksAPI.managed_library ** * DatabricksAPI.dbfs ** * DatabricksAPI.workspace ** * DatabricksAPI.secret ** * DatabricksAPI.groups ** * DatabricksAPI.token ** * DatabricksAPI.instance_pool ** * DatabricksAPI.delta_pipelines ** * DatabricksAPI.repos ** To instantiate the client, provide the databricks host and either a token or user and password. Also shown is the full signature of the underlying ``ApiClient.__init__`` from databricks_api import DatabricksAPI # Provide a host and token db = DatabricksAPI( host="example.cloud.databricks.com", token="dpapi123..." ) # OR a host and user and password db = DatabricksAPI( host="example.cloud.databricks.com", user="me@example.com", password="password" ) # Full __init__ signature db = DatabricksAPI( user=None, password=None, host=None, token=None, api_version='2.0', default_headers={}, verify=True, command_name='', jobs_api_version=None ) Refer to the `official documentation `_ on the functionality and required arguments of each method below. Each of the service instance attributes provides the following public methods: %package -n python3-databricks-api Summary: Databricks API client auto-generated from the official databricks-cli package Provides: python-databricks-api BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-databricks-api |pypi| |pyversions| *[This documentation is auto-generated]* This package provides a simplified interface for the Databricks REST API. The interface is autogenerated on instantiation using the underlying client library used in the official ``databricks-cli`` python package. Install using pip install databricks-api The docs here describe the interface for version **0.17.0** of the ``databricks-cli`` package for API version **2.0**. The ``databricks-api`` package contains a ``DatabricksAPI`` class which provides instance attributes for the ``databricks-cli`` ``ApiClient``, as well as each of the available service instances. The attributes of a ``DatabricksAPI`` instance are: * DatabricksAPI.client ** * DatabricksAPI.jobs ** * DatabricksAPI.cluster ** * DatabricksAPI.policy ** * DatabricksAPI.managed_library ** * DatabricksAPI.dbfs ** * DatabricksAPI.workspace ** * DatabricksAPI.secret ** * DatabricksAPI.groups ** * DatabricksAPI.token ** * DatabricksAPI.instance_pool ** * DatabricksAPI.delta_pipelines ** * DatabricksAPI.repos ** To instantiate the client, provide the databricks host and either a token or user and password. Also shown is the full signature of the underlying ``ApiClient.__init__`` from databricks_api import DatabricksAPI # Provide a host and token db = DatabricksAPI( host="example.cloud.databricks.com", token="dpapi123..." ) # OR a host and user and password db = DatabricksAPI( host="example.cloud.databricks.com", user="me@example.com", password="password" ) # Full __init__ signature db = DatabricksAPI( user=None, password=None, host=None, token=None, api_version='2.0', default_headers={}, verify=True, command_name='', jobs_api_version=None ) Refer to the `official documentation `_ on the functionality and required arguments of each method below. Each of the service instance attributes provides the following public methods: %package help Summary: Development documents and examples for databricks-api Provides: python3-databricks-api-doc %description help |pypi| |pyversions| *[This documentation is auto-generated]* This package provides a simplified interface for the Databricks REST API. The interface is autogenerated on instantiation using the underlying client library used in the official ``databricks-cli`` python package. Install using pip install databricks-api The docs here describe the interface for version **0.17.0** of the ``databricks-cli`` package for API version **2.0**. The ``databricks-api`` package contains a ``DatabricksAPI`` class which provides instance attributes for the ``databricks-cli`` ``ApiClient``, as well as each of the available service instances. The attributes of a ``DatabricksAPI`` instance are: * DatabricksAPI.client ** * DatabricksAPI.jobs ** * DatabricksAPI.cluster ** * DatabricksAPI.policy ** * DatabricksAPI.managed_library ** * DatabricksAPI.dbfs ** * DatabricksAPI.workspace ** * DatabricksAPI.secret ** * DatabricksAPI.groups ** * DatabricksAPI.token ** * DatabricksAPI.instance_pool ** * DatabricksAPI.delta_pipelines ** * DatabricksAPI.repos ** To instantiate the client, provide the databricks host and either a token or user and password. Also shown is the full signature of the underlying ``ApiClient.__init__`` from databricks_api import DatabricksAPI # Provide a host and token db = DatabricksAPI( host="example.cloud.databricks.com", token="dpapi123..." ) # OR a host and user and password db = DatabricksAPI( host="example.cloud.databricks.com", user="me@example.com", password="password" ) # Full __init__ signature db = DatabricksAPI( user=None, password=None, host=None, token=None, api_version='2.0', default_headers={}, verify=True, command_name='', jobs_api_version=None ) Refer to the `official documentation `_ on the functionality and required arguments of each method below. Each of the service instance attributes provides the following public methods: %prep %autosetup -n databricks-api-0.8.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-databricks-api -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri Apr 21 2023 Python_Bot - 0.8.0-1 - Package Spec generated