Skip to main content

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

  1. Install the package:

    You can install the codexec package using pip:

    pip install codexec
    
  2. Basic Usage:

    You can run the codexec command in your terminal to execute code files.

    Example of executing a Python file:

    codexec path/to/your/code.py
    
  3. 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
    
  4. Supported Languages:

    • C (.c)
    • C++ (.cpp)
    • Java (.java)
    • Python (.py)
    • JavaScript (.js)

How it works?

Uses codehelp.in API under the hood.

credits

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)

Source distribution for codexec 0.1.10
File Size Uploaded
codexec-0.1.10.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for codexec 0.1.10
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.10 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page