Metadata-Version: 2.1
Name: codexec
Version: 0.1.4
Summary: compiles and executes code files written in c, cpp, java, python, javascript
Author-email: prajesh <prajesh.eleven118@gmail.com>
Maintainer-email: prajesh <prajesh.eleven118@gmail.com>
License: MIT license
Project-URL: bugs, https://github.com/pr4j3sh/codexec/issues
Project-URL: changelog, https://github.com/pr4j3sh/codexec/blob/master/changelog.md
Project-URL: homepage, https://github.com/pr4j3sh/codexec
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS.rst
Requires-Dist: typer
Provides-Extra: dev
Requires-Dist: coverage ; extra == 'dev'
Requires-Dist: mypy ; extra == 'dev'
Requires-Dist: pytest ; extra == 'dev'
Requires-Dist: ruff ; extra == 'dev'

================
codexec
================

codexec is a Python package that allows you to execute code written in various programming languages
(C, C++, Java, Python, and JavaScript) by making API calls to a server. The package takes code files
and optional input files, executes the code, and returns the output.

Features
========

- Execute code in multiple languages: C, C++, Java, Python, and JavaScript.
- Simple command-line interface (CLI) for executing code files.
- Supports optional input files for code that requires input.
- Easy integration with environment variables for configuration.

.. Installation
.. ============
..
.. You can install codexec by running the following command::
..
..     pip install codexec
..
.. Usage
.. =====
..
.. To execute a code file, run the following command::
..
..     codexec run path_to_code_file
..
.. For example::
..
..     codexec run main.py
..
.. If your code requires input, you can also provide an input file::
..
..     codexec run main.py --input input.txt
..
.. Configuration
.. =============
..
.. Set up your `.env` file with the following variable::
..
..     CODE_ENGINE_URL=https://your-api-url
..
.. This URL is used to make API calls to execute the code.

