Skip to main content

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: 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}
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sgtsnepi-0.7.tar.gz (17.3 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sgtsnepi-0.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64

sgtsnepi-0.7-cp314-cp314t-macosx_26_0_arm64.whl (879.1 kB view details)

Uploaded CPython 3.14tmacOS 26.0+ ARM64

sgtsnepi-0.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

sgtsnepi-0.7-cp314-cp314-macosx_26_0_arm64.whl (874.7 kB view details)

Uploaded CPython 3.14macOS 26.0+ ARM64

sgtsnepi-0.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

sgtsnepi-0.7-cp313-cp313-macosx_26_0_arm64.whl (874.6 kB view details)

Uploaded CPython 3.13macOS 26.0+ ARM64

sgtsnepi-0.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

sgtsnepi-0.7-cp312-cp312-macosx_26_0_arm64.whl (874.6 kB view details)

Uploaded CPython 3.12macOS 26.0+ ARM64

sgtsnepi-0.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

sgtsnepi-0.7-cp311-cp311-macosx_26_0_arm64.whl (872.7 kB view details)

Uploaded CPython 3.11macOS 26.0+ ARM64

sgtsnepi-0.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

sgtsnepi-0.7-cp310-cp310-macosx_26_0_arm64.whl (870.9 kB view details)

Uploaded CPython 3.10macOS 26.0+ ARM64

sgtsnepi-0.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

sgtsnepi-0.7-cp39-cp39-macosx_26_0_arm64.whl (871.0 kB view details)

Uploaded CPython 3.9macOS 26.0+ ARM64

File details

Details for the file sgtsnepi-0.7.tar.gz.

File metadata

  • Download URL: sgtsnepi-0.7.tar.gz
  • Upload date:
  • Size: 17.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for sgtsnepi-0.7.tar.gz
Algorithm Hash digest
SHA256 0dc99efd6be934a466e247ceb1aa6ec73bdd2062d15dce078af546cffe7faf9c
MD5 2b674c557a2bfc11f23efa6182127a38
BLAKE2b-256 e0a28f9e5d8b1101938df1c6561a030f8f98233d07d15259acb90fa2afdf06b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7.tar.gz:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d952772abd749ebfaa4d81efdb97551a37230d0c29fe2f4c7bc35676d8604661
MD5 f0259ec4fdef5f9814c67440bd7fa0b4
BLAKE2b-256 befcb2d8f3e659cbf6d20b1886bf8dd48f4c459f6d9e7e0082b0dd593233bec2

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp314-cp314t-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp314-cp314t-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 cc755a81fd9de543ee2c871d4bbcdd766c3d82eb47ea73a2ebadae14cc4b8c27
MD5 51475957f2a0a2460ed4f3918dc11b52
BLAKE2b-256 9773ffe02913ef3363e628200926409eac0f0ea3145f606b9ed68cf8ae7f8d13

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp314-cp314t-macosx_26_0_arm64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 7f57fccc0ef85bf328cee49480b8cea48720cee975e26bc03464e57e1df37444
MD5 4df24b02ca2d86876dfd42fc1a2800f4
BLAKE2b-256 f87e08602fd47785640a81ebe65a1fe67190989b91d5b970341ee48e9c39536a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp314-cp314-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp314-cp314-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 7a85efed4b1b5e2eecc72ba0b3e93e7ad111c2221c101bed31a5d43b0830a7e1
MD5 969c99ed415d044c69e949e3bbe56239
BLAKE2b-256 3144795e636b00900b35ffeb6d76aeb3bfd89daffd60933d7bdc61219b277bcb

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp314-cp314-macosx_26_0_arm64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 633262d2b20478c600d04a5283842d83a6e937da7128aac05bccd0e308226f8e
MD5 4305e19724d1e16ea555de85b53cf189
BLAKE2b-256 e57e15cbe3aed594d16c3c84d5fb0a81b9fcef63cb19c0796bba7d5b4d0360ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp313-cp313-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp313-cp313-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 6be89d8a7cc324e93b714d5c6d353611a1ba24d36ad23d77383305f7b635b1d1
MD5 20acacc2db8071db08dcc2a69796901a
BLAKE2b-256 2a65898ba46609c68141cfd211ed530800712d9204ee3ae3960258098438e35a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp313-cp313-macosx_26_0_arm64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 42a0f4aaddca4022095a8ed3f1c955a12736c49b26c9aad9e3b12893ba659547
MD5 d3e22cb3f566e9a72ba5a877119b55e0
BLAKE2b-256 772269fa6ff895fed068175f8850ee2b5b2dbe1072e4eae772ad0702510258ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp312-cp312-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp312-cp312-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 74ac6386c88d5dd67b9337d6d23d177f06f3c0d06cdf05ed0ec2e0d7bc964627
MD5 c87d7c75cce0b5fe615d1502138deef8
BLAKE2b-256 6fdb49515ac9844b937f5c8e4bfeb9cc19f2cbe1fe938c9a273ab839fd103df8

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp312-cp312-macosx_26_0_arm64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 0676f9bb68139f34890fa07d7d08a640a66ef9160a38e25601ce2ebd1d4311cb
MD5 013af592af76ea3201f6a39d91061c02
BLAKE2b-256 ee9525ab5c6312f4be4be9b9ae1f79729ce7bc1b3d01a24860bc1b73579dc9bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp311-cp311-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp311-cp311-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 5d24676b95b15cbc4cdc1ad8183428cdfaa211b7ac3372eaf1ce75df3dd18c3a
MD5 6fab7c8ab6837f98e5f50b215e714d48
BLAKE2b-256 2425289c3992e8b1d9efbbd13575f065935330f8c4b97219ce0a89b2da9a6c47

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp311-cp311-macosx_26_0_arm64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 6c3801854d0897afa2daeac516dc169896a9937f5a604ea1215e8882336e3842
MD5 431e4f930e08c29329a4dd1a8294857c
BLAKE2b-256 4d47159c5777e67088bfaea22b2698a7cc3f6db16e40e0181e5b5375d6d6edd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp310-cp310-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp310-cp310-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 826a1343fdfca87234012879ccb8a659610927cb3c535007aa376499b2dab89f
MD5 0b7a6d04f847c92ab91bc9747c4b7ebf
BLAKE2b-256 cd46868f0cb3fc337886d4f2c06a3b05f15c4c5a3b61fba54d8fad34c6f4cde7

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp310-cp310-macosx_26_0_arm64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 c47d080706232f7d77a2c2e020ff69ec251c252dfce46ef23aab2dd68bfec9c6
MD5 72831c1005ac3bed34093612dee0f13b
BLAKE2b-256 b749db79864752fd1cedb60906a731542112dbcdbf44e83afec3815a23c48b34

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.7-cp39-cp39-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.7-cp39-cp39-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 a3c6925b3791dffd07b1e9f073e055f26e8d517851d25e4a34320319f9705e96
MD5 9fc62fef0a8ea6f70db03edb0efa2190
BLAKE2b-256 21a03e0fe992c2dded966069c9f8d7cb066fb3cb45ebdeb42256f6a529ebdaab

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.7-cp39-cp39-macosx_26_0_arm64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.7 This release

15 files

0.6

15 files

0.5.1

14 files

0.5.0

21 files

0.4.4

12 files

0.4.3

10 files

0.4.1

10 files

0.4

10 files

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