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.1.tar.gz
(21.1 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87651aa6bf030b76f87d30c3d0e53e0d5ebe24eb169b3e8d4311178d035541a7 |
|
MD5 | 7ddb1fe587d176ffcf63412e7f4b7dad |
|
BLAKE2b-256 | 6ab11ee60a6fc6c607860acc01ec1611bbc3ad6cce7f7974933c454c0757e13d |
File details
Details for the file lfc_torque_airtable-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: lfc_torque_airtable-0.1.1-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 | 5d4d727d724c0f16036233c0d0a78d3bf89c5d6649737966ef13f892135787db |
|
MD5 | 684397ad1197bde23be164ef772ac453 |
|
BLAKE2b-256 | eb7197ebc8ba9d22a7f626abf02002b833b77810c0e6f8ff68822f8ccfe743ec |