Skip to main content

A package to use the BigQuery Storage Write API

Project description

Arcane bigquery-storage README

A package to call the BigQuery Storage Write API. To have more info check https://cloud.google.com/bigquery/docs/write-api This API uses the protocol buffers for serialization and deserialization. You can find the protobuf definitions in the proto folder. More information on protobuf https://protobuf.dev/getting-started/pythontutorial/

Using the compiler

Install the compiler

To compile a protocol buffer, you will to have the compiler install. Check this page to see the latest version https://protobuf.dev/downloads/. It is important to check the version of the compiler and the version of the protobuf definitions. They must be compatible. Check https://protobuf.dev/support/version-support/#python for the compatibility matrix. At the time of writing, the protoc version is 21.12 and the protobuf version is 3.20.3.

Download the binary for the Mac OS. The name is something like protoc-21.12-osx-universal_binary.zip. Run this command in your Downloads folder:

PB_REL="https://github.com/protocolbuffers/protobuf/releases"
curl -LO $PB_REL/download/v21.12/protoc-21.12-osx-universal_binary.zip

Unzip the file and copy the protoc binary to /usr/local/bin : sudo mv ~/Downloads/protoc-21.12-osx-universal_binary/bin/protoc /usr/local/bin/ Finally copy the include folder sudo cp -r ~/Downloads/protoc-21.12-osx-universal_binary/include/* /usr/local/include Verify that the compiler is installed by running protoc --version

Running the compiler

In the arcane/bigquery-storage/proto/ folder, you will find the protobuf definitions. To compile a file, run the following command protoc -I. -I/usr/local/include --python_out=. --pyi_out=. <file>.proto It generates a python file with the same name as the proto file. You can now commit it and create a new version of this package.

Release history

To see changes, please see CHANGELOG.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arcane_bigquery_storage-1.2.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arcane_bigquery_storage-1.2.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file arcane_bigquery_storage-1.2.1.tar.gz.

File metadata

  • Download URL: arcane_bigquery_storage-1.2.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for arcane_bigquery_storage-1.2.1.tar.gz
Algorithm Hash digest
SHA256 a105a3ccfe8def3b198cccc069d3af1f0b29ee57e9e3b3b1a66a423f7fe5500d
MD5 328a7b44c984ec82441b97e04bf1d47a
BLAKE2b-256 c5d0435fd661df4178cc44a9269b6476dddc52cf691cc4416d58fdbc060ea547

See more details on using hashes here.

File details

Details for the file arcane_bigquery_storage-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for arcane_bigquery_storage-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 705b6c1d40cbbbe9d321747dc1fd2ae52401fce8090dee7a0c22e35085e0c9e4
MD5 28ae86fe383a5dcf071c6a0e26c1fdb4
BLAKE2b-256 3a9401c17b87918d5d7c0011d89e1a316ee2f3568711c2c3f81ede370dcf9c12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page