<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Downloading sharepoint lists using python in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25929#M18101</link>
    <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to download lists from SharePoint into a pandas dataframe. However I cannot get any information successfully. I have attempted many solution mentioned in stackoverflow. Below is one of those attempts: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;# &lt;A href="https://pypi.org/project/sharepoint/" target="test_blank"&gt;https://pypi.org/project/sharepoint/&lt;/A&gt;
&amp;nbsp;
&amp;nbsp;
from sharepoint import SharePointSite, basic_auth_opener
&amp;nbsp;&amp;nbsp;
server_url = "https://teamup.&amp;lt;company_name&amp;gt;.com/"
site_url = server_url + "sites/pt/service/metrics/sitedata/"
opener = basic_auth_opener(server_url, username, password)
site = SharePointSite(site_url, opener)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When the following code is executed I am getting an error: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;for sp_list in site.lists:
    print(sp_list.id, sp_list.meta['Title'])&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Error generated: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;urlopen error [Errno -2] Name or service not known&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any help on this issue is greatly appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Tanjil &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Mar 2022 15:41:15 GMT</pubDate>
    <dc:creator>tanjil</dc:creator>
    <dc:date>2022-03-10T15:41:15Z</dc:date>
    <item>
      <title>Downloading sharepoint lists using python</title>
      <link>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25929#M18101</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to download lists from SharePoint into a pandas dataframe. However I cannot get any information successfully. I have attempted many solution mentioned in stackoverflow. Below is one of those attempts: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;# &lt;A href="https://pypi.org/project/sharepoint/" target="test_blank"&gt;https://pypi.org/project/sharepoint/&lt;/A&gt;
&amp;nbsp;
&amp;nbsp;
from sharepoint import SharePointSite, basic_auth_opener
&amp;nbsp;&amp;nbsp;
server_url = "https://teamup.&amp;lt;company_name&amp;gt;.com/"
site_url = server_url + "sites/pt/service/metrics/sitedata/"
opener = basic_auth_opener(server_url, username, password)
site = SharePointSite(site_url, opener)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When the following code is executed I am getting an error: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;for sp_list in site.lists:
    print(sp_list.id, sp_list.meta['Title'])&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Error generated: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;urlopen error [Errno -2] Name or service not known&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any help on this issue is greatly appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Tanjil &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 15:41:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25929#M18101</guid>
      <dc:creator>tanjil</dc:creator>
      <dc:date>2022-03-10T15:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading sharepoint lists using python</title>
      <link>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25930#M18102</link>
      <description>&lt;P&gt;Please use sharepy &lt;A href="https://pypi.org/project/sharepy/" target="test_blank"&gt;https://pypi.org/project/sharepy/&lt;/A&gt; sharepoint library which you are using wasn't updated since 2015.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative way is to use Azure logic apps and from there save it to Azure Data Lake Storage in format of your choice.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 15:48:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25930#M18102</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-03-10T15:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading sharepoint lists using python</title>
      <link>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25931#M18103</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check on the below reference documentation and let us know whether it is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/data-factory/connector-sharepoint-online-list?tabs=data-factory" target="test_blank"&gt;https://docs.microsoft.com/en-us/azure/data-factory/connector-sharepoint-online-list?tabs=data-factory&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 11:04:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25931#M18103</guid>
      <dc:creator>User16725394280</dc:creator>
      <dc:date>2022-03-11T11:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading sharepoint lists using python</title>
      <link>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25932#M18104</link>
      <description>&lt;P&gt;Thank you Hubert for your answer. &lt;/P&gt;&lt;P&gt;However, when running the following line:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;s = sharepy.connect(SPUrl,username,password)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am getting the following error: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;'NoneType' object has no attribute 'group'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 23:39:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25932#M18104</guid>
      <dc:creator>tanjil</dc:creator>
      <dc:date>2022-03-12T23:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading sharepoint lists using python</title>
      <link>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25933#M18105</link>
      <description>&lt;P&gt;Hi @tanjil​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check @Kiran Bharathi​&amp;nbsp;docs? do you still need help?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 21:16:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25933#M18105</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2022-04-11T21:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading sharepoint lists using python</title>
      <link>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25934#M18106</link>
      <description>&lt;P&gt;Hi Tanjil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly check and update us in case you have any further queries on this.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 06:05:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25934#M18106</guid>
      <dc:creator>User16725394280</dc:creator>
      <dc:date>2022-04-12T06:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading sharepoint lists using python</title>
      <link>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25935#M18107</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I have gotten the code to work by using office365 library instead. &lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 08:56:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/25935#M18107</guid>
      <dc:creator>tanjil</dc:creator>
      <dc:date>2022-04-27T08:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading sharepoint lists using python</title>
      <link>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/96644#M39313</link>
      <description>&lt;P&gt;Nice one, but if I found it earlier, it will be very helpful for me. But I want to know that I again want to perform migration due to my organizations merges with another. I have a lot of data in list. So, I can use this method or should I go with the professional tool such as &lt;A href="https://www.systoolsgroup.com/sharepoint-migrator.html" target="_blank" rel="noopener"&gt;SharePoint Migration Tool&lt;/A&gt; by SysTools.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 12:28:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/downloading-sharepoint-lists-using-python/m-p/96644#M39313</guid>
      <dc:creator>rickdxt</dc:creator>
      <dc:date>2024-10-29T12:28:26Z</dc:date>
    </item>
  </channel>
</rss>

