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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lfc_torque_airtable-0.1.2.tar.gz.
File metadata
- Download URL: lfc_torque_airtable-0.1.2.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
571f8d3261c079fe8020d7599d80201047147a55731540a34f12c79e25f777a8
|
|
| MD5 |
ab53532e0a7e4f86922f8880e11b83d6
|
|
| BLAKE2b-256 |
78063bda299959e687b1521e758497362d76f8abc710882d2c14c2f9e06b6148
|
File details
Details for the file lfc_torque_airtable-0.1.2-py3-none-any.whl.
File metadata
- Download URL: lfc_torque_airtable-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65cc364b08288d41fb269aebe116fe1ddf650df12f1a7cbd2a6a2f808e61c6cc
|
|
| MD5 |
53e9c443a1ed02bd15bf88bb308292ba
|
|
| BLAKE2b-256 |
adc3be30525b3d60204a9213840308650b110146637ce413f4a6be5be8c95e27
|