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.
Usage
-
Install the package:
You can install the
codexecpackage usingpip:pip install codexec
-
Basic Usage:
You can run the
codexeccommand in your terminal to execute code files.Example of executing a Python file:
codexec path/to/your/code.py -
With Input File:
If your code requires input, you can specify an input file:
codexec path/to/your/code.py -i path/to/input.txt
-
Supported Languages:
C(.c)C++(.cpp)Java(.java)Python(.py)JavaScript(.js)
How it works?
Uses codehelp.in API under the hood.
Metadata
Release files for codexec 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| codexec-0.1.10.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| codexec-0.1.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / codexec-0.1.10.tar.gz
| Download URL | codexec-0.1.10.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e8c117cf482f824d83bbe9d072086e3966fca1ac3d351b041291c7080fac041
|
|
BLAKE2b-256 checksum How to use checksums |
24f8588cc7ada2cfd5d7bd72606661d0b907b0028162bbd7f166ee4cf51f08a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Release files / codexec-0.1.10-py3-none-any.whl
| Download URL | codexec-0.1.10-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a3b93dbc541ff3798c6d710b1d033b444526bc3ac004d491c508add60e3deb5
|
|
BLAKE2b-256 checksum How to use checksums |
b521d75515fead604ffea8ebf925a57147e00db15d34458c2a48ef4b8a99281e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|