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
.
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 hashes)
Built Distribution
Close
Hashes for airtable_export-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69432302c0a30247d22e8a4e2d1be33a06912f7c5cb6344d9478cbec5fb0e2e6 |
|
MD5 | ce8041cf5ac783bfd658b1fe5d388233 |
|
BLAKE2b-256 | b2e2f3baba8f5a431857e4a12b0d87b8eb99292fcd30a76e094416694dbc4ea6 |