<?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: Would a Python Virtual Environment be compatible with Splunkbase and Splunk Cloud? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Would-a-Python-Virtual-Environment-be-compatible-with-Splunkbase/m-p/623625#M107294</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/251973"&gt;@harry26&lt;/a&gt;&amp;nbsp;- Few scenarios here:&lt;/P&gt;&lt;P&gt;Are you able to create a virtual environment with Splunk's Python or an external Python build?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Splunk's Python&lt;UL&gt;&lt;LI&gt;Great, you passed 1 step.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;External Python&lt;UL&gt;&lt;LI&gt;Either you need to ask users to install Python externally.&lt;UL&gt;&lt;LI&gt;Won't be possible in Splunk Cloud.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Ship the Python build with App.&lt;UL&gt;&lt;LI&gt;Most likely App-inspect will fail due to the size of the App bundle and the executable present inside of it.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;----&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Regarding Compatibility: You need to run a POC and check it with Splunk Cloud.&lt;/LI&gt;&lt;LI&gt;Regarding whether Splunk would allow it: Please post a question to&amp;nbsp;&lt;A href="mailto:appinspect@splunk.com" target="_blank" rel="noopener"&gt;appinspect@splunk.com&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps. Kindly accept the answer and upvote the answer if this helps!!&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2022 18:00:37 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2022-12-07T18:00:37Z</dc:date>
    <item>
      <title>Would a Python Virtual Environment be compatible with Splunkbase and Splunk Cloud?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Would-a-Python-Virtual-Environment-be-compatible-with-Splunkbase/m-p/623600#M107286</link>
      <description>&lt;P&gt;Trying to develop an app that has a the 'cryptography' library as a dependancy. The built in Splunk Python interpreter refuses to be compatible with it (believe something to do with the cpython that it requires). I solved the issue by using a virtual environment within the app which is then called using subprocess.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The main thing I am concerned about it cross compatibility between different operating systems and architectures as this is env is created locally on my machine.&amp;nbsp; Would it be a better for this virtual environment be created using python on the target machine when the app is used for the first time / after setup page. If so would this pass the Splunk App inspection in order to be compatable with Splunkbase and Splunk Cloud?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 16:13:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Would-a-Python-Virtual-Environment-be-compatible-with-Splunkbase/m-p/623600#M107286</guid>
      <dc:creator>harry26</dc:creator>
      <dc:date>2022-12-07T16:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Would a Python Virtual Environment be compatible with Splunkbase and Splunk Cloud?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Would-a-Python-Virtual-Environment-be-compatible-with-Splunkbase/m-p/623625#M107294</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/251973"&gt;@harry26&lt;/a&gt;&amp;nbsp;- Few scenarios here:&lt;/P&gt;&lt;P&gt;Are you able to create a virtual environment with Splunk's Python or an external Python build?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Splunk's Python&lt;UL&gt;&lt;LI&gt;Great, you passed 1 step.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;External Python&lt;UL&gt;&lt;LI&gt;Either you need to ask users to install Python externally.&lt;UL&gt;&lt;LI&gt;Won't be possible in Splunk Cloud.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Ship the Python build with App.&lt;UL&gt;&lt;LI&gt;Most likely App-inspect will fail due to the size of the App bundle and the executable present inside of it.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;----&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Regarding Compatibility: You need to run a POC and check it with Splunk Cloud.&lt;/LI&gt;&lt;LI&gt;Regarding whether Splunk would allow it: Please post a question to&amp;nbsp;&lt;A href="mailto:appinspect@splunk.com" target="_blank" rel="noopener"&gt;appinspect@splunk.com&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps. Kindly accept the answer and upvote the answer if this helps!!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 18:00:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Would-a-Python-Virtual-Environment-be-compatible-with-Splunkbase/m-p/623625#M107294</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-12-07T18:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Would a Python Virtual Environment be compatible with Splunkbase and Splunk Cloud?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Would-a-Python-Virtual-Environment-be-compatible-with-Splunkbase/m-p/623709#M107302</link>
      <description>&lt;P&gt;Creating an environment using Splunk's Python has produced the same issue as just using the Splunk Python interpreter itself. So it seems the only way is to bundle an environment create separately from Splunk. I did run the app through App Inspect and managed to get no errors with a separate environment, I believe the app size is not an issue as well, but it did return a lot of manual checks were required&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 12:03:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Would-a-Python-Virtual-Environment-be-compatible-with-Splunkbase/m-p/623709#M107302</guid>
      <dc:creator>harry26</dc:creator>
      <dc:date>2022-12-08T12:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Would a Python Virtual Environment be compatible with Splunkbase and Splunk Cloud?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Would-a-Python-Virtual-Environment-be-compatible-with-Splunkbase/m-p/623744#M107308</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/251973"&gt;@harry26&lt;/a&gt;&amp;nbsp;- Then probably you can check them high-level and try submitting the App and see if Splunk has any issues or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 17:54:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Would-a-Python-Virtual-Environment-be-compatible-with-Splunkbase/m-p/623744#M107308</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-12-08T17:54:53Z</dc:date>
    </item>
  </channel>
</rss>

