graph-tool

Install command:
brew install graph-tool

Efficient network analysis for Python 3

https://graph-tool.skewed.de/

License: LGPL-3.0-or-later

Formula JSON API: /api/formula/graph-tool.json

Formula code: graph-tool.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sequoia
sonoma
ventura
Intel sonoma
ventura
64-bit linux

Current versions:

stable 2.79

Depends on:

boost 1.86.0 Collection of portable C++ source libraries
boost-python3 1.86.0 C++ library for C++/Python3 interoperability
cairomm@1.14 1.14.5 Vector graphics library with cross-device output support
cgal 6.0.1 Computational Geometry Algorithms Library
freetype 2.13.3 Software library to render fonts
gmp 6.3.0 GNU multiple precision arithmetic library
google-sparsehash 2.0.4 Extremely memory-efficient hash_map implementation
gtk+3 3.24.43 Toolkit for creating graphical user interfaces
numpy 2.1.3 Package for scientific computing with Python
pillow 11.0.0 Friendly PIL fork (Python Imaging Library)
py3cairo 1.27.0 Python 3 bindings for the Cairo graphics library
pygobject3 3.50.0 GNOME Python bindings (based on GObject Introspection)
python@3.12 3.12.7 Interpreted, interactive, object-oriented programming language
qhull 2020.2 Computes convex hulls in n dimensions
scipy 1.14.1 Software for mathematics, science, and engineering
zstd 1.5.6 Zstandard is a real-time compression algorithm
cairo 1.18.2 Vector graphics library with cross-device output support
libsigc++@2 2.10.8 Callback framework for C++

Depends on when building from source:

ninja 1.12.1 Small build system for use with gyp or CMake
pkgconf 2.3.0 Package compiler and linker metadata toolkit

Requires: macOS >= 10.14

Only the main library is linked to avoid contaminating the shared site-packages.
Graph drawing and other features that require extra Python packages may be used
by adding the following formula-specific site-packages to your PYTHONPATH:
    $HOMEBREW_PREFIX/opt/graph-tool/libexec/lib/python3.12/site-packages

Analytics:

Installs (30 days)
graph-tool 305
graph-tool --HEAD 1
Installs on Request (30 days)
graph-tool 305
graph-tool --HEAD 1
Build Errors (30 days)
graph-tool 5
Installs (90 days)
graph-tool 819
graph-tool --HEAD 4
Installs on Request (90 days)
graph-tool 819
graph-tool --HEAD 4
Installs (365 days)
graph-tool 4,251
graph-tool --HEAD 9
Installs on Request (365 days)
graph-tool 4,251
graph-tool --HEAD 9
Fork me on GitHub