/portal

Translate code via command-line!

Primary LanguagePythonApache License 2.0Apache-2.0

Portal

License

Description

Portal is an AI code converter for all! Portal can port code from one programming language to another using CodeLLaMA.

Features

  • Accurate code translation via CodeLLaMa and Ollama

Installation

Install via pip install portalai on Windows, pip3 install portalai on MacOS/Linux, or !pip install portalai on Jupyter Notebook.

Usage

portal myscript.py python c

The command above will translate myscript.py into C code from Python.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.