Skip to main content

TGLib is an open-source temporal graph library focusing on temporal distance and centrality computations, and other local and global temporal graph statistics.

Project description

Introduction to TGLib

TGLib is an open-source temporal graph library focusing on temporal distance and centrality computations, and other local and global temporal graph statistics.

TGLib-Python is a pre-compiled, pre-built version of TGLib 1.5 which can be installed as a simple Python package. No examples have been packaged with TGLib-Python, please get them from the official tglib repo below.

All credits go to the original authors at https://gitlab.com/tgpublic/tglib.

Requirements

TGLib was compiled using:

  • Python 3.10
  • Ubuntu 22.04

Therefore, this package will not work on Windows or Mac and is untested for other Linux distros.

Installation

pip install tglib-python

Usage

Simply replace any usages of pytglib with tglib.

import tglib as tgl
tg = tgl.load_ordered_edge_list("your_tg_file.tg")

License

TGLib is released under MIT license. See LICENSE.md for details.

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

tglib_python-1.0.2.tar.gz (288.5 kB view details)

Uploaded Source

Built Distribution

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

tglib_python-1.0.2-py3-none-any.whl (288.1 kB view details)

Uploaded Python 3

File details

Details for the file tglib_python-1.0.2.tar.gz.

File metadata

  • Download URL: tglib_python-1.0.2.tar.gz
  • Upload date:
  • Size: 288.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for tglib_python-1.0.2.tar.gz
Algorithm Hash digest
SHA256 6cdf443d003926ce1bac986f2007e7c4d17945374173ff182393bf920972fcf1
MD5 9b8cdd52b947bc3dd8edad7705666ac9
BLAKE2b-256 0ca6b036a959c606adc6af9fe411695893a437e60d0c79c8ac8a9bc9ff94e71c

See more details on using hashes here.

File details

Details for the file tglib_python-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: tglib_python-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 288.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for tglib_python-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8aba2803b10e333a6983e4b4c2ae97062d42612ae39d90f9c0f9615f41d57ead
MD5 ff36d0aa2c5505a4eb6509da088fb6a0
BLAKE2b-256 bb0eef8123174984364873fae03591808ca9d1dfe605217fda93641cd3fe949a

See more details on using hashes here.

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