<?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 Re: SAS and Python in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/403508#M10685</link>
    <description>&lt;P&gt;To expand on what&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt;&amp;nbsp;suggested:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS provides an open-source library called&amp;nbsp;&lt;STRONG&gt;SASPy&lt;/STRONG&gt; that allows you to connect your Python console or Jupyter Notebook to SAS.&amp;nbsp; You can find the library on &lt;A href="https://github.com/sassoftware/saspy" target="_self"&gt;the&amp;nbsp;&lt;/A&gt;&lt;A href="https://github.com/sassoftware/saspy" target="_self"&gt;&lt;STRONG&gt;sassoftware&lt;/STRONG&gt;&lt;/A&gt;&lt;A href="https://github.com/sassoftware/saspy" target="_self"&gt; GitHub account&lt;/A&gt;.&amp;nbsp; It works with SAS on any OS: Windows, Unix/Linux, even z/OS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SASPy brings a "Python-ic" sensibility to this approach for using SAS. That means that all of your access to SAS data and methods are surfaced using objects and syntax that are familiar to Python users. This includes the ability to&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://pandas.pydata.org/" target="_blank"&gt;exchange data via pandas&lt;/A&gt;&lt;SPAN&gt;, the ubiquitous Python data analysis framework. And even the native SAS objects are accessed in a very "pandas-like" way.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-python"&gt;import saspy
import pandas as pd
sas = saspy.SASsession(cfgname='winlocal')
cars = sas.sasdata("CARS","SASHELP")
cars.describe()&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;More details, including a video with a demo, in this article: &lt;A href="https://blogs.sas.com/content/sasdummy/2017/04/08/python-to-sas-saspy/" target="_self"&gt;Introducing SASPy: Use Python code to access SAS&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2017 11:55:03 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2017-10-12T11:55:03Z</dc:date>
    <item>
      <title>SAS and Python</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/403469#M10681</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I connect to SAS via Python? What should be installed on SAS side to be able to do this? Or is there any other thing that should be considered?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 08:12:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/403469#M10681</guid>
      <dc:creator>Riana</dc:creator>
      <dc:date>2017-10-12T08:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Python</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/403471#M10682</link>
      <description>&lt;P&gt;In what sense do you mean "connect"?&amp;nbsp; For instance, you could just want to run programs in batch which is a simple command line call, or maybe you want to access data which may need a driver or specific software.&amp;nbsp; Give as much detail about what your doing/expect as possible.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 08:26:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/403471#M10682</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-10-12T08:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Python</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/403472#M10683</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/62003"&gt;@Riana&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please give a look to this great post published by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;:&amp;nbsp;&lt;A href="https://blogs.sas.com/content/sasdummy/2017/04/08/python-to-sas-saspy/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2017/04/08/python-to-sas-saspy/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is about SASPy, the tool you can use to connect from Python to SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 08:28:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/403472#M10683</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-10-12T08:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Python</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/403508#M10685</link>
      <description>&lt;P&gt;To expand on what&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt;&amp;nbsp;suggested:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS provides an open-source library called&amp;nbsp;&lt;STRONG&gt;SASPy&lt;/STRONG&gt; that allows you to connect your Python console or Jupyter Notebook to SAS.&amp;nbsp; You can find the library on &lt;A href="https://github.com/sassoftware/saspy" target="_self"&gt;the&amp;nbsp;&lt;/A&gt;&lt;A href="https://github.com/sassoftware/saspy" target="_self"&gt;&lt;STRONG&gt;sassoftware&lt;/STRONG&gt;&lt;/A&gt;&lt;A href="https://github.com/sassoftware/saspy" target="_self"&gt; GitHub account&lt;/A&gt;.&amp;nbsp; It works with SAS on any OS: Windows, Unix/Linux, even z/OS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SASPy brings a "Python-ic" sensibility to this approach for using SAS. That means that all of your access to SAS data and methods are surfaced using objects and syntax that are familiar to Python users. This includes the ability to&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://pandas.pydata.org/" target="_blank"&gt;exchange data via pandas&lt;/A&gt;&lt;SPAN&gt;, the ubiquitous Python data analysis framework. And even the native SAS objects are accessed in a very "pandas-like" way.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-python"&gt;import saspy
import pandas as pd
sas = saspy.SASsession(cfgname='winlocal')
cars = sas.sasdata("CARS","SASHELP")
cars.describe()&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;More details, including a video with a demo, in this article: &lt;A href="https://blogs.sas.com/content/sasdummy/2017/04/08/python-to-sas-saspy/" target="_self"&gt;Introducing SASPy: Use Python code to access SAS&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 11:55:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/403508#M10685</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-10-12T11:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Python</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/413638#M11174</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;for you reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm working on a presentation about Jupyter notebook and SAS and how it works(for dummies :-)). I need to create a demonstarion of connection between SAS servers, jupyter notebook, saspy,... that how they communicate in a simple way. Is there such document or link that can be used for this purpose?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 12:57:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/413638#M11174</guid>
      <dc:creator>Riana</dc:creator>
      <dc:date>2017-11-15T12:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Python</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/413643#M11175</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/62003"&gt;@Riana&lt;/a&gt;&amp;nbsp;- are you looking for something like an architecture/conceptual diagram? I'm not aware of one that exists today, though it's a good idea to have one.&amp;nbsp; When you draw one out, let us know &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is some &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Me-and-SASPy-SASPy-working-with-HP-UX-sever-vs-Windows-Client/ta-p/370430" target="_self"&gt;good information in this article&lt;/A&gt; by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41617"&gt;@EdwardJin&lt;/a&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 13:26:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/413643#M11175</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-11-15T13:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS and Python</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/413650#M11176</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/62003"&gt;@Riana&lt;/a&gt; I am not sure if this answers your question but I have once made a simplified illustration on how Jupyter works for a presentation I gave.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jupyter_HowDoesItWork.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16653i99FDE2087BA71502/image-size/large?v=v2&amp;amp;px=999" role="button" title="Jupyter_HowDoesItWork.PNG" alt="Jupyter_HowDoesItWork.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The "kernel" node that is shown in the image is any &lt;A href="https://github.com/jupyter/jupyter/wiki/Jupyter-kernels" target="_blank"&gt;Jupyter Kernel&lt;/A&gt; of which one is the SAS kernel&lt;BR /&gt;The link between the Notebook Server node and the Kernel node links to &lt;A href="http://zeromq.org/" target="_blank"&gt;zeromq&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The link between the Notebook Server node and the Notebook File node links to &lt;A href="http://www.json.org/" target="_self"&gt;JSON&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 13:44:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-and-Python/m-p/413650#M11176</guid>
      <dc:creator>Resa</dc:creator>
      <dc:date>2017-11-15T13:44:22Z</dc:date>
    </item>
  </channel>
</rss>

