{"id":17070357,"url":"https://github.com/owainkenwayucl/pyconfconv","last_synced_at":"2026-05-03T21:35:21.274Z","repository":{"id":81522423,"uuid":"64682605","full_name":"owainkenwayucl/pyconfconv","owner":"owainkenwayucl","description":"Tools for reading python config files into R + bash","archived":false,"fork":false,"pushed_at":"2016-08-01T16:45:51.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-08T00:13:37.634Z","etag":null,"topics":["bash","configuration-file","conversion","python","r"],"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/owainkenwayucl.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":"2016-08-01T16:17:40.000Z","updated_at":"2017-07-21T11:04:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ae09bfb-f93d-435c-9636-f8d0677bbd02","html_url":"https://github.com/owainkenwayucl/pyconfconv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/owainkenwayucl/pyconfconv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2Fpyconfconv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2Fpyconfconv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2Fpyconfconv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2Fpyconfconv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owainkenwayucl","download_url":"https://codeload.github.com/owainkenwayucl/pyconfconv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2Fpyconfconv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32586187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bash","configuration-file","conversion","python","r"],"created_at":"2024-10-14T11:30:40.561Z","updated_at":"2026-05-03T21:35:21.255Z","avatar_url":"https://github.com/owainkenwayucl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyconfconv\nTools for reading python config files into R + bash\n\n## Usage\n\nTo install the scripts into your ~/bin directory type:\n\n```none\nmake install\n```\n\nThis is not essential, although you need to have \u003ctt\u003epyconfconv.py\u003c/tt\u003e in your $PATH for \u003ctt\u003epyconfconv.r\u003c/tt\u003e to work unmodified.\n\n## At the command-line\n\n```none\n$ pyconfconv.py -h\nusage: pyconfconv.py [-h] [-i filename] [-l language] [-s section]\n\nConvert python config files into useful formats.\n\noptional arguments:\n  -h, --help   show this help message and exit\n  -i filename  Source file.\n  -l language  Output language.\n  -s section   Section to output.\n```\n\nIf you do not select a section, then section names are used as prefixes for variable names with an underscore separating them.\n\n## From a bash script\n\nTo use the bash wrapper, simply source \u003ctt\u003epyconfconv.sh\u003c/tt\u003e with the right arguments, e.g.\n\n```bash\n#!/usr/bin/env bash\n\nsource `which pyconfconv.sh` examples/config.ini hosts\n```\n\n## From an R script\n\nTo use the R wrapper, you need to make sure that \u003ctt\u003epyconfconv.py\u003c/tt\u003e is in your $PATH and, source \u003ctt\u003epyconfconv.r\u003c/tt\u003e and then eval either \u003ctt\u003epyconfconverts(filename, section)\u003c/tt\u003e or \u003ctt\u003epyconfconvert(filename)\u003c/tt\u003e depending on whether you want to pull out a section or not.\n\n```r\n#!/usr/bin/env Rscript\n\nsource(\"pyconfconv.r\")\n\neval(parse(text=pyconfconverts(\"examples/config.ini\", \"hosts\")))\n```\n\nor for the entire file:\n\n```r\n#!/usr/bin/env Rscript\n\nsource(\"pyconfconv.r\")\n\neval(parse(text=pyconfconvert(\"examples/config.ini\")))\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowainkenwayucl%2Fpyconfconv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowainkenwayucl%2Fpyconfconv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowainkenwayucl%2Fpyconfconv/lists"}