Currently, specifying a specific version of a Python package in a Pipedream Python code step is not supported. Pipedream installs the latest version of the package when you use it in your Python code. If you need a specific version of a package, you can submit a feature request to the Pipedream team at New Pipedream Integration Request.
how do i check python package version in python code stpe
To check the version of a Python package in a Pipedream Python code step, you can use the .__version__
attribute of the package. Here’s an example: import some_package package_version = some_package.__version__ print(f"Package version: {package_version}")
Replace some_package
with the package you want to check the version for. The version will be printed in the logs when you run the code step.
is there anyway i could using someone’s forked python lib in python code step?
Currently, Pipedream does not support using forked Python libraries directly in the Python code step. You can only use the available packages from PyPI. If the forked library is published on PyPI under a different name, you can use that package. Otherwise, you might need to find an alternative library or consider using a different platform that supports custom package installations.
update: Solved by using NodeJS scripts.