bigquery-magics-0.9.0


توضیحات

Google BigQuery magics for Jupyter and IPython
ویژگی مقدار
سیستم عامل OS Independent
نام فایل bigquery-magics-0.9.0
نام bigquery-magics
نسخه کتابخانه 0.9.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Google LLC
ایمیل نویسنده googleapis-packages@google.com
آدرس صفحه اصلی https://github.com/googleapis/google-cloud-python/tree/main/packages/bigquery-magics
آدرس اینترنتی https://pypi.org/project/bigquery-magics/
مجوز Apache 2.0
IPython Magics for BigQuery =========================== |GA| |pypi| |versions| Querying massive datasets can be time consuming and expensive without the right hardware and infrastructure. Google `BigQuery`_ solves this problem by enabling super-fast, SQL queries against append-mostly tables, using the processing power of Google's infrastructure. - `Library Documentation`_ - `Product Documentation`_ .. |GA| image:: https://img.shields.io/badge/support-GA-gold.svg :target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#general-availability .. |pypi| image:: https://img.shields.io/pypi/v/bigquery-magics.svg :target: https://pypi.org/project/bigquery-magics/ .. |versions| image:: https://img.shields.io/pypi/pyversions/bigquery-magics.svg :target: https://pypi.org/project/bigquery-magics/ .. _BigQuery: https://cloud.google.com/bigquery/what-is-bigquery .. _Library Documentation: https://googleapis.dev/python/bigquery-magics/latest .. _Product Documentation: https://cloud.google.com/bigquery/docs/reference/v2/ Quick Start ----------- In order to use this library, you first need to go through the following steps: 1. `Select or create a Cloud Platform project.`_ 2. `Enable billing for your project.`_ 3. `Enable the Google Cloud BigQuery API.`_ 4. `Setup Authentication.`_ .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud BigQuery API.: https://cloud.google.com/bigquery .. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions. With `virtualenv`_, it's possible to install this library without needing system install permissions, and without clashing with the installed system dependencies. .. _`virtualenv`: https://virtualenv.pypa.io/en/latest/ Supported Python Versions ^^^^^^^^^^^^^^^^^^^^^^^^^ Python >= 3.9 Unsupported Python Versions ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Python <= 3.8. Mac/Linux ^^^^^^^^^ .. code-block:: console pip install virtualenv virtualenv <your-env> source <your-env>/bin/activate <your-env>/bin/pip install bigquery-magics Windows ^^^^^^^ .. code-block:: console pip install virtualenv virtualenv <your-env> <your-env>\Scripts\activate <your-env>\Scripts\pip.exe install bigquery-magics Example Usage ------------- To use these magics, you must first register them. Run the ``%load_ext bigquery_magics`` in a Jupyter notebook cell. .. code-block:: %load_ext bigquery_magics Perform a query ~~~~~~~~~~~~~~~ .. code:: python %%bigquery SELECT name, SUM(number) as count FROM 'bigquery-public-data.usa_names.usa_1910_current' GROUP BY name ORDER BY count DESC LIMIT 3


نیازمندی

مقدار نام
- db-dtypes<2.0.0,>=1.1.1
- google-cloud-bigquery<4.0.0,>=3.41.0
- ipywidgets>=7.7.1
- ipython>=7.23.1
- ipykernel>=5.5.6
- packaging>=24.2.0
- pandas>=1.5.3
- pyarrow>=12.0.0
- pydata-google-auth>=1.5.0
- tqdm<5.0.0,>=4.7.4
- pyopenssl>=23.3.0
xtr google-cloud-bigquery-storage<3.0.0,>=2.25.0;
xtr grpcio<2.0.0,>=1.47.0;
python_versio grpcio<2.0.0,>=1.49.1;
ython_versio grpcio<2.0.0,>=1.75.1;
xtr bigframes>=1.17.0;
xtr geopandas>=1.0.1;
xtr spanner-graph-notebook>=1.1.7;
xtr portpicker;
xtr google-cloud-bigquery-storage<3.0.0,>=2.25.0;
xtr grpcio<2.0.0,>=1.47.0;
python_versio grpcio<2.0.0,>=1.49.1;
ython_versio grpcio<2.0.0,>=1.75.1;
xtr bigframes>=1.17.0;
xtr geopandas>=1.0.1;
xtr spanner-graph-notebook>=1.1.7;
xtr portpicker;


زبان مورد نیاز

مقدار نام
>=3.10 Python


نحوه نصب


نصب پکیج whl bigquery-magics-0.9.0:

    pip install bigquery-magics-0.9.0.whl


نصب پکیج tar.gz bigquery-magics-0.9.0:

    pip install bigquery-magics-0.9.0.tar.gz