Google Form Poster
Submit data rows to a Google Form via POST requests.
Installation
pip install google-form-poster
Usage — as a library
from post_to_google_form import post_data
url = "https://docs.google.com/forms/d/e/.../viewform"
# Data keys match entry IDs directly
data = [{"entry.12345": "Alice", "entry.67890": "alice@example.com"}]
results = post_data(url, data)
# Or use key_mappings to translate your keys
key_mappings = {"name": "entry.12345", "email": "entry.67890"}
data = [{"name": "Alice", "email": "alice@example.com"}]
results = post_data(url, data, key_mappings)
# results = [
# {"index": 0, "status_code": 200, "payload": {"entry.12345": "Alice", ...}},
# ]
forms.gle short links are automatically resolved:
post_data("https://forms.gle/abc123", data)
Usage — CLI
post-to-google-form --file data.json --url https://forms.gle/abc123
# With key mappings:
post-to-google-form --file data.json --url https://forms.gle/abc123 \
--key-mappings mappings.json
All flags fall back to environment variables (FILE_PATH, GOOGLE_FORM_URL, KEY_MAPPINGS), loaded from .env if present.
Metadata
Release files for google-form-poster 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| google_form_poster-0.1.1.tar.gz | 4.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| google_form_poster-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.7 kB
Release files / google_form_poster-0.1.1.tar.gz
| Download URL | google_form_poster-0.1.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4dd8ee324dafcc7bcf01c592f1d6238eba8647f821522fe3e6ba4eed0c0cd96f
|
|
BLAKE2b-256 checksum How to use checksums |
79f40278575792204ea35d8bcfb2a1bf1377e04912f4ec425c76df893b33cefa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / google_form_poster-0.1.1-py3-none-any.whl
| Download URL | google_form_poster-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
616df89042ee439f484c03f52b492b02be2447bc7f7f101a3c6aa102d415b5e8
|
|
BLAKE2b-256 checksum How to use checksums |
b4a215103a7a2e4ff9e265efc4b9e68db4c4d6f21f6f83da365f4c2b1e971fde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for google-form-poster 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.