This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A python interface for decompressing Boldi-Vigna graphs

Project Description

This library implements a decoder for a Boldi-Vigna graph structure, a highly compressed means of storing web-graphs. The library is written in pure C. It includes a Python interface, and a means to implement multi-threaded graph algorithms.

Features

  • In-memory and on-disk graph storage
  • Sequential iteration over graph edges
  • Parallel iteration over graph edges
  • random access to graph edges

Installation

1.1 Install with pip:

pip install pylibbvg

1.2 Uninstall:

pip uninstall pylibbvg

2.1. Compile from the source code(Cython is assumed to have installed):

python setup.py build_ext --inplace

2.2. To clean the library:

python setup.py clean

Synopsis

To use the library in Python code:

import bvg
G = bvg.BVGraph('wb-cs.stanford', 0) # sequential scan
print 'nodes = ' + str(G.nverts)
print 'edges = ' + str(G.nedges)
edges_and_degrees = G.edges_and_degrees()
for (src, dst, degree) in edges_and_degrees:
    print 'node ' + str(src) + ' has degree ' + str(degree)
    print 'edge: ' + str(src) + ' -> ' + str(dst)

License

GPL version 2.

Copyright by David F. Gleich, 2007-2014

Release History

Release History

This version
History Node

2.0.25

History Node

2.0.24

History Node

2.0.23

History Node

2.0.22

History Node

2.0.21

History Node

2.0.20

History Node

2.0.19.5

History Node

2.0.19.4

History Node

2.0.19.3

History Node

2.0.19.2

History Node

2.0.19.1

History Node

2.0.19

History Node

2.0.18.8

History Node

2.0.18.7

History Node

2.0.18.6

History Node

2.0.18.5

History Node

2.0.18.4

History Node

2.0.18.3

History Node

2.0.18.2

History Node

2.0.18.1

History Node

2.0.18

History Node

2.0.17

History Node

2.0.16

History Node

2.0.15

History Node

2.0.14

History Node

2.0.13

History Node

2.0.12

History Node

2.0.11

History Node

2.0.10

History Node

2.0.9

History Node

2.0.8

History Node

2.0.7

History Node

2.0.6

History Node

2.0.5

History Node

2.0.4

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pylibbvg-2.0.25.tar.gz (148.3 kB) Copy SHA256 Checksum SHA256 Source Aug 5, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting