Skip to content

A Python-based service that enables remote execution of Python code. Perfect for integration scenarios, this API allows applications to submit Python scripts and receive results in real time. Ideal for testing, serverless execution, and educational use.

License

Notifications You must be signed in to change notification settings

Ayushman2004/python_compilor-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python_compilor-api

Deployment

Overview

  • This Python API enables you to compile and execute Python code remotely.
  • It's designed for use in integration scenarios, allowing other applications to submit Python code and receive the execution results.

Key Features

  • RESTful API: Accepts HTTP POST requests with Python code in the request body.
  • CORS Support: Integrates flask-cors to enable cross-origin requests from different domains.
  • Vercel Deployment: Deployed on VERCEL for easy access and scalability.

Endpoint

  • URL /post

API Calling

  • Send a POST request to the /post endpoint with the Python code you want to execute in the request body (e.g., using tools like Postman, cURL, or code in another language).
  • The API accepts request in text or string format and responds in the same.

"API_CALL"

About

A Python-based service that enables remote execution of Python code. Perfect for integration scenarios, this API allows applications to submit Python scripts and receive results in real time. Ideal for testing, serverless execution, and educational use.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages