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.0.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: lfc_torque_airtable-0.1.0.tar.gz
  • Upload date:
  • Size: 21.0 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.0.tar.gz
Algorithm Hash digest
SHA256 e98ada33bf5f8a9e6f6e045da147d53e85b40d252ef007218a9acdceffb67f5c
MD5 b92591d72cea54d62d1a44466a654078
BLAKE2b-256 ee4d2197ca7f99c96a8d35c1157fe10ba4964082a001e2d131a985b5ad8ef9e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lfc_torque_airtable-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4b880770635c783e5d880685d25eca216a8376196308b1f5fec880209b0b9ba
MD5 79917939930657485c42561168b926d4
BLAKE2b-256 0f98f5fd7ea6ca7a9a5494f391dbae7cdffc6650877e4dff828ae4a8710f9464

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