Proposal for Algorithms Library
I am new to Python Community but I am using Python from around 1 year and I love to do coding on Python. Now I want to introduce an idea that I think should be there in Python which is I want to start working on a *"Algorithms Library"* which would be containing all basic Algorithms in its Intial Phase and then we can include all Algorithms which are listed in Introduction to Algorithms by CLRS and further extending to all possible algorithms which should be included. Implementing this will be very good for Python as Algorithms are used everywhere and developers have to spent a lot of their time in implementing the common algorithms which will be reduced as they will then be able to use them directly importing from Python which will also increase Python user's. I had just started contributing in Open Source and had contributed in SymPy's Symbols Function but now I want to do the above stated work as a Project in "*Google Summer Of Code 2013 in Python*". I need help from Community that how should I start working on it to do this in GSOC 2013. Akshit Agarwal
Sounds like a great idea for a package on PyPI. Once it's useful and popular you can propose it for inclusion in the standard library.
From a quick google I found this: https://pypi.python.org/pypi/algorithms/0.1
Though I don't really know which algorithms would go in an "Algorithms Library". You might want to be more specific about that. Good luck, Yuval On Mon, Mar 4, 2013 at 2:06 PM, Akshit Agarwal <akshit.jiit@gmail.com>wrote:
I am new to Python Community but I am using Python from around 1 year and I love to do coding on Python.
Now I want to introduce an idea that I think should be there in Python which is I want to start working on a *"Algorithms Library"* which would be containing all basic Algorithms in its Intial Phase and then we can include all Algorithms which are listed in Introduction to Algorithms by CLRS and further extending to all possible algorithms which should be included.
Implementing this will be very good for Python as Algorithms are used everywhere and developers have to spent a lot of their time in implementing the common algorithms which will be reduced as they will then be able to use them directly importing from Python which will also increase Python user's.
I had just started contributing in Open Source and had contributed in SymPy's Symbols Function but now I want to do the above stated work as a Project in "*Google Summer Of Code 2013 in Python*".
I need help from Community that how should I start working on it to do this in GSOC 2013.
Akshit Agarwal
_______________________________________________ Python-ideas mailing list Python-ideas@python.org http://mail.python.org/mailman/listinfo/python-ideas
On 3/4/2013 7:06 AM, Akshit Agarwal wrote:
I am new to Python Community but I am using Python from around 1 year and I love to do coding on Python.
So do I.
Now I want to introduce an idea that I think should be there in Python which is I want to start working on a *"Algorithms Library"* which would be containing all basic Algorithms in its Intial Phase and then we can
There is no agreed-on set of 'basic algorithms'. Anyway, Python already includes most basic algorithms either built-in or in the stdlib. And the implementation may be *better* than found in any book. An example is timsort, available both and list.sorted and sorted(iterable). hash() has a carefully designed hash algorithm that now takes into account denial-of-service attaches. Python dicts are sophisticated hash tables. The itertools module has basic algorithms for iterables, including .product and .combinations. Beyond this, there are thousands of third-party packages that are nothing but more and more algorithms.
include all Algorithms which are listed in Introduction to Algorithms by CLRS and further extending to all possible algorithms which should be included.
There is no finite set of 'possible algorithms'. Every function is an algorithm, or if you prefer, implements an algorithm. A typical algorithms text has a grab-bag of algorithms selected for particular didactic purposes. They usually do not form a coherent module or package. Python versions of the algorithms in a particular popular book that does not use Python might be a useful package to put on PyPI, but I would be careful about copyright and intellectual property issues.
Implementing this will be very good for Python as Algorithms are used everywhere and developers have to spent a lot of their time in implementing the common algorithms
Do you have any particular examples in mind? -- Terry Jan Reedy
participants (3)
-
Akshit Agarwal
-
Terry Reedy
-
Yuval Greenfield