{"id":17070385,"url":"https://github.com/owainkenwayucl/thomas-accounting","last_synced_at":"2026-04-13T20:31:17.189Z","repository":{"id":81522477,"uuid":"99225904","full_name":"owainkenwayucl/thomas-accounting","owner":"owainkenwayucl","description":"Scripts that GENUINELY NO-ONE ELSE SHOULD EVER USE to generate accounting info on Thomas","archived":false,"fork":false,"pushed_at":"2017-10-24T14:37:19.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T11:13:54.389Z","etag":null,"topics":["bash","dont-use-this-no-really","python3"],"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":"2017-08-03T11:33:15.000Z","updated_at":"2017-08-03T11:44:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"d6fc8216-8249-4f64-966b-877f657b4284","html_url":"https://github.com/owainkenwayucl/thomas-accounting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/owainkenwayucl/thomas-accounting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2Fthomas-accounting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2Fthomas-accounting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2Fthomas-accounting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2Fthomas-accounting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owainkenwayucl","download_url":"https://codeload.github.com/owainkenwayucl/thomas-accounting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2Fthomas-accounting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31770718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"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","dont-use-this-no-really","python3"],"created_at":"2024-10-14T11:30:58.499Z","updated_at":"2026-04-13T20:31:17.162Z","avatar_url":"https://github.com/owainkenwayucl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Thomas accounting tools\n\nBEFORE USING THESE TOOLS SERIOUSLY CONSIDER HOW YOUR LIFE HAS COME TO THIS POINT AND COME AND TALK TO ME ABOUT IT PLEASE.\n\nRegardless, these are MIT licensed.\n\nThese tools a temporary kludge until we move to SAFE.  If it's 2018 and you are still using them something has gone very wrong.\n\nThese tools only work on Thomas.\n\nThey only work if you have also installed my `fpsum` utility into your `$PATH` from here: https://github.com/owainkenwayucl/utils\n\nThey only work if you've put the very secret DB config file in the right place.\n\nCurrent tools:\n\n * `get-accounting \u003cyear\u003e \u003cmonth\u003e` - this looks at the Gold database to get the amount of credits spent in a particular month, and then at the `thomas_sgelogs` database to get the number of CPU hours used in that month and then combines the two to work out the % of usage that was paid (high priority) vs. free.\n\n * `get-institutional-accounting \u003cyear\u003e \u003cmonth\u003e` - this looks at the `thomas` database to get a list of users at each institute, at the Gold database to get the amount of credits spent by that institute in a particular month, and then at the `thomas_sgelogs` database to get the number of CPU hours used by those users in that month and then combines the two to work out the % of usage that was paid (high priority) vs. free.  It's incorrect where a user is at more than one institute.\n\n##TODO: Basically everything.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowainkenwayucl%2Fthomas-accounting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowainkenwayucl%2Fthomas-accounting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowainkenwayucl%2Fthomas-accounting/lists"}