Epsilon Code
Search
K

Installation and Usage

Your one stop guide to getting started with Epsilon Code in no time!

Installation

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
Usage of Epsilon-Code needs an OpenAI API Key in all cases. Get yours here.
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
All code is hosted on our GitHub. Feel free to have a look at it and do any helpul PRs!
Last modified 2yr ago