GithubHelp home page GithubHelp logo

ebraminio / python-igraph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from igraph/python-igraph

0.0 3.0 0.0 21.93 MB

Python interface for igraph

License: GNU General Public License v2.0

Makefile 0.01% Python 96.79% Shell 0.35% C 2.58% C++ 0.26%

python-igraph's Introduction

Python interface for the igraph library

igraph is a library for creating and manipulating graphs. It is intended to be as powerful (ie. fast) as possible to enable the analysis of large graphs.

This repository contains the source code to the Python interface of igraph.

You can learn more about python-igraph on our website.

Installation

$ sudo python setup.py install

See details in Installing Python Modules.

Compiling the development version

If you have downloaded the source code from Github and not PyPI, chances are that you have the latest development version, which might not be compatible with the latest release of the C core of igraph. Therefore, to install the bleeding edge version, you need to instruct the setup script to download the latest development version of the C core as well:

$ sudo python setup.py develop --c-core-url https://github.com/igraph/igraph/archive/master.tar.gz

Notes

This version of python-igraph is compatible with PyPy and is regularly tested on PyPy with tox. However, the PyPy version falls behind the CPython version in terms of performance; for instance, running all the tests takes ~5 seconds on my machine with CPython and ~15 seconds with PyPy. This can probably be attributed to the need for emulating CPython reference counting, and does not seem to be alleviated by the JIT.

There are also some subtle differences between the CPython and PyPy versions:

  • Docstrings defined in the C source code are not visible from PyPy.

  • GraphBase is hashable and iterable in PyPy but not in CPython. Since GraphBase is internal anyway, this is likely to stay this way.

python-igraph's People

Contributors

ntamas avatar gaborcsardi avatar deeenes avatar luav avatar albertoalcolea avatar horvatha avatar ebraminio avatar jankatins avatar nickeubank avatar peterscott avatar naviddianati avatar abe-winter avatar arivero avatar ariki avatar cgohlke avatar friso avatar xuhdev avatar mlissner avatar sr-murthy avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.