Skip to main content

An API wrapper of Jdoodle.com

Project description

pydoodle

An API wrapper of online compiler jdoodle.com written in python.

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

Example

  • Look how easy it is to use:

    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 -> Basic example on how to use!

  • example_stdIn.py -> Example on how to use stdIn (inputs).

  • example_links.py -> Example on how to use links as script.

Misc

  • Star this repo if you're using this wrapper 😄
  • Head over to jdoodle to get clientId and clientSecret.
  • Read the FAQs of the API here.

Facing any Issue?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydoodle-1.1.3.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

pydoodle-1.1.3-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page