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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file lfc_torque_airtable-0.1.1.tar.gz.

File metadata

  • Download URL: lfc_torque_airtable-0.1.1.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for lfc_torque_airtable-0.1.1.tar.gz
Algorithm Hash digest
SHA256 87651aa6bf030b76f87d30c3d0e53e0d5ebe24eb169b3e8d4311178d035541a7
MD5 7ddb1fe587d176ffcf63412e7f4b7dad
BLAKE2b-256 6ab11ee60a6fc6c607860acc01ec1611bbc3ad6cce7f7974933c454c0757e13d

See more details on using hashes here.

File details

Details for the file lfc_torque_airtable-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lfc_torque_airtable-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d4d727d724c0f16036233c0d0a78d3bf89c5d6649737966ef13f892135787db
MD5 684397ad1197bde23be164ef772ac453
BLAKE2b-256 eb7197ebc8ba9d22a7f626abf02002b833b77810c0e6f8ff68822f8ccfe743ec

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