Skip to main content

Jerrybuilt data exchange through Google Docs - server

Tested against Windows 10 / Python 3.10 / Anaconda

pip install severgdocs

Updates the text content in a Google Docs document using Selenium and encrypts the new text.

This function automates the process of updating the content of a Google Docs document. It uses
Selenium to interact with the document, including navigating through iframes and updating the
text content. The updated text is encrypted using the provided password.

Args:
	text (str): The new text content to be added or updated.
	password (str): The password used for encryption.
	doclink (str): The URL of the Google Docs document.
	**kwargs: Additional keyword arguments for configuring the Chrome WebDriver.

Returns:
	str: The updated and encrypted text content of the Google Docs document.

Raises:
	Any exceptions raised during the Selenium interaction with the document.

Example:

# this module 
from severgdocs import update_text
nt = update_text(
    text="babudada",
    password="bibidudu",
    doclink="https://docs.google.com/document/d/xxxx/edit",
)
print(nt)

# client module
from clientgdocs import get_text_from_google_docs
doclink = "https://docs.google.com/document/d/xxxx/edit"
password = "bibidudu"
text = get_text_from_google_docs(doclink, password, timeout=30)
print(text)

Metadata

Release files for severgdocs 0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for severgdocs 0.11
File Size Uploaded Provenance Actions
severgdocs-0.11.tar.gz 21.6 kB Without provenance Details for severgdocs-0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for severgdocs 0.11
File Interpreter ABI Platform Actions
severgdocs-0.11-py3-none-any.whl Python 3 none any Details for severgdocs-0.11-py3-none-any.whl

Total release size: 44.0 kB

Release files / severgdocs-0.11.tar.gz

Download URL severgdocs-0.11.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
abc40ea6c78812b8e5938c47d6e8cbde5508bc8ee32bd68affd11f6b1d5af5ad
BLAKE2b-256 checksum
How to use checksums
ddfbe920c43c42f3f7a6e1c34dc28fff31e6e9e8720627fea9af54fef4aa3e9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / severgdocs-0.11-py3-none-any.whl

Download URL severgdocs-0.11-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1d314e6e5aca7ff71358c2e84d5904fe4dac69e801a26c36464c4bd54568ca5
BLAKE2b-256 checksum
How to use checksums
3d29c8d1383f986f16ebf26250d0665c96c8795e180590d3e82ea836f49d54d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for severgdocs 0.11

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.

Release history Release notifications | RSS feed

This release

0.11 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page