https://github.com/prince2347x/pydoodle
An API wrapper of online compiler jdoodle.com written in python.
https://github.com/prince2347x/pydoodle
api api-wrapper compiler compiler-api hacktoberfest jdoodle jdoodle-api jdoodle-api-python online-compiler python python-library wrapper
Last synced: 3 months ago
JSON representation
An API wrapper of online compiler jdoodle.com written in python.
- Host: GitHub
- URL: https://github.com/prince2347x/pydoodle
- Owner: Prince2347X
- License: mit
- Created: 2021-04-02T09:54:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-30T12:29:51.000Z (over 2 years ago)
- Last Synced: 2025-08-22T04:10:56.502Z (6 months ago)
- Topics: api, api-wrapper, compiler, compiler-api, hacktoberfest, jdoodle, jdoodle-api, jdoodle-api-python, online-compiler, python, python-library, wrapper
- Language: Python
- Homepage: https://pydoodle.readthedocs.io
- Size: 171 KB
- Stars: 18
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pydoodle:
An API wrapper of online compiler jdoodle.com written in python.
## Stats
- [](https://pypi.org/project/pydoodle)
[](https://pydoodle.readthedocs.io)

- 

- 
- 

## Features
- Easy to use.
- Over 50+ languages to compile.
- Get the credits spent information.
## How to install?
Install pydoodle by running
```
pip install pydoodle
```
### Documentation
- Documentation is hosted on [pydoodle.readthedocs.io](https://pydoodle.readthedocs.io)
### Example
- Look how easy it is to use:
```python
import pydoodle
c = pydoodle.Compiler(clientId="client-id", clientSecret="client-secret")
result = c.execute(script="print('Hello World')", language="python3")
usage = c.usage()
print(usage, result.output, sep='\n')
```
- [example.py](https://github.com/Prince2347X/pydoodle/blob/master/examples/example.py) -> Basic example on how to use!
- [example_stdIn.py](https://github.com/Prince2347X/pydoodle/blob/master/examples/example_stdIn.py) -> Example on how to use stdIn (inputs).
- [example_links.py](https://github.com/Prince2347X/pydoodle/blob/master/examples/example_links.py) -> Example on how to use links as script.
### Misc
- Star [this repo](https://github.com/Prince2347X/pydoodle/) if you're using this wrapper 😄
- Head over to [jdoodle](https://jdoodle.com/compiler-api) to get clientId and clientSecret.
- Read the FAQs of the API [here.](https://docs.jdoodle.com/compiler-api/compiler-api)
#### Facing any Issue?
- Feel free to [create an issue.](https://github.com/Prince2347X/pydoodle/issues/new)