Skip to main content

Gigasheet Python SDK

Project description

gigasheet-python

Installation

The Gigasheet API wrapper is built for Python 3 and may not work with earlier versions of Python.

Recommended installation

To run the examples, clone this repository and then run the following steps from the root of the cloned repository:

  1. Create a venv (optional, but recommended)
python -m venv venv
source ./venv/bin/activate
  1. Install Gigasheet
  • To install from PyPI, you can simply run: pip install gigasheet.
  1. Run an example. See the Authentication section for setting your key. After that, try running some examples in the example folder.
python examples/check_setup.py

Alternate installation as standalone

Because the Gigasheet API wrapper is currently only a single file, you can also download gigasheet.py from the gigasheet folder of this repository and place that file in the same directory as your own script. You can then import gigasheet with the line import gigasheet. However, this is not recommended as it is more brittle. It is preferred to use the setup steps described above instead.

Authentication

Set the environment variable GIGASHEET_API_KEY to be your Gigasheet API key to authenticate requests.

Contact support@gigasheet.com for more information about how to obtain a Gigasheet API key.

Examples

Import file from S3 and share with a colleague

You can use the example command-line tool examples/import_and_share_cli.py to import a file from S3 and share it to a colleague.

First, use the AWS console or an AWS SDK to obtain a pre-signed link for the file you want to import. Then, use the command-line tool like this:

python examples/upload_and_share_cli.py --input-url <the s3 presigned link> --share-to <email of colleague> --share-write

Run python examples/upload_and_share_cli.py --help to see more options like setting a file name or a share message.

Alternatively, if you already have AWS credentials on your machine, you could look at the simplified example script:

python examples/upload_from_s3.py

Export from Gigasheet to a local file

You can use this example script to get an S3 presigned URL of an export and to save it to your local disk:

python examples/download_export.py

API endpoint documentation

https://gigasheet.readme.io/

License

This project is licensed under the terms of the MIT license.

Contact

Visit us at https://gigasheet.com for more about our product.

Contact support@gigasheet.com for more information or for help getting an API key.

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

gigasheet-2.4.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

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

gigasheet-2.4.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file gigasheet-2.4.0.tar.gz.

File metadata

  • Download URL: gigasheet-2.4.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.9.11 Darwin/24.6.0

File hashes

Hashes for gigasheet-2.4.0.tar.gz
Algorithm Hash digest
SHA256 b1a5dedb26e5e75a9d2c3a305573f64bade8c4c9bf178ed9d376d4b2727bf521
MD5 4bbf742428f7764728a9958b0e879416
BLAKE2b-256 93b7facdf2e05ef4014c6ec95cab4ae5c8e4a3e8224e8126bdc628108ee6fa12

See more details on using hashes here.

File details

Details for the file gigasheet-2.4.0-py3-none-any.whl.

File metadata

  • Download URL: gigasheet-2.4.0-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.9.11 Darwin/24.6.0

File hashes

Hashes for gigasheet-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 978d789fa50a3b113f8b415db0c67f25450a3fdf25c99b5f189cacc22c8e814f
MD5 e6af8ca93f351f6984066a99d26181b4
BLAKE2b-256 8f9b3b104c8e57f0b02e2e91264c9d86c5921bcbc06d43af4722285d1e128d9c

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