# More Importable Python Libraries for Custom Coded Actions

**URL:** <https://community.hubspot.com/t/more-importable-python-libraries-for-custom-coded-actions/90972>\
**Category:** HubSpot Ideas\
**Tags:** workflows\
**Created:** [October 3, 2023, 12:29pm UTC](https://community.hubspot.com/t/more-importable-python-libraries-for-custom-coded-actions/90972 "2023-10-03T12:29:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tselani](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tselani/32/53612_2.png) [@Tselani](https://community.hubspot.com/u/Tselani)\
**Post date:** [October 3, 2023, 12:29pm UTC](https://community.hubspot.com/t/more-importable-python-libraries-for-custom-coded-actions/90972/1 "2023-10-03T12:29:47Z")

</div>

It would be helpful to be able to us regex as an importable library when using python for custom coded actions (import re).

In general i’d love to see HubSpot Custom Coded action expand on the current imporatble library list, maybe to include things like pandas as well.

---

<div class="post-metadata">

**Author:** ![SB-ledgy](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@SB-ledgy](https://community.hubspot.com/u/SB-ledgy)\
**Post date:** [January 19, 2024, 10:17am UTC](https://community.hubspot.com/t/more-importable-python-libraries-for-custom-coded-actions/90972/2 "2024-01-19T10:17:20Z")

</div>

+1 on my side on this idea!  
It would be very helpful to be able to use libraries outside of the Python standard libraries.

Some of the helpful libraries to be used in Custom Code in Python would be: Stripe SDK, OpenAI/Anthropic/VertexAI SDKs

=\> In general just a way to import requirements similar to a Docker container would be great (like a pip install -r requirements.txt)

---

<div class="post-metadata">

**Author:** ![SteveHTM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stevehtm/32/22074_2.png) [@SteveHTM](https://community.hubspot.com/u/SteveHTM)\
**Post date:** [February 10, 2024, 12:12am UTC](https://community.hubspot.com/t/more-importable-python-libraries-for-custom-coded-actions/90972/3 "2024-02-10T00:12:28Z")

</div>

+1 for me on this. In particular - any I maybe will raise this as a distinct idea - is the ability to reference a local libarary. I re-use code blocks a lot - and today they are clones of each other all over the place. If I could create them as functions (I use Python for nearly everything) - then the idea would be a “import local” to get access to my saved function work in new code steps.
