Installation and Usage
Your one stop guide to getting started with Epsilon Code in no time!
We update our latest, most stable and best build on PyPI regularly. You can fetch the latest one simply by doing:
$ pip install epsilon-code
To use our Python module "epcode", follow the following process:
Code Generation
Debugging
You need to use the function "getcode". Here's how to do it:
from epsilon_code import epcode
epcode.getcode("Your OpenAI API Key goes here (with the quotes)", "A brief description of what you want your code to do (specify any specific methods/libraries/APIs you want the code to use)")
The generated code will be saved as a
.py
file in the current working directory. If you run the function multiple times, that file will be appended with all the code.You need to use the function "getdebug". Here's how to do it:
from epsilon_code import epcode
epcode.getdebug("Your OpenAI API Key goes here (with the quotes)", "Final line of the traceback with the exact error message.")
The generated debugging instructions will be saved as a
.txt
file in the current working directory. If you run the function multiple times, that file will be appended with all the text.You can also use our conversational command line UI to do the same. Activate it simply by doing:
$ epsilon.sh
Last modified 2yr ago