{"id":19979275,"url":"https://github.com/edisonleeeee/mooon","last_synced_at":"2025-05-04T04:32:45.715Z","repository":{"id":62205068,"uuid":"484303648","full_name":"EdisonLeeeee/Mooon","owner":"EdisonLeeeee","description":"Graph Data Augmentation Library for PyTorch Geometric","archived":false,"fork":false,"pushed_at":"2023-03-07T01:44:43.000Z","size":291,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-28T22:12:40.204Z","etag":null,"topics":["graph-data-augmentation","graph-neural-networks","pytorch","pytorch-geometric"],"latest_commit_sha":null,"homepage":"","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/EdisonLeeeee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-22T05:12:30.000Z","updated_at":"2024-01-12T18:29:43.000Z","dependencies_parsed_at":"2023-01-23T14:50:12.838Z","dependency_job_id":null,"html_url":"https://github.com/EdisonLeeeee/Mooon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdisonLeeeee%2FMooon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdisonLeeeee%2FMooon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdisonLeeeee%2FMooon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdisonLeeeee%2FMooon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EdisonLeeeee","download_url":"https://codeload.github.com/EdisonLeeeee/Mooon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224385196,"owners_count":17302442,"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":["graph-data-augmentation","graph-neural-networks","pytorch","pytorch-geometric"],"created_at":"2024-11-13T03:37:23.205Z","updated_at":"2024-11-13T03:37:23.885Z","avatar_url":"https://github.com/EdisonLeeeee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mooon: Graph Data Augmentation Library\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width = \"500\" height = \"135\" src=\"./imgs/mooon.png\" alt=\"banner\"/\u003e\n  \u003cbr/\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cstrong\u003e\u003c/strong\u003e\u003c/p\u003e\n\n\u003cp align=center\u003e\n  \u003ca href=\"https://mooon.readthedocs.io/en/latest/\"\u003e\n    [Documentation]\n  \u003c/a\u003e\n  |\n  \u003ca href=\"https://github.com/EdisonLeeeee/Mooon/blob/master/examples\"\u003e\n    [Examples]\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=center\u003e\n  \u003ca href=\"https://www.python.org/downloads/release/python-370/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Python-\u003e=3.7-3776AB?logo=python\" alt=\"Python\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/pytorch/pytorch\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/PyTorch-\u003e=1.8-FF6F00?logo=pytorch\" alt=\"pytorch\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/EdisonLeeeee/Mooon/blob/master/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/EdisonLeeeee/Mooon\" alt=\"license\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/mooon/\"\u003e\n    \u003cimg src=\"https://badge.fury.io/py/mooon.svg\" alt=\"pypi\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://mooon.readthedocs.io/en/latest\"\u003e\n    \u003cimg src=\"https://readthedocs.org/projects/mooon/badge/?version=latest\" alt=\"docs\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e 人有*悲欢离合*，月有*阴晴圆缺*。         ———— 苏轼《水调歌头》\n\n# Why \"Mooon\"?\n\n*Graph* with data augmentations, is like the *moon*, now dark, now full.\n\n# Quick Tour\n+ Functional API\n```python\nfrom mooon import drop_edge\n\nedge_index, edge_weight = drop_edge(edge_index, p=0.5)\nedge_index, edge_weight = drop_edge(edge_index, edge_weight, p=0.5)\n```\n+ Module Layer\n```python\nfrom mooon import DropEdge\n\ndrop_edge = DropEdge(p=0.5)\nedge_index, edge_weight = drop_edge(edge_index)\nedge_index, edge_weight = drop_edge(edge_index, edge_weight)\n```\n# 🚀 Installation\n\nPlease make sure you have installed [PyTorch](https://pytorch.org) and [PyTorch Geometric (PyG)](https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html).\n\n```bash\n# Coming soon\npip install -U mooon\n```\n\nor\n\n```bash\n# Recommended\ngit clone https://github.com/EdisonLeeeee/Mooon.git \u0026\u0026 cd Mooon\npip install -e . --verbose\n```\n\nwhere `-e` means \"editable\" mode so you don't have to reinstall every time you make changes.\n\n\n# Roadmap\n\n**Note:** this is an ongoing project, please feel free to contact me for collaboration.\n\n- [ ] Based on PyTorch\n- [ ] Support only PyG\n- [ ] High-level class and low-level functional API\n- [ ] Seamlessly integrated into existing code written by PyG\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedisonleeeee%2Fmooon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedisonleeeee%2Fmooon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedisonleeeee%2Fmooon/lists"}