Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Command-line interface for Button

Project Description

Button CLI

Command-line interface for Button framework.

Given the following tasks.py file:

from button import Environment, parameter
from button.tasks import types

env = Environment('myenv')

@env.task
@parameter('x', type=types.Float)
@parameter('y', type=types.Float)
def add(x, y):
    print(x + y)

You can execute add task like this:

$ button -E tasks apply add 1 2
3.0

It works under Python 2.6, 2.7, 3.3+ and Pypy (Pypy3 is not yet supported) on Linux, OSX and Windows. This ensured on each commit continiously using TravisCI (Linux & OSX) and Appveyor (Windows).

Release History

Release History

This version
History Node

0.1.0

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
button_cli-0.1.0-py2.py3-none-any.whl (8.5 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Jan 28, 2015
button-cli-0.1.0.tar.gz (7.5 kB) Copy SHA256 Checksum SHA256 Source Jan 28, 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