ANN: pynetwork 2.25

B

bearophileHUGS

Pynetwork is a graph library, my first SourceForge project:

http://sourceforge.net/projects/pynetwork/

It included tests, some demo, some premilinary docs, and some images.
You can see some screenshoots on the SourceForge page for them.
I know about 5-6 other graph libraries for Python, one even in C++
(Boost).

This library is quite fast, and it can be imported with:
import graph
I've designed it inspired by the sets.py standard module, but here
there isn't a frozengraph because I think it's not much useful.
Inside the docstrings there are many definitions that can be used as a
graph theory glossary.

Surely there are some things to be fixed, I'm still improving it.
Beside the demos, I can add a kind of tutorial, and few more classical
algorithms.

Comments, suggestions, bug fixes, collaborations, etc., are surely
appreciated.

I don't know if Python will ever have a graph data structure in the
collections standard library, but I've tried by best so far :)

Bear hugs,
Bearophile
(Remove HUGS from my address if you want to email me)
 
B

bearophileHUGS

Kay Schluehr>What is wrong with the other librarys that they can't be
approved?<

I presume there are so many kinds of graphs, that one data structure
doesn't fit all... On the other hand, I think that trying to design a
too much general data structure can have some drawbacks. I've tried a
compromise, something fast that can be used in many situations.


saddle>I can't understand why name a graph library 'nework' :)

I've used the PyNewtwork name for the project because PyGraph name is
already used, and in graph theory my structure is called "network" (a
digraph with weighted edges):
http://en.wikipedia.org/wiki/Network_(mathematics)

Bye,
Bearophile
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,144
Latest member
KetoBaseReviews
Top