Skip to content

awesome-python/PyBGL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minifold

Overview

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

For more information, visit the wiki.

Dependencies

Minifold requires Python 3 <http://python.org/>.

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%