{ "info": { "author": "Team WayScript", "author_email": "founders@wayscript.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Communications", "Topic :: Database", "Topic :: Office/Business", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "# [\"WayScript\"](https://wayscript.com) Python SDK\n\n[![PyPI version](https://img.shields.io/pypi/v/wayscript.svg?color=blue)](https://pypi.python.org/pypi/wayscript/) [![CircleCI Status](https://circleci.com/gh/wayscript/wayscript-python/tree/master.svg?style=shield)](https://circleci.com/gh/wayscript/wayscript-python/tree/master)\n\n### A new way to build software.\n\n* WayScript gives you flexible building blocks to seamlessly integrate, automate and host tools in the cloud. Unlock new potential with drag and drop programming.\n\n* Instantly connect to hundreds of datasets including GitHub, Twitter, databases, ecommerce data, or build your own integration. WayScript can read data from Excel, Google Sheets, and an evergrowing list of third-party APIs.\n\n* Seamlessly migrate to the cloud: Generate interfaces, instantly share, and run via event-based triggering. \n\n## Installation\n\n```sh\npip install wayscript\n```\n\n## Basic Usage\n\n1. Get the API Key from your WayScript user profile page\n\n2. Run your WayScript programs from your Python code:\n\n```python\nfrom wayscript import WayScript\n\napi_key = 'YOUR_API_KEY'\nwayscript = WayScript( api_key )\n\n# Run a program by id\nprogram_id = 1234\nwayscript.run_program( program_id )\n\n# Pass variables to a program (optional)\nvariables = [ 'one', 'two', 'three' ]\nwayscript.run_program( program_id, variables = variables )\n\n# Run a specific function within your program (optional)\nfunction = 'My Function'\nwayscript.run_program( program_id, variables = variables, function = function )\n\n# Run a program asynchronously (optional)\nwayscript.run_program( program_id, run_async = True )\nwayscript.run_program( program_id, variables = variables, function = function, run_async = True )\n\n# Get the response from the server\nresponse = wayscript.run_program( program_id )\n```\n\n\u2b50 In order to run a program using the WayScript Python API, you must first add an active [Webhook Trigger](https://wayscript.com/documentation/trigger/webhook_trigger) to that program.\n\n### Running a specific function\n\n- The function you specify MUST have an active [Webhook Trigger](https://wayscript.com/documentation/trigger/webhook_trigger).\n- If you do not specify a function name in your request and your program has ***one*** function with a Webhook Trigger, the function with the Webhook Trigger will run.\n- If you do not specify a function name in your request and your program has ***multiple*** functions with Webhook Triggers, you will be asked to specify which function you would like to run.\n\n## Run a WayScript program from command line\n```sh\nWS_API_KEY=\"YOUR_API_KEY\"\nPROGRAM_ID=1234\nARGUMENT=\"whatever\"\nFUNCTION=\"My Function\"\n\npython -c \"from wayscript import WayScript; WayScript('$WS_API_KEY').run_program($PROGRAM_ID, '$ARGUMENT', '$FUNCTION')\"\n```\n\nIf you don't want to use Python on the command line, you can use `curl`. (See the WayScript [REST API documentation](https://wayscript.com/documentation/apis/rest_api).)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wayscript/wayscript-python", "keywords": "wayscript,productivity,software,superpowers,scripts,cloud,tools,backend,visual,low-code,modules,trigger", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "wayscript", "package_url": "https://pypi.org/project/wayscript/", "platform": "", "project_url": "https://pypi.org/project/wayscript/", "project_urls": { "Homepage": "https://github.com/wayscript/wayscript-python" }, "release_url": "https://pypi.org/project/wayscript/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "WayScript gives you flexible building blocks to seamlessly integrate, automate and host tools in the cloud.", "version": "0.0.3" }, "last_serial": 5477144, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "8f4d2ae2837dee5e863da1a3fcdec961", "sha256": "c967fa513de49f6d970c26d28b2e05216417ddc0dd3344239545e7a47d8ac2d6" }, "downloads": -1, "filename": "wayscript-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8f4d2ae2837dee5e863da1a3fcdec961", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3213, "upload_time": "2019-04-17T21:59:39", "url": "https://files.pythonhosted.org/packages/f4/1c/96d9f939fe3c1ae05f2fcf7bad9cd8ea2e1eff6e08f4cdcaddbe0432d813/wayscript-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "02c56435e01e09eb96cf29eb5ef89903", "sha256": "6c1ba17d0c3ba0470c64fafcbe544ee45694d28107c057a63e6dd4edfec6abff" }, "downloads": -1, "filename": "wayscript-0.0.2.tar.gz", "has_sig": false, "md5_digest": "02c56435e01e09eb96cf29eb5ef89903", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3926, "upload_time": "2019-07-01T22:16:27", "url": "https://files.pythonhosted.org/packages/08/c5/ec624d4637f41854a813b07ade2f9b9f89f9908e1f7484f951da5902a48a/wayscript-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "010be0a99f1511bfcdf982b8cde135e1", "sha256": "6603d2ab29188acd31c0ba2b45b653e10e73059917f260ab6abe57e3634b3e6e" }, "downloads": -1, "filename": "wayscript-0.0.3.tar.gz", "has_sig": false, "md5_digest": "010be0a99f1511bfcdf982b8cde135e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3941, "upload_time": "2019-07-02T14:44:11", "url": "https://files.pythonhosted.org/packages/c6/63/c9f23b816ea7c002204b89ab522434e52fa0018fcf47ca974c0a50d434b6/wayscript-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "010be0a99f1511bfcdf982b8cde135e1", "sha256": "6603d2ab29188acd31c0ba2b45b653e10e73059917f260ab6abe57e3634b3e6e" }, "downloads": -1, "filename": "wayscript-0.0.3.tar.gz", "has_sig": false, "md5_digest": "010be0a99f1511bfcdf982b8cde135e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3941, "upload_time": "2019-07-02T14:44:11", "url": "https://files.pythonhosted.org/packages/c6/63/c9f23b816ea7c002204b89ab522434e52fa0018fcf47ca974c0a50d434b6/wayscript-0.0.3.tar.gz" } ] }