jpeck

jpeck / CreateVenvScriptPython27 / 1.0.1

CreateVenvScriptPython27

Royalty Free
Get a script to create a Virtualenv mimicking the Algorithm's environment
No Tags
Language
Python 2.x - Beta
Metrics
API Calls - 10 Avg call duration - N/A
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More

Run an Example

Input
Output
"\n# DO NOT run this script all at once; run each line individually and verify, as you may need to adjust paths to your python binaries\n\nvirtualenv --python=/usr/bin/python2.7 algo_env_2_7\n\nsource algo_env_2_7/bin/activate\n\npip install algorithmia-api-client==1.0.1 algorithmia==1.2.1 certifi==2019.9.11 chardet==3.0.4 enum34==1.1.6 idna==2.8 pip==18.1 python-dateutil==2.8.0 requests==2.22.0 setuptools==41.0.1 six==1.12.0 urllib3==1.25.6 wheel==0.33.4 wsgiref==0.1.2\n\n"

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



    algo run jpeck/CreateVenvScriptPython27/1.0.1 -d '""' --timeout 300
  
CLI Docs