{"id":37074090,"url":"https://github.com/dev-zero/cp2k-tools","last_synced_at":"2026-01-14T08:43:33.340Z","repository":{"id":36721689,"uuid":"41028258","full_name":"dev-zero/cp2k-tools","owner":"dev-zero","description":"DEPRECATED: Simple python scripts to somehow mangle CP2K output and generate some input","archived":false,"fork":false,"pushed_at":"2019-04-18T07:17:18.000Z","size":100,"stargazers_count":29,"open_issues_count":2,"forks_count":3,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2026-01-07T01:30:28.519Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dev-zero.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}},"created_at":"2015-08-19T10:40:48.000Z","updated_at":"2025-11-20T05:54:33.000Z","dependencies_parsed_at":"2022-08-24T22:30:46.009Z","dependency_job_id":null,"html_url":"https://github.com/dev-zero/cp2k-tools","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/dev-zero/cp2k-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-zero%2Fcp2k-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-zero%2Fcp2k-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-zero%2Fcp2k-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-zero%2Fcp2k-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-zero","download_url":"https://codeload.github.com/dev-zero/cp2k-tools/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-zero%2Fcp2k-tools/sbom","scorecard":{"id":336645,"data":{"date":"2025-08-11","repo":{"name":"github.com/dev-zero/cp2k-tools","commit":"3e31cf357af0a094bac307405e4990d688648689"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'develop'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T04:53:40.023Z","repository_id":36721689,"created_at":"2025-08-18T04:53:40.023Z","updated_at":"2025-08-18T04:53:40.023Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2026-01-14T08:43:32.657Z","updated_at":"2026-01-14T08:43:33.324Z","avatar_url":"https://github.com/dev-zero.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cp2k-tools\nSimple python scripts to somehow mangle CP2K output and generate some input\n\nThey can either be installed globally (as root) using:\n\n```bash\ngit clone https://github.com/dev-zero/cp2k-tools.git\ncd cp2k-tools\npython setup.py install\n```\n\nor for a single user:\n\n```bash\ngit clone https://github.com/dev-zero/cp2k-tools.git\ncd cp2k-tools\npython setup.py install --user\nexport PATH=\"${PATH}:${HOME}/.local/bin\"\n```\n\n... in both cases you will get the following executables:\n\n* ```extract_last_frame```\n* ```generate_inputs```\n* ```oq```\n\nor even run them directly from the repository:\n\n```bash\ngit clone https://github.com/dev-zero/cp2k-tools.git\ncd cp2k-tools\nPYTHONPATH=. python cp2k/cli.py [generate_inputs|extract_last_frame|oq] -h\n```\n\n# Available scripts\n\n```\nextract_last_frame.py [-h] [XYZINPUT] [XYZOUTPUT]\n\nExtract the last frame from a XYZ file\n\nArguments:\n    XYZINPUT                  the XYZ file to read (otherwise stdin)\n    XYZOUTPUT                 the XYZ file to write (otherwise stdout)\n\nOptions:\n    -h --help\n\n```\n\n```\ngenerate_inputs.py [-h] single TEMPLATE SNIPPET [OUTPUT] [COORDS]\ngenerate_inputs.py [-h] batch TEMPLATE SNIPPETDIR OUTPUTDIR\n\nUse the configuration in SNIPPET/SNIPPETDIR to generate cp2k input files\nbased on the template.\n\nArguments:\n    TEMPLATE                  the template to use for generating the input files\n    SNIPPET                   a single json file\n    SNIPPETDIR                a directory with json files\n    OUTPUT                    the output file (otherwise standard output)\n    COORDS                    the coordinates output file (otherwise standard output)\n    OUTPUTDIR                 where to create the project directories\n\nOptions:\n    -h --help\n```\n\n```\noq.py [-hj] [-f FILE] QUERY\n\nExtract data from cp2k output\n\nOptions:\n    -h --help\n    -f --file=FILE    cp2k output file to read [default: -]\n    -j --json         produce JSON output instead of pretty printed python objects\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-zero%2Fcp2k-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-zero%2Fcp2k-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-zero%2Fcp2k-tools/lists"}