Alteryx Designer Ideas

Share your Designer product ideas - we're listening!

Running custom scripts during Python-tool installation

Copy & paste from my post here.

 

The Python SDK offers a possiblity to automatically install Python packages through pip when installing using the requirements.txt. Some changes to the virtual environment of the tool might not be covered by this: For example, downloading and configuring language models for spaCy cannot be solved through the requirements.txt alone (similar for training corpora for NLTK).

 

So, as an idea for future versions of the SDK: Allow us to specify a Python script that is run when a tool is installed. This way we might be able to set up the environment, load additional tools etc.

3 Comments
Alteryx
Alteryx
Status changed to: Under Review
 
Moderator
Moderator
Status changed to: Accepted

Thank you for your post! Our product team has reviewed this idea and would like to include a way of running a custom script when installing a python tool into the product in the future. However, implementing this feature may take some time. We'll do our best to update this idea once we are closer to the implementation of this feature.

Comet
That's great news, thanks! 🙂