Skip to main content

Export Airtable data to files on disk

Project description

airtable-export

PyPI Changelog Tests License

Export Airtable data to files on disk

Installation

Install this tool using pip:

$ pip install airtable-export

Usage

You will need to know the following information:

  • Your Airtable base ID - this is a string starting with app...
  • Your Airtable API key - this is a string starting with key...
  • The names of each of the tables that you wish to export

You can export all of your data to a folder called export/ by running the following:

airtable-export export base_id table1 table2 --key=key

This example would create two files: export/table1.yml and export/table2.yml.

Rather than passing the API key using the --key option you can set it as an environment variable called AIRTABLE_KEY.

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd airtable-export
python -mvenv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and tests:

pip install -e '.[test]'

To run the tests:

pytest

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

airtable-export-0.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

airtable_export-0.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file airtable-export-0.2.tar.gz.

File metadata

  • Download URL: airtable-export-0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for airtable-export-0.2.tar.gz
Algorithm Hash digest
SHA256 480ae9ffc00a74920ca2f337103465b933b2cdb95c6a2d18da5ea5a6d5f51b70
MD5 4da234eed1bcf49d69a250cf0b5ea36f
BLAKE2b-256 64fbf49db9fec6a72ede6b8a24a2da755acaebf3c093106fcbd29a92d38717ab

See more details on using hashes here.

File details

Details for the file airtable_export-0.2-py3-none-any.whl.

File metadata

  • Download URL: airtable_export-0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for airtable_export-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 69432302c0a30247d22e8a4e2d1be33a06912f7c5cb6344d9478cbec5fb0e2e6
MD5 ce8041cf5ac783bfd658b1fe5d388233
BLAKE2b-256 b2e2f3baba8f5a431857e4a12b0d87b8eb99292fcd30a76e094416694dbc4ea6

See more details on using hashes here.

Supported by

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