Skip to main content

Torque airtable connection for LFC

Project description

lfc-torque-airtable python package

This is a standalone application that should be installed via:

$ pip install lfc-torque-airtable

Usage from commandline

$ lfc-torque-airtable \
        --airtable-api-key <airtable_api_key> \
        --torque-endpoint <torque-endpoint> \
        --torque-user <torque-user> \
        --torque-password <torque-password \
        --dry-run \
        <competition_name> <application_number>

The options are:

  • airtable-api-key - can be found opass at clients/lever-for-change/airtable
  • torque-endpoint - usually https://torque.leverforchange.org/GlobalView
  • torque-user - your username, or in the case of the extension, usually csv2wiki
  • torque-password - the api key you use for torque
  • dry-run - include when you want information about the push, rather than actuallypushing it
  • competition_name - the competition shortname in torque
  • application_number - the application number in torque

Usage from inside python


from lfc_torque_airtable import torque_to_airtable
from torqueclient import Torque

torque = Torque(torque_endpoint, torque_user, torque_password)
converter = TorqueToAirtable(airtable_api_key, torque)
converter.dry_run = dry_run

converter.convert_proposal(competition, application_no)

Where the variables are the same as the options above

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

lfc_torque_airtable-0.1.1.tar.gz (21.1 kB view hashes)

Uploaded Source

Built Distribution

lfc_torque_airtable-0.1.1-py3-none-any.whl (21.6 kB view hashes)

Uploaded Python 3

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