{"id":20340134,"url":"https://github.com/zulko/funsliders","last_synced_at":"2025-04-11T23:16:55.754Z","repository":{"id":12257145,"uuid":"14873767","full_name":"Zulko/funsliders","owner":"Zulko","description":"Graphical sliders to manually explore any function's input","archived":false,"fork":false,"pushed_at":"2013-12-02T22:31:53.000Z","size":172,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-11T23:16:49.671Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zulko.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-02T20:28:19.000Z","updated_at":"2016-12-15T07:01:28.000Z","dependencies_parsed_at":"2022-08-07T06:16:50.635Z","dependency_job_id":null,"html_url":"https://github.com/Zulko/funsliders","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zulko%2Ffunsliders","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zulko%2Ffunsliders/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zulko%2Ffunsliders/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zulko%2Ffunsliders/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zulko","download_url":"https://codeload.github.com/Zulko/funsliders/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248492885,"owners_count":21113163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T21:19:52.833Z","updated_at":"2025-04-11T23:16:55.728Z","avatar_url":"https://github.com/Zulko.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"FunSliders\n==========\n\nFunSliders is a simple GUI to manually explore the inputs of a function. ::\n    \n    from funsliders import funsliders\n    def volume(x,y,z):\n        return x*y*z\n    funsliders(volume, [('x',0,5), ('y',1,5,3), ('z',2,5,4)])\n\n.. image:: https://raw.github.com/Zulko/funsliders/master/funsliders_demo.jpeg\n\nA slightly more spectacular example of `funslider` in action is shown in `this video`_ .\n\nInstallation\n------------\n\nFirst solution, with pip: ::\n    \n    sudo pip install funsliders\n\nSecond solution, unzip everything in a folder and go with ::\n    \n    sudo python setup.py develop\n\nLast 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.\n\n\nWhat else there is to know:\n---------------------------\n\nThe function to explore can be any function with numerical inputs.\n\nOne can also define the slider's properties using a dictionnary.\nSee Matplotlib's sliders for all supported arguments: ::\n    \n    funsliders(volume,[ {'label': 'x', 'valmin':1, 'valmax':5},\n                 {'label': 'y', 'valmin':1, 'valmax':5, 'valinit':2},\n                 {'label': 'z', 'valmin':1 , 'valmax':5} ])    \n    \n`funsliders` has two other arguments:\n- `autoexec` is True, the function `f` is executed every time\nthe sliders are changed, using the argument values indicated by the\nsliders. If `autoexec` is False, `f` is only run when the user presses `Enter`.\n- If `history` is True, the current value of all arguments is printed to\nthe console every time the function `f` is run.\n\nLicence\n--------\n\nI, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.\n\nIf this is not legally possible:\n\nI grant any entity the right to use this work for any purpose, without any conditions, unless such conditions are required by law.\n\nZulko, 2013\n\n.. _`this video`: https://www.youtube.com/watch?v=z82OHpw1-Qo\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzulko%2Ffunsliders","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzulko%2Ffunsliders","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzulko%2Ffunsliders/lists"}