LinkedIn's Gradle plug-in brings build automation to Python

The {py}gradle plugin can put Python and Java on the same page when it comes to software builds

LinkedIn today is releasing via open source {py}gradle, a plugin for running Python builds in the popular Gradle software build automation system.

With {py}gradle, Python and Java shops can use the same build system, said Stephen Holsapple, lead on Python development at LinkedIn. The plugin is accessible under an Apache 2 license.

LinkedIn is using the open-sourcing to gauge the community's perspectives on what it wants from {py}gradle; pull and feature requests will be accepted. The plugin currently is in a 0.3 release stage, with a 1.0 release planned in about two weeks, after feedback from the community.

Recently, Python has garnered favor from both businesses and developers, breaking the mold in which the two parties prefer different langauges. LinkedIn has been a Python user for many years, Holsapple said, with hundreds of developers now using it primarily for developing command-line tools, libraries, and web services.

The company has used {py}Gradle to augment Setuptools, the Python package management library that was previously found insufficient for LinkedIn's needs. Specifically, LinkedIn found Setuptools deficient in dependency management, integration with metadata systems, and polyglot builds, for multilingual builds. Still, a {py}gradle project looks nearly identical to a Python project using Setuptools, Linked said.

LinkedIn has been using {py}gradle for about a year. "During this time, we've successfully managed nearly a thousand products with tens to hundred of thousands of interdependencies, which prior to {py}gradle was an arduous process to manage," Holsapple said. "We find it easy to get Python developers up to speed with the {py}gradle build system by striving to keep the Gradle DSL that we use idiomatic to Python developers."

In future releases, Linked plans to further integration between Gradle and Python by adding support for the Wheels package format and multiple versions of Python.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags python

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Paul Krill

InfoWorld
Show Comments

Father’s Day Gift Guide

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Tom Sellers

MSI P65

This smart laptop was enjoyable to use and great to work on – creating content was super simple.

Lolita Wang

MSI GT76

It really doesn’t get more “gaming laptop” than this.

Jack Jeffries

MSI GS75

As the Maserati or BMW of laptops, it would fit perfectly in the hands of a professional needing firepower under the hood, sophistication and class on the surface, and gaming prowess (sports mode if you will) in between.

Taylor Carr

MSI PS63

The MSI PS63 is an amazing laptop and I would definitely consider buying one in the future.

Christopher Low

Brother RJ-4230B

This small mobile printer is exactly what I need for invoicing and other jobs such as sending fellow tradesman details or step-by-step instructions that I can easily print off from my phone or the Web.

Aysha Strobbe

Microsoft Office 365/HP Spectre x360

Microsoft Office continues to make a student’s life that little bit easier by offering reliable, easy to use, time-saving functionality, while continuing to develop new features that further enhance what is already a formidable collection of applications

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?