Show HN: Pykov – a tiny Python module on finite regular Markov chains
github.com
github.com
1. Separate python 2 and python 3 modules? How can I be sure that they both do the same thing?
2. You have the tarball in your source control. Why?
3. You have a 1.7k line file. Something tells me that they can be split up into smaller modules.
4. Commented out code? Why is it in there? If it's unused, remove it.
5. No lines between methods, single line between classes. Please have a look at PEP8.
6. You have that .pysparse file in source control. Why?
7. You say that Pyvok depends on Scipy and Numpy but you don't specify the dependency in your setup.py file. Anyone that installs the package from PyPI is going to have a broken package.
e.g: `list.sort()` is in-place, `sorted(list)` returns a new list.
The main reason is that mutable objects are more complex and thus harder to reason about (which leads to more bugs).
Reading the source sets a couple of alarm bells ringing -
entirely separate and independent py2k py3k versions?
entire methods just commented out?
and as latty points out wandering from established naming conventions...
I would be interested in a Python Markov chain library since I use them a lot.