# Jerrybuilt data exchange through Google Docs - server
## Tested against Windows 10 / Python 3.10 / Anaconda
## pip install severgdocs
```python
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)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/hansalemaos/severgdocs",
"name": "severgdocs",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "data,exchange",
"author": "Johannes Fischer",
"author_email": "aulasparticularesdealemaosp@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/dd/fb/e920c43c42f3f7a6e1c34dc28fff31e6e9e8720627fea9af54fef4aa3e9f/severgdocs-0.11.tar.gz",
"platform": null,
"description": "\r\n# Jerrybuilt data exchange through Google Docs - server \r\n\r\n## Tested against Windows 10 / Python 3.10 / Anaconda\r\n\r\n## pip install severgdocs\r\n\r\n```python\r\nUpdates the text content in a Google Docs document using Selenium and encrypts the new text.\r\n\r\nThis function automates the process of updating the content of a Google Docs document. It uses\r\nSelenium to interact with the document, including navigating through iframes and updating the\r\ntext content. The updated text is encrypted using the provided password.\r\n\r\nArgs:\r\n\ttext (str): The new text content to be added or updated.\r\n\tpassword (str): The password used for encryption.\r\n\tdoclink (str): The URL of the Google Docs document.\r\n\t**kwargs: Additional keyword arguments for configuring the Chrome WebDriver.\r\n\r\nReturns:\r\n\tstr: The updated and encrypted text content of the Google Docs document.\r\n\r\nRaises:\r\n\tAny exceptions raised during the Selenium interaction with the document.\r\n\r\nExample:\r\n\r\n# this module \r\nfrom severgdocs import update_text\r\nnt = update_text(\r\n text=\"babudada\",\r\n password=\"bibidudu\",\r\n doclink=\"https://docs.google.com/document/d/xxxx/edit\",\r\n)\r\nprint(nt)\r\n\r\n# client module\r\nfrom clientgdocs import get_text_from_google_docs\r\ndoclink = \"https://docs.google.com/document/d/xxxx/edit\"\r\npassword = \"bibidudu\"\r\ntext = get_text_from_google_docs(doclink, password, timeout=30)\r\nprint(text)\r\n\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Jerrybuilt data exchange through Google Docs - server",
"version": "0.11",
"project_urls": {
"Homepage": "https://github.com/hansalemaos/severgdocs"
},
"split_keywords": [
"data",
"exchange"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3d29c8d1383f986f16ebf26250d0665c96c8795e180590d3e82ea836f49d54d3",
"md5": "8bba07dd3fc9d60fed9181ed9dcd6f95",
"sha256": "f1d314e6e5aca7ff71358c2e84d5904fe4dac69e801a26c36464c4bd54568ca5"
},
"downloads": -1,
"filename": "severgdocs-0.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8bba07dd3fc9d60fed9181ed9dcd6f95",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 22463,
"upload_time": "2023-09-06T00:57:42",
"upload_time_iso_8601": "2023-09-06T00:57:42.313712Z",
"url": "https://files.pythonhosted.org/packages/3d/29/c8d1383f986f16ebf26250d0665c96c8795e180590d3e82ea836f49d54d3/severgdocs-0.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ddfbe920c43c42f3f7a6e1c34dc28fff31e6e9e8720627fea9af54fef4aa3e9f",
"md5": "65b124162202d8ebbd9f26794b9731d0",
"sha256": "abc40ea6c78812b8e5938c47d6e8cbde5508bc8ee32bd68affd11f6b1d5af5ad"
},
"downloads": -1,
"filename": "severgdocs-0.11.tar.gz",
"has_sig": false,
"md5_digest": "65b124162202d8ebbd9f26794b9731d0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 21576,
"upload_time": "2023-09-06T00:57:44",
"upload_time_iso_8601": "2023-09-06T00:57:44.144102Z",
"url": "https://files.pythonhosted.org/packages/dd/fb/e920c43c42f3f7a6e1c34dc28fff31e6e9e8720627fea9af54fef4aa3e9f/severgdocs-0.11.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-06 00:57:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hansalemaos",
"github_project": "severgdocs",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "a_selenium_iframes_crawler",
"specs": []
},
{
"name": "beautifulsoup4",
"specs": []
},
{
"name": "flatten_any_dict_iterable_or_whatsoever",
"specs": []
},
{
"name": "kthread_sleep",
"specs": []
},
{
"name": "lxml",
"specs": []
},
{
"name": "passprotecttxt",
"specs": []
},
{
"name": "requests",
"specs": []
},
{
"name": "selenium",
"specs": []
},
{
"name": "undetected_chromedriver",
"specs": []
}
],
"lcname": "severgdocs"
}