Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Mooon: Graph Data Augmentation Library

banner

Python pytorch license

人有悲欢离合,月有阴晴圆缺。 ———— 苏轼《水调歌头》

Why "Mooon"?

Graph with data augmentations, is like the moon, now dark, now full.

Quick Tour

  • Functional API
from mooon import drop_edge

edge_index, edge_weight = drop_edge(edge_index, p=0.5)
edge_index, edge_weight = drop_edge(edge_index, edge_weight, p=0.5)
  • Module Layer
from mooon import DropEdge

drop_edge = DropEdge(p=0.5)
edge_index, edge_weight = drop_edge(edge_index)
edge_index, edge_weight = drop_edge(edge_index, edge_weight)

🚀 Installation

Please make sure you have installed PyTorch and PyTorch Geometric (PyG).

# Coming soon
pip install -U mooon

or

# Recommended
git clone https://github.com/EdisonLeeeee/Mooon.git && cd Mooon
pip install -e . --verbose

where -e means "editable" mode so you don't have to reinstall every time you make changes.

Roadmap

Note: this is an ongoing project, please feel free to contact me for collaboration.

  • Based on PyTorch
  • Support only PyG
  • High-level class and low-level functional API
  • Seamlessly integrated into existing code written by PyG

Metadata

Release files for mooon 0.0.1b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mooon 0.0.1b0
File Size Uploaded Provenance Actions
mooon-0.0.1b0.tar.gz 7.0 kB Without provenance Details for mooon-0.0.1b0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mooon 0.0.1b0
File Interpreter ABI Platform Actions
mooon-0.0.1b0-py3-none-any.whl Python 3 none any Details for mooon-0.0.1b0-py3-none-any.whl

Total release size: 14.7 kB

Release files / mooon-0.0.1b0.tar.gz

Download URL mooon-0.0.1b0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a270acc1e61633ec403ce69da8bda49796b32a5d1890da73294b895090c21d07
BLAKE2b-256 checksum
How to use checksums
a1469eb2344ea8f751efcc6eeccf7639bd2f88097d1a0b8974cbd9a6d5e66b0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / mooon-0.0.1b0-py3-none-any.whl

Download URL mooon-0.0.1b0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3ef7e80c7de4a82dac84eaf47f3665d461ca6184bae35fe04624db15115f891
BLAKE2b-256 checksum
How to use checksums
de81623e6131a3c387ecc99998532d6101821dacdf13a717658ce9f867b73e31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for mooon 0.0.1b0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page