<?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: Saving description of Tool parameters without sharing the xml in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478450#M37449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;I know how this works but this actually does not satisfy my requirement. There are certain requirements why I have chosen to operate using a .pyt and not a .tbx.&lt;/P&gt;&lt;P&gt;What I need to know is that if there isn't any way we can add the description to the .pyt itself, is there a way we can embed the XML files in it or is there a way we can encrypt those files directly.&lt;/P&gt;&lt;P&gt;Thank You.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Feb 2020 03:57:49 GMT</pubDate>
    <dc:creator>SarthakBhatia1</dc:creator>
    <dc:date>2020-02-14T03:57:49Z</dc:date>
    <item>
      <title>Saving description of Tool parameters without sharing the xml</title>
      <link>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478445#M37444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a Python Toolbox with multiple tools. Each of these tools takes multiple parameter inputs. Using the "Item Description" option from Arc Catalog, I have added multiple descriptions. This toolbox is further being shared with a user. Now I have the option of encrypting the python toolbox but not the XML files which are created in the directory containing the Python Toolbox, so I can share the toolbox but not the XML Files as the entire code has to be encrypted to ensure the user does not make any unwanted changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue this creates is that the description I have added are not shared as they are stored in the XML File. Is there any way I can store the descriptions directly in the Python Toolbox?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 12:03:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478445#M37444</guid>
      <dc:creator>SarthakBhatia1</dc:creator>
      <dc:date>2020-02-13T12:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Saving description of Tool parameters without sharing the xml</title>
      <link>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478446#M37445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With a conventional toolbox (aka custom tool), all the parameter descriptions are stored within the *.tbx.&amp;nbsp; The xml portion doesn't contain the sometimes verbose parameter descriptions and help information&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 12:16:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478446#M37445</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-02-13T12:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Saving description of Tool parameters without sharing the xml</title>
      <link>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478447#M37446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have mentioned in my question that I need to encrypt the toolbox which is why a python toolbox is being used and not a conventional toolbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 14:06:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478447#M37446</guid>
      <dc:creator>SarthakBhatia1</dc:creator>
      <dc:date>2020-02-13T14:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Saving description of Tool parameters without sharing the xml</title>
      <link>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478448#M37447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H2 style="font-weight: 300; font-size: 1.9994rem; margin: -145px 0px 1.55rem; padding-top: 175px;"&gt;Additional security&lt;/H2&gt;&lt;H4 class="" style="font-weight: 300; font-size: 1.414rem; margin: 0px 0px 1.55rem;"&gt;&lt;/H4&gt;&lt;DIV class=""&gt;&lt;P&gt;From&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/geoprocessing_and_python/comparing-custom-and-python-toolboxes.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/geoprocessing_and_python/comparing-custom-and-python-toolboxes.htm"&gt;Comparing custom and Python toolboxes—Geoprocessing and Python | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is pretty hard to pull out the code once it is embedded into a toolbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="background-color: #ffffff; border: 1px solid #cccccc; font-size: 0.875rem; margin-bottom: 1.55rem;"&gt;&lt;THEAD style="color: #4c4c4c; background-color: #efefef; border-bottom: 1px solid #cccccc; font-size: 1rem;"&gt;&lt;TR style="border-bottom: none;"&gt;&lt;TH colspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;Custom toolboxes&lt;/TH&gt;&lt;TH colspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;Python toolboxes&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY class="" style="color: #4c4c4c;"&gt;&lt;TR class="" style="border-bottom: none;"&gt;&lt;TD colspan="1" rowspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;&lt;P&gt;Script tools in a custom toolbox can have their source code embedded into the toolbox and secured with a password.&lt;/P&gt;&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;&lt;P&gt;A Python toolbox&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;.pyt&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file can be encrypted in place and secured with a password.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 14:35:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478448#M37447</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-02-13T14:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Saving description of Tool parameters without sharing the xml</title>
      <link>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478449#M37448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is a toolbox with an embedded script, give a look and see if it is secure enough for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 15:13:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478449#M37448</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-02-13T15:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Saving description of Tool parameters without sharing the xml</title>
      <link>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478450#M37449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;I know how this works but this actually does not satisfy my requirement. There are certain requirements why I have chosen to operate using a .pyt and not a .tbx.&lt;/P&gt;&lt;P&gt;What I need to know is that if there isn't any way we can add the description to the .pyt itself, is there a way we can embed the XML files in it or is there a way we can encrypt those files directly.&lt;/P&gt;&lt;P&gt;Thank You.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 03:57:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478450#M37449</guid>
      <dc:creator>SarthakBhatia1</dc:creator>
      <dc:date>2020-02-14T03:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Saving description of Tool parameters without sharing the xml</title>
      <link>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478451#M37450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;short of placing the information in script docstrings or even the xml itself within a script and encrypting it, there is nothing out of the box that I can see.&amp;nbsp; On the downside python encryption/decryption is pretty easy to break.&amp;nbsp; A solid license statement if you are worried about commercial value.&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 04:39:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-description-of-tool-parameters-without/m-p/478451#M37450</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-02-14T04:39:56Z</dc:date>
    </item>
  </channel>
</rss>

