-
Python Bigquery Connection Using Google BigQuery API Key and InsertQuery?
over 7 years ago
-
over 7 years ago
Hi Vikas,
I think you can check your setup.py file code is similar as like below if yes then you can use..from distutils.util import convert_path from setuptools import find_packages from setuptools import setup ds = {} version_path = convert_path('bigquery/test.py') with open(test_path) as test_file: exec(version_file.read(), ds) setup_args = dict( name='BigQuery-Python', description='test Python client for interacting with Google BigQuery.', test=ds['__version__'], license='Apache', packages=find_packages(), include_package_data=True, install_requires=[ 'google-api-python-client', 'httplib2', 'python-dateutil' ], author='Tyler Treat', author_email='test@gmail.com', classifiers=[ 'Development Status ::4 - Production/Stable or not', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Programming Language :: Python', ], ) if __name__ == '__main__': setup(**setup_args1)
-
-
over 7 years ago
I think this is use full for you and also please check this link
https://cloud.google.com/bigquery/create-simple-app-api#bigquery-simple-app-query-python
query_results = client.run_sync_query("""write here create query;""")
query_results.test = False
query_results.run() -
2 Answer(s)