Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Python gradle wrapper

Project description

Python gradle wrapper


pygradle is an wrapper for gradle, the modern open source build automation system. Its goal is to call gradle command and configuration from python script.


It’s helpful to use pygradle and pytractor <> for testing ex. java web application in python.


You can create Gradle wrapper from factory

from pygradle import gradlew

gradle = GradleFactory.create(gradle_cmd='/path/to/gradle')

GradleFactory reads all tasks from gradle. Creation of gradle wrapper with factory is slow because factory is asking real gradle for tasks. Instead of that you can use:

from pygradle import gradlew

gradle = gradlew.Gradle(gradle_cmd='/path/to/gradle')


gradle.add_tasks('package:build', 'package2:build').parallel().execute()

Which is quicker.

Missing Features

  • Gradle task configuration
  • Rest options
  • Finds better way to check exection status.

Project details

Download files

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

Files for pygradle, version 0.1.dev0
Filename, size File type Python version Upload date Hashes
Filename, size pygradle-0.1.dev0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page