Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python gradle wrapper

Project Description

Python gradle wrapper

Overview

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.

Usage

It’s helpful to use pygradle and pytractor <https://github.com/kpodl/pytractor/> for testing ex. java web application in python.

Basic

You can create Gradle wrapper from factory

from pygradle import gradlew

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

gradle.build()

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.clean()

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.
Release History

Release History

This version
History Node

0.1.dev0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pygradle-0.1.dev0.tar.gz (3.8 kB) Copy SHA256 Checksum SHA256 Source Nov 7, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting