Temporal Graph Analysis with TGX
This repository contains the code for the paper "Temporal Graph Analysis with TGX" (WSDM 2024, Demo Track).
TGX overview:
- TGX supports all datasets from TGB and Poursafaei et al. 2022 as well as any custom dataset in
.csvformat. - TGX provides numerous temporal graph visualization plots and statistics out of the box.
Dependecies
TGX implementation works with python >= 3.9 and can be installed as follows.
-
Set up virtual environment (conda should work as well).
python -m venv tgx_env/ source tgx_env/bin/activate -
Upgrade pip (Optional)
pip install --upgrade pip -
Install external packages
pip install -r requirements.txt -
Install local dependencies under root directory
/TGX.pip install -e . -
[Aternative] Install TGX from
PyPi:pip install py-tgx -
[optional] Install
mkdocsdependencies to serve the documentation locally.pip install mkdocs-glightbox
For tutorials on how to use TGX to generate visualizations and compute statistics for temporal graphs, see docs/tutorials/data_viz_stats.ipynb
Citation
If TGX is useful for your work, please consider citing it:
@article{shirzadkhani2024temporal,
title={Temporal Graph Analysis with TGX},
author={Shirzadkhani, Razieh and Huang, Shenyang and Kooshafar, Elahe and Rabbany, Reihaneh and Poursafaei, Farimah},
journal={arXiv preprint arXiv:2402.03651},
year={2024}
}
Metadata
Release files for py-tgx 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py-tgx-0.4.0.tar.gz | 23.1 kB | Without provenance | Details for py-tgx-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_tgx-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for py_tgx-0.4.0-py3-none-any.whl |
Total release size: 50.5 kB
Release files / py-tgx-0.4.0.tar.gz
| Download URL | py-tgx-0.4.0.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a31f92b78b1eade1a832741f8d8335201feeeaa8149df03e4983d76d8456df1f
|
|
BLAKE2b-256 checksum How to use checksums |
c00fa45181589aa7a0e3a0ebfb73b14a71611aa2462f69117342600086a958e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2+computecanada importlib_metadata/7.0.1+computecanada pkginfo/1.8.2+computecanada requests/2.31.0+computecanada requests-toolbelt/1.0.0+computecanada tqdm/4.66.2 CPython/3.11.5
|
Release files / py_tgx-0.4.0-py3-none-any.whl
| Download URL | py_tgx-0.4.0-py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
240019992344edcc88c12198882fcb217b57c783e5ca7dcbff25d66ff2290ed8
|
|
BLAKE2b-256 checksum How to use checksums |
e486c1000cdf8efb21dd354898a466bd75f77f26f8e6cff410cb82658573bd37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2+computecanada importlib_metadata/7.0.1+computecanada pkginfo/1.8.2+computecanada requests/2.31.0+computecanada requests-toolbelt/1.0.0+computecanada tqdm/4.66.2 CPython/3.11.5
|
Security for py-tgx 0.4.0
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.