{"id":30302835,"url":"https://github.com/liugaoyong/pygfnff","last_synced_at":"2026-05-17T19:35:41.547Z","repository":{"id":306366052,"uuid":"1024610969","full_name":"LiuGaoyong/PyGFNFF","owner":"LiuGaoyong","description":"Python wrapper for GFN-FF based on F2PY. https://pypi.org/project/pygfnff","archived":false,"fork":false,"pushed_at":"2025-08-15T07:00:21.000Z","size":818,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-15T08:32:18.063Z","etag":null,"topics":["ase","atomic-simulation-environment","chemistry","gfn-ff","molecule","python","single-point-energy","xtb"],"latest_commit_sha":null,"homepage":"","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LiuGaoyong.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,"zenodo":null}},"created_at":"2025-07-23T01:42:05.000Z","updated_at":"2025-08-15T07:00:24.000Z","dependencies_parsed_at":"2025-07-25T09:19:46.406Z","dependency_job_id":"96e3adbc-284e-4d8d-a597-c4bfe86190ff","html_url":"https://github.com/LiuGaoyong/PyGFNFF","commit_stats":null,"previous_names":["liugaoyong/pygfnff"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LiuGaoyong/PyGFNFF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiuGaoyong%2FPyGFNFF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiuGaoyong%2FPyGFNFF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiuGaoyong%2FPyGFNFF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiuGaoyong%2FPyGFNFF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiuGaoyong","download_url":"https://codeload.github.com/LiuGaoyong/PyGFNFF/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiuGaoyong%2FPyGFNFF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270811911,"owners_count":24650075,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ase","atomic-simulation-environment","chemistry","gfn-ff","molecule","python","single-point-energy","xtb"],"created_at":"2025-08-17T06:00:34.045Z","updated_at":"2026-05-17T19:35:41.543Z","avatar_url":"https://github.com/LiuGaoyong.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyGFNFF\n\n[![Pypi version](https://img.shields.io/pypi/v/pygfnff)](https://pypi.org/project/pygfnff/)\n[![PyPI Downloads](https://static.pepy.tech/badge/pygfnff)](https://pepy.tech/projects/pygfnff)\n\nThis is a Python version for [GFN-FF](https://github.com/pprcht/gfnff) based on F2PY.\n\n---\n\n## Usage\n\nThere is an `ase.Calculator` subclass termed `GFNFF` for non-PBC system. And a more low function called `gfnff` can be found in [the code](https://github.com/LiuGaoyong/PyGFNFF/blob/main/pygfnff/_pygfnff.py).\n\n```python\nfrom ase import Atoms\nfrom ase.build import molecule\nfrom ase.optimize import BFGS\nfrom scipy.spatial.distance import pdist\n\nfrom pygfnff import GFNFF\n\natoms = Atoms(molecule(\"CO\"), calculator=GFNFF())\nopt = BFGS(atoms, logfile=\"-\", trajectory=None)\nopt.run(fmax=0.03, steps=50)\ne = atoms.get_potential_energy()\nprint(f\"Energy: {atoms.get_potential_energy():.3f}eV\")\nprint(f\"C=O Length: {pdist(atoms.positions).item():.3f}\\u212b\")\n\n# Output:\n#       Step     Time          Energy          fmax\n# BFGS:    0 19:56:53       -9.188347        2.478131\n# BFGS:    1 19:56:53       -9.050233        7.166941\n# BFGS:    2 19:56:53       -9.215231        0.433918\n# BFGS:    3 19:56:53       -9.215990        0.070653\n# BFGS:    4 19:56:53       -9.216011        0.000889\n# Energy: -9.216eV\n# C=O Length: 1.129Å\n```\n\n\n\n### Reference\n\n1. S.Spicher, S.Grimme. Robust Atomistic Modeling of Materials, Organometallic, and Biochemical Systems (2020), DOI: https://doi.org/10.1002/anie.202004239\n2. A standalone library of the GFN-FF method. https://github.com/pprcht/gfnff/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliugaoyong%2Fpygfnff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliugaoyong%2Fpygfnff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliugaoyong%2Fpygfnff/lists"}