Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.rst

PyBGL

Overview

PyBGL is a pure python graph library inspired from the BGL (Boost Graph Library).

For more information, visit the wiki.

Dependencies

PyBGL requires python3_.

For example, under Debian-based distribution, run:

sudo apt-get update
sudo apt-get install python3

Installation steps

From sources

  • The sources are available on git.
mkdir ~/git
cd ~/git
git clone https://github.com/nokia/pybgl.git
cd pybgl
python3 setup.py build
sudo python3 setup.py install

Testing

  1. Test scripts are provided in tests/ directory.
  2. Install python3-pytest.
  3. Run tests as follows:
cd ~/git/pybgl/tests/
pytest-3

Packaging

Install the packages needed to build .rpm and .deb packages:

  • python3-setuptools
  • python3-stdeb for .deb packages
  • rpm for .rpm packages

For example, under Debian-based distribution, run:

sudo apt-get update
sudo apt-get install python3-setuptools python3-stdeb rpm

To build .rpm package (in dist/), run:

cd ~/git/pybgl/tests/
python3 setup.py bdist_rpm

To build .deb package (in deb_dist/), run:

python3 setup.py --command-packages=stdeb.command bdist_deb

License

This project is licensed under the BSD-3-Clause license - see the LICENSE.

About

PyBGL is a python module allowing to manipulate graphs and common algorithms.

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.