Skip to content

Move language code into a subpackage#2429

Merged
dhermes merged 2 commits intogoogleapis:masterfrom
dhermes:make-language-subpackage
Sep 26, 2016
Merged

Move language code into a subpackage#2429
dhermes merged 2 commits intogoogleapis:masterfrom
dhermes:make-language-subpackage

Conversation

@dhermes
Copy link
Copy Markdown
Contributor

@dhermes dhermes commented Sep 26, 2016

This PR was created via: https://gist.github.com/dhermes/e239691aa584bd56a5352e34aad27cf3

export PROJECT_DIR="${HOME}/google-cloud-python"
export READMES_DIR="${HOME}/i-wrote-some-readmes-for-2357"
cd ${PROJECT_DIR}
git worktree add -b make-language-subpackage ../hotfix official/master
python make_commits.py \
  --git-root "${PROJECT_DIR}/../hotfix" \
  --package language \
  --package-name "Google Cloud Natural Language" \
  --readme "${READMES_DIR}/language/README.rst"

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 26, 2016

$ pip install --upgrade google-cloud-language
$ # OR
$ pip install --upgrade google-cloud-natural-language

This comment was marked as spam.

This comment was marked as spam.

Done via:

$ mkdir -p language/google/cloud
$ cp google/__init__.py language/google/__init__.py
$ git add language/google/__init__.py
$ cp google/cloud/__init__.py language/google/cloud/__init__.py
$ git add language/google/cloud/__init__.py
$ git mv google/cloud/language language/google/cloud/language
$ git mv unit_tests/language language/unit_tests
- Adding README, setup.py, MANIFEST.in, .coveragerc and tox.ini
- Adding google-cloud-language as a dependency to the umbrella
  package
- Adding the language subdirectory into the list of packages
  for verifying the docs
- Incorporating the language subdirectory into the umbrella
  coverage report
- Adding the language only tox tests to the Travis config
- Adding {toxinidir}/../core as a dependency for the language
  tox config
@dhermes dhermes force-pushed the make-language-subpackage branch from 93a47b0 to 3af2d13 Compare September 26, 2016 21:21
@dhermes
Copy link
Copy Markdown
Contributor Author

dhermes commented Sep 26, 2016

For some reason this didn't kick off a new Travis build when I rebased on top of #2428. Maybe the "approval" stops it?

@dhermes
Copy link
Copy Markdown
Contributor Author

dhermes commented Sep 26, 2016

Here is the orignal (green) PR build: https://travis-ci.org/GoogleCloudPlatform/google-cloud-python/builds/162895936

@dhermes dhermes merged commit 82c75bc into googleapis:master Sep 26, 2016
@dhermes dhermes deleted the make-language-subpackage branch September 26, 2016 21:40
parthea added a commit that referenced this pull request Nov 24, 2025
parthea pushed a commit that referenced this pull request Apr 1, 2026
)

This PR updates the notebooks/multimodal/multimodal_dataframe.ipynb
notebook to include a comprehensive example of extracting EXIF metadata
from images.

  Key Changes:
   * Added a new section "7. Extract EXIF metadata from images".
* Implemented a custom remote function (UDF) using pillow and requests
to retrieve and parse EXIF tags from image URLs.
* Demonstrated how to apply this function efficiently within a BigFrames
workflow to analyze image metadata.

This addition provides users with a practical pattern for handling image
metadata and using custom libraries within BigQuery DataFrames.

Fixes #<478952827> 🦕

---------

Co-authored-by: Garrett Wu <6505921+GarrettWu@users.noreply.github.com>
Co-authored-by: Chelsea Lin <chelsealin@google.com>
Co-authored-by: Shenyang Cai <sycai@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Apr 1, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.

Librarian Version: v0.7.0
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:1a2a85ab507aea26d787c06cc7979decb117164c81dd78a745982dfda80d4f68
<details><summary>bigframes: 2.36.0</summary>

##
[2.36.0](googleapis/python-bigquery-dataframes@v2.35.0...v2.36.0)
(2026-02-17)

### Features

* Initial support for biglake iceberg tables (#2409)
([ae35a989](googleapis/python-bigquery-dataframes@ae35a989))

* add bigquery.ai.generate_table function (#2453)
([b925aa24](googleapis/python-bigquery-dataframes@b925aa24))

### Documentation

* fix generate_text and generate_table input docs (#2455)
([078bd32e](googleapis/python-bigquery-dataframes@078bd32e))

* update multimodal dataframe notebook to use public APIs (#2456)
([342fa723](googleapis/python-bigquery-dataframes@342fa723))

* use direct API for pdf chunk and pdf extract (#2452)
([543ce52c](googleapis/python-bigquery-dataframes@543ce52c))

* use direct API for audio transcription (#2447)
([59cbc5db](googleapis/python-bigquery-dataframes@59cbc5db))

* Add EXIF metadata extraction example to multimodal notebook (#2429)
([84c6f883](googleapis/python-bigquery-dataframes@84c6f883))

* Update multimodal notebook to use public runtime helpers (#2451)
([e36dd8b4](googleapis/python-bigquery-dataframes@e36dd8b4))

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants