Skip to main content

SG-t-SNE-Π wrapper for Python

Project description

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

Project details


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.6.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.6-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.6-cp314-cp314t-macosx_15_0_arm64.whl (867.8 kB view details)

Uploaded CPython 3.14tmacOS 15.0+ ARM64

sgtsnepi-0.6-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.6-cp314-cp314-macosx_15_0_arm64.whl (864.1 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

sgtsnepi-0.6-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.6-cp313-cp313-macosx_15_0_arm64.whl (863.8 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

sgtsnepi-0.6-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.6-cp312-cp312-macosx_15_0_arm64.whl (863.8 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

sgtsnepi-0.6-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.6-cp311-cp311-macosx_15_0_arm64.whl (863.3 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

sgtsnepi-0.6-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.6-cp310-cp310-macosx_15_0_arm64.whl (862.0 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

sgtsnepi-0.6-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.6-cp39-cp39-macosx_15_0_arm64.whl (862.1 kB view details)

Uploaded CPython 3.9macOS 15.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for sgtsnepi-0.6.tar.gz
Algorithm Hash digest
SHA256 adb6dd2992ea2b04553b40da822f30d7ebd1b7612eca392bb584c81ef36c298d
MD5 ce127902607ac117844f07d717d5f09e
BLAKE2b-256 f76de144fee6fba769fed473224ab0f3a9500b79b39e193a4c4a3f4f90458ecd

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6.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.6-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 4c31d432aae3399bbd39e29ee899b5ccf868a7a351e32eb09e0cb7f4ca6c817c
MD5 97a6e5ea8acade105446c12fe6a65e89
BLAKE2b-256 3b4b6fa22d2231b890ee03432f0428f183949740b5a5b04c77fd9030eabc3ceb

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-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.6-cp314-cp314t-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp314-cp314t-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e2a9a8fadc206147bf1126ed84343a34a04708510f8d37f3dbc40a8bbfe1f495
MD5 4c9e1d8fcc88f43eb1c2f71e4d78da87
BLAKE2b-256 beb7c1f786637c570089f328a0afeff4ad01a365882f825fcbfdb14555aae971

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-cp314-cp314t-macosx_15_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.6-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 130a763021e6ee8e9e17bcf81efa814e5cb18398a5e476dc8b6e977a846336fd
MD5 da7d12f79325eeb9178c3eb08f0240ae
BLAKE2b-256 5c21eccb2b171e2d8a8c19ea3bee1d1a2273c3cb917b3280c730b386666e1067

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-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.6-cp314-cp314-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bc3d46ff337f41934c1cb56082f4951ce78262bfa6e67678927d5287cdf7d1fe
MD5 72c8f2384a3dd7d61775c48b75b56248
BLAKE2b-256 bcd6c6151851e8b5af4a165eb7ab9b349d3121124cf4028eaad02af4ae0257a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-cp314-cp314-macosx_15_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.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 38bf757c4d430151f48d73eeef3b39ff14a3b807eea00f1319c61e25485e69e4
MD5 918834babf16285032d35cf70bd2d105
BLAKE2b-256 cd5ad1d7d8edaf5547bbd9cf541784e29150fd38d99b74192d5199a8c4c51d68

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-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.6-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 91e569f1543e8ada83bfe1184db6dfba455eac9050c324f743f81897eaab7e93
MD5 4894faca8e10a631cde02d5d419c2a89
BLAKE2b-256 7acffd2f4995e2507164924f6ad3ef095db302fbdbfa620a60b7dcafebfc539e

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-cp313-cp313-macosx_15_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.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 69b444d12ac2dfeb0665b7bcb92fce75429a5e319b7093e580fd5a35b701d323
MD5 fca142593072d25f2e5814b92e1c54bc
BLAKE2b-256 e16d8093e551cffbd4bc4ce8249c62b8ed3f8f20f954c2c4b7078867d3923d02

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-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.6-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 59c26c492ba7da429bb2544b2fc0561b8f6be84570f090620d0564a20217f9b3
MD5 29d53ed96867a851f6d89cad2ef03181
BLAKE2b-256 f9d8ec1e97f38ebd00308e2d25acda255c174aeecadc7c5b95cea4982a021032

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-cp312-cp312-macosx_15_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.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 aa9d07ea4273306244bf532d138785dc4eaa22f3011a837bc200cb680f2722b6
MD5 d9510081f3f05402a59b91da40f3aa54
BLAKE2b-256 f26437e5b60ee487ad9382d3ead92463aea13d286a494f7e84a3e2445ed73e2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-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.6-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7c6e71b7c27a7dec48d5d83feb77b301c5acca99a82cd4d0943b005c50e557da
MD5 5e7810633b8db8e1174e17badd2bde1f
BLAKE2b-256 b5c73722cb7f467cf4c6f5c29397e20a7c381fd5909fd0fae2d7b425291c7c53

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-cp311-cp311-macosx_15_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.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 f0ede9aff2d0290459816461e8fb02ef97d6dad89a98fd9a4173d613b2d4b609
MD5 33ddc44f00438f080c037581dd31fdbb
BLAKE2b-256 cce9baf73a94cec4822ebc9f45f3a3bec6c993d1a578aac698ffcc323c2975e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-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.6-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6d7c4ab60c094159d9a3965e230e985779a98beba3b01a578cb54a318b598e53
MD5 f31e21ddecd75c6805c6374f10f7b210
BLAKE2b-256 8aaa59a66198ec38edd68198333feaac98e16a6c27fc145e664d8754ed7c1abd

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-cp310-cp310-macosx_15_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.6-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 4d34fa451ecf2c00493c23888038c11b2c3d1133a21981a24e4f2d095f467c39
MD5 8b227c21fbc702d61b106d7024361a34
BLAKE2b-256 b30699726875b660d03e8a31e58450da17ee3cdd6c7df1dbe7d266757813afdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-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.6-cp39-cp39-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.6-cp39-cp39-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ca28450dfb217c30a0abcd603c42b002398e0028917f67f1f53cfced7b7a1238
MD5 0e3914475bc49211065524eefd457358
BLAKE2b-256 012733c1882cdb9a0bbe00dc0aee0ffd85d25279f5113385f2ca143bd599ea1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.6-cp39-cp39-macosx_15_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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page