TD PIP

Get dynamic python modules.

Having to handle external python libraries is a thing of the past. This component installs PIP directly in your project and dynamicly downloads and import the libraries in your project.

To install a package call the InstallPackage method
 
op('td_pip').InstallPackage( package_name )
 

Even better is to use the Import_Module method, checking if the module exists, if not downloading in, and then returning the imported module!
 
socketio = op('td_pip').Import_Module("socketio", pip_name = "python-socketio")
 

Downloads: 1721

Created at: 5.12.2020

Uploaded: 2.5.2022
Default for libs is now TDImportCache instead of its own folder, to with TD best practice. TDImportCache should never be comitted to repositories.
Download