Skip to content

ramchaik/pycode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyCode

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.

Running the application

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

Output

JS Generated Code

Running with no arguments will return result with default values

# This will use the default values
python main.py 

Output

PY Generated Code

About

An LLM CLI application that generates code and tests for a user.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages