PyCode is a simple CLI application that generates the code and tests for your desired language and task. It uses Large Language Model (LLM) for the generation of code and tests.
Install the required dependencies
pip install
NOTE: Please set the GOOGLE_API_KEY environment variable, you will need to generate the key. You can also create a .env file with the same.
Below command will generate a javascript code that prints hello
python main.py --task 'print hello' --language js
Running with no arguments will return result with default values
# This will use the default values
python main.py