clientgdocs


Nameclientgdocs JSON
Version 0.11 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/clientgdocs
SummaryJerrybuilt data exchange through Google Docs - client
upload_time2023-09-06 00:55:43
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords data exchange
VCS
bugtrack_url
requirements beautifulsoup4 flatten_any_dict_iterable_or_whatsoever lxml passprotecttxt pfehler requests
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Jerrybuilt data exchange through Google Docs - client 

## Tested against Windows 10 / Python 3.10 / Anaconda

## pip install clientgdocs

```python
This module provides a function for extracting text content from a Google Docs link
protected by a password. It uses BeautifulSoup, requests, and other libraries to
retrieve and decrypt the content.

Functions:
	get_text_from_google_docs(doclink, password, timeout=30):
		Retrieves and decrypts the text content from a Google Docs link protected by a password.

Parameters:
	doclink (str): The URL of the Google Docs document.
	password (str): The password used to decrypt the document.
	timeout (int, optional): The maximum time (in seconds) to wait for the document to load. Defaults to 30 seconds.

Returns:
	str: The decrypted text content of the Google Docs document.

Example:

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

# this 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/clientgdocs",
    "name": "clientgdocs",
    "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/50/c3/7f5764890ab0fe5f1aa162f0e669b8020f816015d50a3fe4a81bd6cd0fad/clientgdocs-0.11.tar.gz",
    "platform": null,
    "description": "\r\n# Jerrybuilt data exchange through Google Docs - client \r\n\r\n## Tested against Windows 10 / Python 3.10 / Anaconda\r\n\r\n## pip install clientgdocs\r\n\r\n```python\r\nThis module provides a function for extracting text content from a Google Docs link\r\nprotected by a password. It uses BeautifulSoup, requests, and other libraries to\r\nretrieve and decrypt the content.\r\n\r\nFunctions:\r\n\tget_text_from_google_docs(doclink, password, timeout=30):\r\n\t\tRetrieves and decrypts the text content from a Google Docs link protected by a password.\r\n\r\nParameters:\r\n\tdoclink (str): The URL of the Google Docs document.\r\n\tpassword (str): The password used to decrypt the document.\r\n\ttimeout (int, optional): The maximum time (in seconds) to wait for the document to load. Defaults to 30 seconds.\r\n\r\nReturns:\r\n\tstr: The decrypted text content of the Google Docs document.\r\n\r\nExample:\r\n\r\n# server 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# this 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 - client",
    "version": "0.11",
    "project_urls": {
        "Homepage": "https://github.com/hansalemaos/clientgdocs"
    },
    "split_keywords": [
        "data",
        "exchange"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0401b8cbaae0c9167df3f64020f0d1486c37db024f5b9bd57bcb9d15af7c5d3b",
                "md5": "eb9571e5d965f6b25fef02d59b6d605a",
                "sha256": "d67b3175854bd9f0232182f2931035cd4465f2f105f63046fe39a0f58bace23c"
            },
            "downloads": -1,
            "filename": "clientgdocs-0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "eb9571e5d965f6b25fef02d59b6d605a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 9954,
            "upload_time": "2023-09-06T00:55:42",
            "upload_time_iso_8601": "2023-09-06T00:55:42.070604Z",
            "url": "https://files.pythonhosted.org/packages/04/01/b8cbaae0c9167df3f64020f0d1486c37db024f5b9bd57bcb9d15af7c5d3b/clientgdocs-0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "50c37f5764890ab0fe5f1aa162f0e669b8020f816015d50a3fe4a81bd6cd0fad",
                "md5": "b7280f7db123537ae4f3ab556e44f0b9",
                "sha256": "f70cd7897fd9c228c400ed4843b971f3b881003784d73a0860cde9decf13ea4a"
            },
            "downloads": -1,
            "filename": "clientgdocs-0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "b7280f7db123537ae4f3ab556e44f0b9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 8514,
            "upload_time": "2023-09-06T00:55:43",
            "upload_time_iso_8601": "2023-09-06T00:55:43.967832Z",
            "url": "https://files.pythonhosted.org/packages/50/c3/7f5764890ab0fe5f1aa162f0e669b8020f816015d50a3fe4a81bd6cd0fad/clientgdocs-0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-06 00:55:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hansalemaos",
    "github_project": "clientgdocs",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "beautifulsoup4",
            "specs": []
        },
        {
            "name": "flatten_any_dict_iterable_or_whatsoever",
            "specs": []
        },
        {
            "name": "lxml",
            "specs": []
        },
        {
            "name": "passprotecttxt",
            "specs": []
        },
        {
            "name": "pfehler",
            "specs": []
        },
        {
            "name": "requests",
            "specs": []
        }
    ],
    "lcname": "clientgdocs"
}
        
Elapsed time: 0.14541s