{"id":15898993,"url":"https://github.com/danporter/i16_script_generator","last_synced_at":"2025-04-02T19:14:25.082Z","repository":{"id":163825316,"uuid":"559813299","full_name":"DanPorter/i16_script_generator","owner":"DanPorter","description":"Python module and GUIs for automatic creation of experiment scripts.","archived":false,"fork":false,"pushed_at":"2022-11-28T09:33:55.000Z","size":158,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T09:45:37.302Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanPorter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-31T06:27:49.000Z","updated_at":"2022-10-31T06:28:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"39abb4d7-4f2e-45bb-811b-220aadfc3ed1","html_url":"https://github.com/DanPorter/i16_script_generator","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/DanPorter%2Fi16_script_generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanPorter%2Fi16_script_generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanPorter%2Fi16_script_generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanPorter%2Fi16_script_generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanPorter","download_url":"https://codeload.github.com/DanPorter/i16_script_generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246875909,"owners_count":20848049,"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-10-06T10:10:32.337Z","updated_at":"2025-04-02T19:14:25.061Z","avatar_url":"https://github.com/DanPorter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i16_script_generator\nPython module and GUIs for automatic creation of experiment scripts.\n\n### Features\nThe script editing window has the following features:\n - Script timing - analyse script and determine estimate of how long it will take.\n - Buttons to add new loops and scans\n - Scan command GUI to create and insert custom scan commands\n - Python syntax highlighting, including beamline commands\n - Auto-tab, easy-indenting, commenting etc.\n\n**Version 1.0**\n\nBy Dan Porter, PhD\nDiamond Light Source Ltd.\n2022\n\n![GUI Window](https://github.com/DanPorter/i16_script_generator/blob/master/i16_script_generator.PNG?raw=true)\n\n#### Usage:\nStart the GUI from a terminal\n```text\n$ python -m i16_script_generator\n```\nOr, start the window from a python script:\n\n```python\nfrom i16_script_generator import ScriptGenerator\n\nfilename = 'mm12345-1/temp_dep.py'\nwith open(filename) as f:\n    script = f.read()\nScriptGenerator(filename, script)\n```\n\nFor comments, queries or bugs - email [dan.porter@diamond.ac.uk](mailto:dan.porter@diamond.ac.uk)\n\n# Installation\n**Requirements:** \nPython 3+ with packages: *Numpy*.\n\nBuiltIn packages used: *sys*, *os*, *re*, *datetime*, *Tkinter*, *ttk*\n\n\nDownload latest version from [GitHub](https://github.com/DanPorter/i16_script_generator), then run the file\n```text\n$ git clone https://github.com/DanPorter/i16_script_generator.git\n$ cd i16_script_generator\n$ python -m i16_script_generator\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanporter%2Fi16_script_generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanporter%2Fi16_script_generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanporter%2Fi16_script_generator/lists"}