Export Airtable data to files on disk
Project description
airtable-export
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
.
Export options
By default the tool exports your data as YAML.
You can also export as JSON or as newline delimited JSON using the --json
or --ndjson
options:
airtable-export export base_id table1 table2 --key=key --ndjson
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
Built Distribution
File details
Details for the file airtable-export-0.3.tar.gz
.
File metadata
- Download URL: airtable-export-0.3.tar.gz
- Upload date:
- Size: 3.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6d86ace609c53f397be5e5cb9c87154ae514bd16e7e22057d9d4d865a3dc098 |
|
MD5 | 550a0527ac5a67897091f00082959265 |
|
BLAKE2b-256 | 9789060ee52cbb055d043d9a89a559fd04c82edc34e6f67d0e2f5d01e9b628e7 |
File details
Details for the file airtable_export-0.3-py3-none-any.whl
.
File metadata
- Download URL: airtable_export-0.3-py3-none-any.whl
- Upload date:
- Size: 7.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b521caf273b34f7592668bb140469d671fc47986469499555d9a9af05b15110f |
|
MD5 | db9c2799377b700c82d7755aaefcaa99 |
|
BLAKE2b-256 | a0fcf48b73e2141b8db9925734d275ae51c0ada3411ac7d62946fece183deb1e |