{"id":21241139,"url":"https://github.com/ccsi-toolset/turb_client","last_synced_at":"2026-03-03T19:01:23.605Z","repository":{"id":46900919,"uuid":"93774663","full_name":"CCSI-Toolset/turb_client","owner":"CCSI-Toolset","description":"Tools for communicating with the Turbine Gateway","archived":false,"fork":false,"pushed_at":"2023-09-11T19:13:54.000Z","size":10353,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-06-20T13:12:20.643Z","etag":null,"topics":["foqus"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CCSI-Toolset.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-06-08T17:23:36.000Z","updated_at":"2022-08-24T19:11:27.000Z","dependencies_parsed_at":"2023-09-26T01:44:10.423Z","dependency_job_id":null,"html_url":"https://github.com/CCSI-Toolset/turb_client","commit_stats":{"total_commits":68,"total_committers":8,"mean_commits":8.5,"dds":0.5882352941176471,"last_synced_commit":"33d60bafc69e3cc495b776c0d74d2fdbe645590e"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/CCSI-Toolset/turb_client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CCSI-Toolset%2Fturb_client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CCSI-Toolset%2Fturb_client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CCSI-Toolset%2Fturb_client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CCSI-Toolset%2Fturb_client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CCSI-Toolset","download_url":"https://codeload.github.com/CCSI-Toolset/turb_client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CCSI-Toolset%2Fturb_client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264652623,"owners_count":23644291,"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":["foqus"],"created_at":"2024-11-21T00:54:48.765Z","updated_at":"2026-03-03T19:01:18.583Z","avatar_url":"https://github.com/CCSI-Toolset.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://keeling.lbl.gov/buildStatus/icon?job=turb_client)](https://keeling.lbl.gov/job/turb_client)\n\n# turb_client\nPython package and utility scripts for communicating with the Turbine Science Gateway Web API, consisting of five Web JSON RESTful interfaces for Application, Session, Job, Simulation, and Consumer.\n\n## List of Web Resources\n*  Application:  The applications available on the Gateway, this should be a subset of foqus, AspenPlus/ACM, gPROMS, Excel.\n*  Simulation:  In a \"simulation\" description the application is specified (eg. foqus), a set of staged input files are provided and a list of expected staged output files.  A \"simulation\" description must specify one of the application from above.\n*  Job: A unit of work, which specifies a simulation, and potentially several input parameters.\n*  Session:   A session is a group of jobs that can be submitted, executed, and monitored together.\n*  Consumer:  The consumer resource provides descriptions of all the workers available to process job requests.\n\n## Installation\n\nIf you are installing for multiple users and have root privledges, use this command:\n\n    % python setup.py install\n\nTo install for only the current user (no root):\n\n    % python setup.py install --user\n\n\n## Running turbine scripts\n\n1.  Copy Template configuration file\n    \n        * Localhost deployment copy 'config.txt.in' to 'config.txt'\n        * Gateway Configuration Template copy 'config_turbine.acceleratecarboncapture.txt.in' to 'config.txt'\n\n2. Section Authentication:  Modify with your credentials.\n\n       [Authentication]\n       username=test1\n       password=qwerty\n\n3. Security Section:  Add or Remove the trusted certificate authorities.\n\n       [Security]\n       TrustedCertificateAuthorities=cacerts.txt \n\n     * To disable server certificate verification remove the 'Security' section\n     ** NOTE: IIS 7.5 self-signed certificates will not pass verification because the X509v3 Basic Constraints CA bit is not set to TRUE.\n\n     * option 'TrustedCertificateAuthorities' is a file containing all the trusted CA certificates.  Included in this distribution is the CA for use with 'localhost'.\n     ** NOTE: It's a good idea to change the relative path to the absolute file path.\n\n4.  Web Resource Sections (example for local deployment):\n\n        [Consumer]\n        url=https://localhost:8080/Turbine/consumer/\n        [Job]\n        url=https://localhost:8080/Turbine/job/\n        [Simulation]\n        url=https://localhost:8080/Turbine/simulation/\n        name=mea-uq-billet-1\n        [Session]\n        url=https://localhost:8080/Turbine/session/\n        [Application]\n        url=https://localhost:8080/Turbine/application/\n        \n5.  Test get the session list ( GET /Turbine/session ):\n     \n        % turbine_session_list config.txt\n        []\n\n\n## Integration Tests\n\n     1) Copy 'integration_test.cfg.in' to 'integration_test.cfg' in the test directory\n\n     % cd test/integration\n     % cp integration_test.cfg.in integration_test.cfg\n\n     2) Copy \u0026 Paste all the information from config.txt into 'integration_test.cfg'.\n     This is essentially all the URL's and the Username/Password.\n\n     3) Run WS Basic tests \n     % python suites/ws_test_suite.py\n\n     4) Run WS Simulation Basic tests \n     % python suites/simulation_test_suite.py \n\n     5) Run Application tests \n     % python suites/acm_test_suite.py\n     % python suites/aspenplus_test_suite.py\n     % python suites/excel_test_suite.py \n     \n## Extras\n\nThe 'turbine_session_graphs' script utilizes the python rpy2 module, which requires R and the ggplot2 package.  You probably don't want this.\n\n1.  install R (Mac OS, Windows, Linux)\n\n        http://cran.cnr.berkeley.edu/\n\n2. install ggplot2 \n         \n       % R\n       \u003e install.packages(\"ggplot2\")\n\n3. install rpy2 python module\n    \n       % easy_install rpy2\n\n## Development Practices\n\n* Code development will be peformed in a forked copy of the repo. Commits will not be \n  made directly to the repo. Developers will submit a pull request that is then merged\n  by another team member, if another team member is available.\n* Each pull request should contain only related modifications to a feature or bug fix.  \n* Sensitive information (secret keys, usernames etc) and configuration data \n  (e.g database host port) should not be checked in to the repo.\n* A practice of rebasing with the main repo should be used rather that merge commmits.\n\n## Authors\n\n* Josh Boverhof\n* See also the list of [contributors](https://github.com/CCSI-Toolset/turb_client/contributors) who participated in this project.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/CCSI-Toolset/turb_client/tags). \n\n## License \u0026 Copyright\n\nSee [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccsi-toolset%2Fturb_client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccsi-toolset%2Fturb_client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccsi-toolset%2Fturb_client/lists"}