SG-t-SNE-Π wrapper for Python
This repository aims to provide a Python interface to
SG-t-SNE-Π, which is a high-performance
software for swift embedding of a large, sparse graph into
a d-dimensional space (d=1,2,3) on a shared-memory computer.
⚠️ Warning! This package is still a work in progress.
Installation
Prerequisites
sgtsnepi supports Linux and macOS.
Windows support is coming soon.
Installation requires Python 3.9 or higher.
Wheels are not built for all architectures as of now. If your architecture is not supported please open a relevant issue on the GitHub page.
Installing the Module
To install the package run
pip install sgtsnepi
Then in your Python code run the following to import the library:
import sgtsnepi
# [ ... ]
sgtsnepi.sgtsnepi(sparse_matrix, args)
Or to import the sgtsnepi function directly:
from sgtsnepi import sgtsnepi
# [ ... ]
sgtsnepi(sparse_matrix, args)
Running the Demo
To use the demo you should install matplotlib by running
pip install scipy matplotlib
Then from the source directory run
python tests/demo.py mm_file.mtx ndim
where mm_file.mtx is a file containing the input matrix which is in the
Matrix Market file format,
and ndim is the number of embedding dimensions.
You can find some compressed MatrixMarket files in the data/ subdirectory.
Citation
If you use this software, pleace cite the following paper:
@inproceedings{pitsianis2019sgtsnepi,
author = {Pitsianis, Nikos and Iliopoulos, Alexandros-Stavros and Floros, Dimitris and Sun, Xiaobai},
doi = {10.1109/HPEC.2019.8916505},
booktitle = {IEEE High Performance Extreme Computing Conference},
month = {11},
title = {{Spaceland Embedding of Sparse Stochastic Graphs}},
year = {2019}
}
Metadata
Release files for sgtsnepi 0.7
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 |
|---|---|---|---|---|
| sgtsnepi-0.7.tar.gz | 17.3 MB | With provenance | Details for sgtsnepi-0.7.tar.gz |
Built distributions (wheels)
Total release size: 34.2 MB
Release files / sgtsnepi-0.7.tar.gz
| Download URL | sgtsnepi-0.7.tar.gz |
|---|---|
| Size | 17.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0dc99efd6be934a466e247ceb1aa6ec73bdd2062d15dce078af546cffe7faf9c
|
|
BLAKE2b-256 checksum How to use checksums |
e0a28f9e5d8b1101938df1c6561a030f8f98233d07d15259acb90fa2afdf06b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | sgtsnepi-0.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d952772abd749ebfaa4d81efdb97551a37230d0c29fe2f4c7bc35676d8604661
|
|
BLAKE2b-256 checksum How to use checksums |
befcb2d8f3e659cbf6d20b1886bf8dd48f4c459f6d9e7e0082b0dd593233bec2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp314-cp314t-macosx_26_0_arm64.whl
| Download URL | sgtsnepi-0.7-cp314-cp314t-macosx_26_0_arm64.whl |
|---|---|
| Size | 879.1 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
cc755a81fd9de543ee2c871d4bbcdd766c3d82eb47ea73a2ebadae14cc4b8c27
|
|
BLAKE2b-256 checksum How to use checksums |
9773ffe02913ef3363e628200926409eac0f0ea3145f606b9ed68cf8ae7f8d13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | sgtsnepi-0.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7f57fccc0ef85bf328cee49480b8cea48720cee975e26bc03464e57e1df37444
|
|
BLAKE2b-256 checksum How to use checksums |
f87e08602fd47785640a81ebe65a1fe67190989b91d5b970341ee48e9c39536a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp314-cp314-macosx_26_0_arm64.whl
| Download URL | sgtsnepi-0.7-cp314-cp314-macosx_26_0_arm64.whl |
|---|---|
| Size | 874.7 kB |
| Tags | CPython 3.14 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7a85efed4b1b5e2eecc72ba0b3e93e7ad111c2221c101bed31a5d43b0830a7e1
|
|
BLAKE2b-256 checksum How to use checksums |
3144795e636b00900b35ffeb6d76aeb3bfd89daffd60933d7bdc61219b277bcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | sgtsnepi-0.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
633262d2b20478c600d04a5283842d83a6e937da7128aac05bccd0e308226f8e
|
|
BLAKE2b-256 checksum How to use checksums |
e57e15cbe3aed594d16c3c84d5fb0a81b9fcef63cb19c0796bba7d5b4d0360ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp313-cp313-macosx_26_0_arm64.whl
| Download URL | sgtsnepi-0.7-cp313-cp313-macosx_26_0_arm64.whl |
|---|---|
| Size | 874.6 kB |
| Tags | CPython 3.13 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6be89d8a7cc324e93b714d5c6d353611a1ba24d36ad23d77383305f7b635b1d1
|
|
BLAKE2b-256 checksum How to use checksums |
2a65898ba46609c68141cfd211ed530800712d9204ee3ae3960258098438e35a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | sgtsnepi-0.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
42a0f4aaddca4022095a8ed3f1c955a12736c49b26c9aad9e3b12893ba659547
|
|
BLAKE2b-256 checksum How to use checksums |
772269fa6ff895fed068175f8850ee2b5b2dbe1072e4eae772ad0702510258ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp312-cp312-macosx_26_0_arm64.whl
| Download URL | sgtsnepi-0.7-cp312-cp312-macosx_26_0_arm64.whl |
|---|---|
| Size | 874.6 kB |
| Tags | CPython 3.12 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
74ac6386c88d5dd67b9337d6d23d177f06f3c0d06cdf05ed0ec2e0d7bc964627
|
|
BLAKE2b-256 checksum How to use checksums |
6fdb49515ac9844b937f5c8e4bfeb9cc19f2cbe1fe938c9a273ab839fd103df8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | sgtsnepi-0.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0676f9bb68139f34890fa07d7d08a640a66ef9160a38e25601ce2ebd1d4311cb
|
|
BLAKE2b-256 checksum How to use checksums |
ee9525ab5c6312f4be4be9b9ae1f79729ce7bc1b3d01a24860bc1b73579dc9bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp311-cp311-macosx_26_0_arm64.whl
| Download URL | sgtsnepi-0.7-cp311-cp311-macosx_26_0_arm64.whl |
|---|---|
| Size | 872.7 kB |
| Tags | CPython 3.11 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5d24676b95b15cbc4cdc1ad8183428cdfaa211b7ac3372eaf1ce75df3dd18c3a
|
|
BLAKE2b-256 checksum How to use checksums |
2425289c3992e8b1d9efbbd13575f065935330f8c4b97219ce0a89b2da9a6c47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | sgtsnepi-0.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
6c3801854d0897afa2daeac516dc169896a9937f5a604ea1215e8882336e3842
|
|
BLAKE2b-256 checksum How to use checksums |
4d47159c5777e67088bfaea22b2698a7cc3f6db16e40e0181e5b5375d6d6edd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp310-cp310-macosx_26_0_arm64.whl
| Download URL | sgtsnepi-0.7-cp310-cp310-macosx_26_0_arm64.whl |
|---|---|
| Size | 870.9 kB |
| Tags | CPython 3.10 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
826a1343fdfca87234012879ccb8a659610927cb3c535007aa376499b2dab89f
|
|
BLAKE2b-256 checksum How to use checksums |
cd46868f0cb3fc337886d4f2c06a3b05f15c4c5a3b61fba54d8fad34c6f4cde7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | sgtsnepi-0.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c47d080706232f7d77a2c2e020ff69ec251c252dfce46ef23aab2dd68bfec9c6
|
|
BLAKE2b-256 checksum How to use checksums |
b749db79864752fd1cedb60906a731542112dbcdbf44e83afec3815a23c48b34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logRelease files / sgtsnepi-0.7-cp39-cp39-macosx_26_0_arm64.whl
| Download URL | sgtsnepi-0.7-cp39-cp39-macosx_26_0_arm64.whl |
|---|---|
| Size | 871.0 kB |
| Tags | CPython 3.9 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a3c6925b3791dffd07b1e9f073e055f26e8d517851d25e4a34320319f9705e96
|
|
BLAKE2b-256 checksum How to use checksums |
21a03e0fe992c2dded966069c9f8d7cb066fb3cb45ebdeb42256f6a529ebdaab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logSecurity for sgtsnepi 0.7
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.
Full provenance
All 15 files in this release have been uploaded with provenance metadata.
Attestation for sgtsnepi-0.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.
Transparency logA 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.