├── .github └── workflows │ └── dockerize.yml ├── CODEOWNERS ├── Dockerfile ├── LICENSE ├── README.md ├── default_python_home ├── README.md └── matplotlibrc ├── example-clients └── python │ ├── requirements.txt │ └── terrarium_client.py ├── nodemon.json ├── package.json ├── src ├── index.ts ├── services │ └── python-interpreter │ │ ├── service.ts │ │ └── types.ts └── utils │ └── async-utils.ts ├── tests ├── file_io │ ├── _outputs │ │ ├── mars_mountains.png │ │ ├── plot.pdf │ │ ├── plot.png │ │ ├── plot.svg │ │ ├── test_file_output.jpg │ │ └── test_file_output.json │ ├── replay_inputs.py │ ├── simple_matplotlib.py │ ├── simple_matplotlib_barchart.py │ ├── test_file_input.jpg │ └── test_file_input.json ├── functionality │ ├── error_missing_import.py │ ├── error_syntax_error.py │ ├── error_wrong_param.py │ ├── numpy_simple.py │ ├── super_long_python_file.py │ └── sympy_simple.py └── security │ ├── create_dir.py │ ├── list_dirs.py │ └── subprocess.py └── tsconfig.json /.github/workflows/dockerize.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/.github/workflows/dockerize.yml -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/README.md -------------------------------------------------------------------------------- /default_python_home/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/default_python_home/README.md -------------------------------------------------------------------------------- /default_python_home/matplotlibrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/default_python_home/matplotlibrc -------------------------------------------------------------------------------- /example-clients/python/requirements.txt: -------------------------------------------------------------------------------- 1 | requests 2 | typing_extensions 3 | google-auth -------------------------------------------------------------------------------- /example-clients/python/terrarium_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/example-clients/python/terrarium_client.py -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/package.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/services/python-interpreter/service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/src/services/python-interpreter/service.ts -------------------------------------------------------------------------------- /src/services/python-interpreter/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/src/services/python-interpreter/types.ts -------------------------------------------------------------------------------- /src/utils/async-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/src/utils/async-utils.ts -------------------------------------------------------------------------------- /tests/file_io/_outputs/mars_mountains.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/file_io/_outputs/mars_mountains.png -------------------------------------------------------------------------------- /tests/file_io/_outputs/plot.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/file_io/_outputs/plot.pdf -------------------------------------------------------------------------------- /tests/file_io/_outputs/plot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/file_io/_outputs/plot.png -------------------------------------------------------------------------------- /tests/file_io/_outputs/plot.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/file_io/_outputs/plot.svg -------------------------------------------------------------------------------- /tests/file_io/_outputs/test_file_output.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/file_io/_outputs/test_file_output.jpg -------------------------------------------------------------------------------- /tests/file_io/_outputs/test_file_output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/file_io/_outputs/test_file_output.json -------------------------------------------------------------------------------- /tests/file_io/replay_inputs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/file_io/replay_inputs.py -------------------------------------------------------------------------------- /tests/file_io/simple_matplotlib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/file_io/simple_matplotlib.py -------------------------------------------------------------------------------- /tests/file_io/simple_matplotlib_barchart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/file_io/simple_matplotlib_barchart.py -------------------------------------------------------------------------------- /tests/file_io/test_file_input.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/file_io/test_file_input.jpg -------------------------------------------------------------------------------- /tests/file_io/test_file_input.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/file_io/test_file_input.json -------------------------------------------------------------------------------- /tests/functionality/error_missing_import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/functionality/error_missing_import.py -------------------------------------------------------------------------------- /tests/functionality/error_syntax_error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/functionality/error_syntax_error.py -------------------------------------------------------------------------------- /tests/functionality/error_wrong_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/functionality/error_wrong_param.py -------------------------------------------------------------------------------- /tests/functionality/numpy_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/functionality/numpy_simple.py -------------------------------------------------------------------------------- /tests/functionality/super_long_python_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/functionality/super_long_python_file.py -------------------------------------------------------------------------------- /tests/functionality/sympy_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/functionality/sympy_simple.py -------------------------------------------------------------------------------- /tests/security/create_dir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/security/create_dir.py -------------------------------------------------------------------------------- /tests/security/list_dirs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/security/list_dirs.py -------------------------------------------------------------------------------- /tests/security/subprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tests/security/subprocess.py -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khoj-ai/terrarium/HEAD/tsconfig.json --------------------------------------------------------------------------------