Epsilon Code
Search…
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:
1
$ pip install epsilon-code
Copied!
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:
1
from epsilon_code import epcode
2
3
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)")
Copied!
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:
1
from epsilon_code import epcode
2
3
epcode.getdebug("Your OpenAI API Key goes here (with the quotes)", "Final line of the traceback with the exact error message.")
Copied!
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:
1
$ epsilon.sh
Copied!
All code is hosted on our GitHub. Feel free to have a look at it and do any helpul PRs!
Last modified 1yr ago
Copy link