{"id":15629015,"url":"https://github.com/pwwang/pyppl_annotate","last_synced_at":"2025-03-29T18:14:09.611Z","repository":{"id":76855217,"uuid":"230344426","full_name":"pwwang/pyppl_annotate","owner":"pwwang","description":"Adding long description/annotations for PyPPL processes.","archived":false,"fork":false,"pushed_at":"2020-01-17T17:16:57.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T19:13:11.242Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pwwang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-12-27T00:11:59.000Z","updated_at":"2021-09-09T22:12:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"255e8c0a-614e-4d29-a877-91c066cad9af","html_url":"https://github.com/pwwang/pyppl_annotate","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwwang%2Fpyppl_annotate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwwang%2Fpyppl_annotate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwwang%2Fpyppl_annotate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwwang%2Fpyppl_annotate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwwang","download_url":"https://codeload.github.com/pwwang/pyppl_annotate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246223323,"owners_count":20743167,"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-03T10:25:20.280Z","updated_at":"2025-03-29T18:14:09.592Z","avatar_url":"https://github.com/pwwang.png","language":"Python","readme":"# pyppl_annotate\n\nAdding long description/annotation for PyPPL processes.\n\n## Installation\n```shell\npip install pyppl_annotate\n```\n\n## Usage\n\n```python\np = Proc(\n\tconfig = {\n\t\t'annotate': \"\"\"\n\t\t\tAn awesome process\n\t\t\t@input:\n\t\t\t\tinfile: The input file\n\t\t\t@output:\n\t\t\t\toutfile: The output file\n\t\t\t@config:\n\t\t\t\treport_template: The report template file\n\t\t\t@custome_section:\n\t\t\t\tblah\n\t\t\t\"\"\",\n\t\t'report_template': '/path/to/report_template'}\n\tinput = 'infile:file',\n\toutput = 'outfile:file:output.txt',\n\targs = {'a': 1}\n)\n\np.config.annotate.description == 'An awesome process\\n'\np.config.annotate.input = {\n\t'infile': {'type': 'file', 'desc': 'The input file\\n', 'default': ''}}\np.config.annotate.output = {\n\t'outfile': {'type': 'file', 'desc': 'The output file\\n', 'default': 'output.txt'}}\n}\np.config.annotate.args = {\n\t'a': {'type': 'int', 'desc': '', 'default': 1}\n}\np.config.annotate.config = {\n\t'report_template': {'type': 'str', 'desc': 'The report template file\\n',\n\t'default': '/path/to/report_template'}\n}\np.config.annotate.section('nonexist') is None\np.config.annotate.section('custome_section') == 'blan\\n'\np.config.annotate.section('custome_section',\n\tformatter = lambda value, proc: proc.id + ':' + value) == 'p: blan\\n'\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwwang%2Fpyppl_annotate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwwang%2Fpyppl_annotate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwwang%2Fpyppl_annotate/lists"}