sharepoint-stuff


Namesharepoint-stuff JSON
Version 0.0.5 PyPI version JSON
download
home_pagehttps://github.com/george-oconnor/sharepoint-stuff
SummaryPackage that adds a range of functionality for working with sharepoint sites - under constant development
upload_time2023-01-10 11:29:49
maintainer
docs_urlNone
authorgeorge.oconnor (George O' Connor)
requires_python
license
keywords python sharepoint upload sharepoint site download office office365 microsoft microsoft365 azure site
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # sharepoint-stuff

A package that adds a range of functionality for working with sharepoint sites from python e.g. uploading and downloading of files, creation of folders, etc. Under constant development and change as of January 2023.

## Installation

Run the following to install:

```python
python -m pip install sharepoint-stuff
```

## Usage

```python
from sharepoint_stuff import getCTX, uploadFile

# Initial authentication is necessary for all other functions in this package

ctx = getCTX("SHAREPOINT_URL", "USERNAME", "PASSWORD")

# then you can use that ClientContext (ctx) to authenticate for all the other functions, for example:

# the sharepoint relative url is relative to the name of your site so if you were in the directory -
# https://contoso.sharepoint.com/sites/MAIN_SITE/Shared%20Documents/important_docs then your relative url is "Shared Documents/important_docs/"

# the filepath should include the filename, this is so that the name of the file on sharepoint can be declared seperately to the name of the
# file on the system
uploadFile(ctx, "FILENAME_FOR_SHAREPOINT", "FILEPATH_ON_SYSTEM", "SHAREPOINT_RELATIVE_URL")
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/george-oconnor/sharepoint-stuff",
    "name": "sharepoint-stuff",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,sharepoint,upload,sharepoint site,download,office,office365,microsoft,microsoft365,azure,site",
    "author": "george.oconnor (George O' Connor)",
    "author_email": "<george@georgestools.com>",
    "download_url": "https://files.pythonhosted.org/packages/74/42/87cbb2d3d53bb7d8ab8ebdb38573fe496f35b1f92032251d6cbb683ca41b/sharepoint-stuff-0.0.5.tar.gz",
    "platform": null,
    "description": "# sharepoint-stuff\r\n\r\nA package that adds a range of functionality for working with sharepoint sites from python e.g. uploading and downloading of files, creation of folders, etc. Under constant development and change as of January 2023.\r\n\r\n## Installation\r\n\r\nRun the following to install:\r\n\r\n```python\r\npython -m pip install sharepoint-stuff\r\n```\r\n\r\n## Usage\r\n\r\n```python\r\nfrom sharepoint_stuff import getCTX, uploadFile\r\n\r\n# Initial authentication is necessary for all other functions in this package\r\n\r\nctx = getCTX(\"SHAREPOINT_URL\", \"USERNAME\", \"PASSWORD\")\r\n\r\n# then you can use that ClientContext (ctx) to authenticate for all the other functions, for example:\r\n\r\n# the sharepoint relative url is relative to the name of your site so if you were in the directory -\r\n# https://contoso.sharepoint.com/sites/MAIN_SITE/Shared%20Documents/important_docs then your relative url is \"Shared Documents/important_docs/\"\r\n\r\n# the filepath should include the filename, this is so that the name of the file on sharepoint can be declared seperately to the name of the\r\n# file on the system\r\nuploadFile(ctx, \"FILENAME_FOR_SHAREPOINT\", \"FILEPATH_ON_SYSTEM\", \"SHAREPOINT_RELATIVE_URL\")\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Package that adds a range of functionality for working with sharepoint sites - under constant development",
    "version": "0.0.5",
    "split_keywords": [
        "python",
        "sharepoint",
        "upload",
        "sharepoint site",
        "download",
        "office",
        "office365",
        "microsoft",
        "microsoft365",
        "azure",
        "site"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2006692ef6b2351f6ebfd1023311ac54f11c5a46136b093f54ce710d2a4fe617",
                "md5": "818293c784ce70ea7557289af4196df2",
                "sha256": "b82270e1be680e3d875260f904bcb789e4a05867810f0ef959d9f68edb6c1166"
            },
            "downloads": -1,
            "filename": "sharepoint_stuff-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "818293c784ce70ea7557289af4196df2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4610,
            "upload_time": "2023-01-10T11:29:48",
            "upload_time_iso_8601": "2023-01-10T11:29:48.032049Z",
            "url": "https://files.pythonhosted.org/packages/20/06/692ef6b2351f6ebfd1023311ac54f11c5a46136b093f54ce710d2a4fe617/sharepoint_stuff-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "744287cbb2d3d53bb7d8ab8ebdb38573fe496f35b1f92032251d6cbb683ca41b",
                "md5": "297d8db30197c692f03f967a47cda922",
                "sha256": "a8e8dddc38b355936477beefa5848365ec05c045b33f09d6829b0c4f20d46586"
            },
            "downloads": -1,
            "filename": "sharepoint-stuff-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "297d8db30197c692f03f967a47cda922",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4375,
            "upload_time": "2023-01-10T11:29:49",
            "upload_time_iso_8601": "2023-01-10T11:29:49.675114Z",
            "url": "https://files.pythonhosted.org/packages/74/42/87cbb2d3d53bb7d8ab8ebdb38573fe496f35b1f92032251d6cbb683ca41b/sharepoint-stuff-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-10 11:29:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "george-oconnor",
    "github_project": "sharepoint-stuff",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "sharepoint-stuff"
}
        
Elapsed time: 0.03223s