This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

FunSliders is a simple GUI to manually explore the inputs of a function.

from funsliders import funsliders
def volume(x,y,z):
    return x*y*z
funsliders(volume, [('x',0,5), ('y',1,5,3), ('z',2,5,4)])

A slightly more spectacular example of funslider in action is shown in this video .

Installation

First solution, with pip:

sudo pip install funsliders

Second solution, unzip everything in a folder and go with

sudo python setup.py develop

Last solution, since it’s a very small module (less than 100 lines) just copy the file funsliders.py or its content anywhere you want to use it.

What else there is to know:

The function to explore can be any function with numerical inputs.

One can also define the slider’s properties using a dictionnary. See Matplotlib’s sliders for all supported arguments:

funsliders(volume,[ {'label': 'x', 'valmin':1, 'valmax':5},
             {'label': 'y', 'valmin':1, 'valmax':5, 'valinit':2},
             {'label': 'z', 'valmin':1 , 'valmax':5} ])

funsliders has two other arguments: - autoexec is True, the function f is executed every time the sliders are changed, using the argument values indicated by the sliders. If autoexec is False, f is only run when the user presses Enter. - If history is True, the current value of all arguments is printed to the console every time the function f is run.

Licence

I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

If this is not legally possible:

I grant any entity the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Zulko, 2013

Release History

Release History

0.0.0.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
funsliders-0.0.0.4.tar.gz (3.5 kB) Copy SHA256 Checksum SHA256 Source Dec 2, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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