Skip to main content

travis pypi coveralls requiresio

Airtable integration for Django-based projects

This project’s target is to make the Airtable import easier in Django-based applications.

Installation

Add aa_airtable to your app’s INSTALLED_APPS, and also set AIRTABLE_SETTINGS in project settings. After all please migrate the app (./manage.py migrate aa_airtable).

Settings

  • API_KEY - Airtable API key.

  • DATABASES - Database settings eg. ("Media", "tests.parsers.MediaParser") where Media is table name and tests.parsers.MediaParser is path to table parser

  • ENDPOINT_URL - Airtable API endpoint url.

  • DATA_DIRECTORY - Folder with json data backups.

  • FILES_DIRECTORY - Folder with uploaded files to airtable.

  • SAVE_FILES - Should library save uploaded files (default: True)

Example Parser

from aa_airtable.parser import AbstractParser
class ArticleParser(AbstractParser):
    model = Article
    raw_fields = [
        "Name",
        ("custom_name", "Title"),
        "Description",
    ]
    related_fields = [
        ("gallery", "Gallery", Media),
    ]
    file_fields = [
        "NY Logo"
    ]

Support

  • Django 1.11

  • Python 3.4-3.6

Download files

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

Source Distribution

aa_airtable-0.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

aa_airtable-0.1-py2.py3-none-any.whl (19.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file aa_airtable-0.1.tar.gz.

File metadata

  • Download URL: aa_airtable-0.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aa_airtable-0.1.tar.gz
Algorithm Hash digest
SHA256 a8900f34195265d1b8e6dac9506878f81873f744998c169d360f01f9a5c7799d
MD5 ea8fd7353ea97032b195e64afedbc346
BLAKE2b-256 5d3e102c3e3332d3fb203e7760375f18f9f46fc831f213aff0650c49f64e1c00

See more details on using hashes here.

File details

Details for the file aa_airtable-0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for aa_airtable-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1b19ad816c76e3f9ea92d135168a5eda0e96c180e5c116af7f82507e81939cef
MD5 9b434cc3ed67c96bd950d5a5edd6d659
BLAKE2b-256 054346c039bbb0f3b2b9673eec014af2840fb58591eb0296ef8bf49496668edd

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