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/airtabletorque-endpoint
- usually https://torque.leverforchange.org/GlobalViewtorque-user
- your username, or in the case of the extension, usually csv2wikitorque-password
- the api key you use for torquedry-run
- include when you want information about the push, rather than actuallypushing itcompetition_name
- the competition shortname in torqueapplication_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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e98ada33bf5f8a9e6f6e045da147d53e85b40d252ef007218a9acdceffb67f5c |
|
MD5 | b92591d72cea54d62d1a44466a654078 |
|
BLAKE2b-256 | ee4d2197ca7f99c96a8d35c1157fe10ba4964082a001e2d131a985b5ad8ef9e6 |
File details
Details for the file lfc_torque_airtable-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: lfc_torque_airtable-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4b880770635c783e5d880685d25eca216a8376196308b1f5fec880209b0b9ba |
|
MD5 | 79917939930657485c42561168b926d4 |
|
BLAKE2b-256 | 0f98f5fd7ea6ca7a9a5494f391dbae7cdffc6650877e4dff828ae4a8710f9464 |