{"id":26657232,"url":"https://github.com/akensert/molgraphx","last_synced_at":"2025-07-22T14:05:31.010Z","repository":{"id":284219483,"uuid":"954221809","full_name":"akensert/molgraphx","owner":"akensert","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-24T18:52:28.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T19:40:56.512Z","etag":null,"topics":[],"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/akensert.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2025-03-24T18:41:23.000Z","updated_at":"2025-03-24T18:52:31.000Z","dependencies_parsed_at":"2025-03-24T19:51:03.833Z","dependency_job_id":null,"html_url":"https://github.com/akensert/molgraphx","commit_stats":null,"previous_names":["akensert/molgraphx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akensert/molgraphx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akensert%2Fmolgraphx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akensert%2Fmolgraphx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akensert%2Fmolgraphx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akensert%2Fmolgraphx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akensert","download_url":"https://codeload.github.com/akensert/molgraphx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akensert%2Fmolgraphx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266507366,"owners_count":23940055,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2025-03-25T08:18:04.987Z","updated_at":"2025-07-22T14:05:30.812Z","avatar_url":"https://github.com/akensert.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/akensert/molgraphx/blob/main/docs/_static/molgraphx-logo.png\" alt=\"molgraphx-logo\"\u003e\n\nA Minimalistic **Graph Neural Network** (GNN) package for **Molecular Machine Learning**.\n\n\u003e [!NOTE]  \n\u003e Unfinished, in progress.\n\n## Highlights\n- Compatible with **Keras 3**\n- Simplified API\n- Fast featurization\n- Modular graph **layers**\n- Serializable graph **featurizers** and **models**\n- Flexible **GraphTensor**\n\n\n## Examples\n\n```python\nimport keras\nfrom molgraphx import features\nfrom molgraphx import featurizers \nfrom molgraphx import layers \nfrom molgraphx import models\n\nfeaturizer = featurizers.MolFeaturizer()\n\ngraph = featurizer([('C(C(=O)O)N', 1.5), ('C1C[C@H](NC1)C(=O)O', 2.5)])\n\nmodel = models.GraphModel.from_layers([\n    layers.Input(graph.spec),\n    layers.GraphProjection(units=128),\n    layers.GraphTransformer(units=128, heads=8),\n    layers.GraphTransformer(units=128, heads=8),\n    layers.GraphTransformer(units=128, heads=8),\n    layers.GraphTransformer(units=128, heads=8),\n    layers.Readout('mean'),\n    keras.layers.Dense(units=1024, activation='relu'),\n    keras.layers.Dense(units=1),\n])\n\npreds = model.predict(graph)\n\nmodel.save('/tmp/model.keras')\nloaded_model = keras.models.load_model('/tmp/model.keras')\nloaded_model.summary()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakensert%2Fmolgraphx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakensert%2Fmolgraphx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakensert%2Fmolgraphx/lists"}