Components, Scripts, Codes: Python / Miscellaneous

Calculate the distance matrix 1.0

This script presents you three ways to calculate a distance matrix out of a list of n-dimensional points using scipy.

By: code.activestate.com Homepage

Freeware

Pygsl 0.9.1

Pygsl provides a python interface for the GNU scientific library (gsl).

By: Pygsl Homepage

Freeware

Solving the Metaclass Conflict 1.0

Any serious user of metaclasses has been bitten at least once by the infamous metaclass/metatype conflict.

By: code.activestate.com Homepage

Freeware

Force verbose mode for unittests in an IDE 1.0

When running unit tests, using the verbose flag often provides an extra level of protection against mistakes.

By: code.activestate.com Homepage

Freeware

Generator for sequence operations 1.0

Permutations and combinations are often required in algorithms that do a complete search of the solution space.

By: code.activestate.com Homepage

Freeware

Accessing MS exchange with webdav 1.2

If you want to talk to an MS exchange server, webdav offers a convenient way to do so.

By: code.activestate.com Homepage

Freeware

Farey Sequence 1.0

This function provides farey sequence, F(n), for any integer n.

By: code.activestate.com Homepage

Freeware

Boyer-Moore-Horspool string searching 1.0

This script implements a string searching algorithm based upon Boyer-Moore string searching, which is considered one of the most efficient string...

By: code.activestate.com Homepage

Freeware

Binary floating point summation 2.3

This script eliminates completely  rounding errors and loss of significance due to catastrophic cancellation during summation.

By: code.activestate.com Homepage

Freeware

Remote control with telnetlib 1.0

This script sends commands to one or more logins using Python's standard telnetlib module.

By: code.activestate.com Homepage

Freeware

Choose a random k-subset of {1,2, ..., n} 1.0

This script is a translation of the Fortran subroutine RANKSB.

By: code.activestate.com Homepage

Freeware

Generate the permutations of a bag 1.0

This script allows you to make permutation on a list like a set, but it could contain elements more than once.

By: code.activestate.com Homepage

Freeware

Boids Demonstration 1.0

This script demonstrates a 2D boids simulation.

By: code.activestate.com Homepage

Freeware

Expanded dictionary inversion 1.0

This script contains functions that invert different types of dictionaries with mixed data types as values.

By: code.activestate.com Homepage

Freeware

Extended great common divisor function 1.5

This script contains a function that finds out the gcd(a,b)(great common divisor of a and b) as a linear conbination of a anb b, ax...

By: code.activestate.com Homepage

Freeware

Event driven programming 1.3

Event driven programming script demonstrates how state driven programming can be done in python.

By: code.activestate.com Homepage

Freeware

Generic vs. Specific Algorithms 1.2

This script presents two approaches to generate all combination of elements from a number of sets.

By: code.activestate.com Homepage

Freeware

z_crypt 1.0

This module show a way to simple data encryption.

By: code.activestate.com Homepage

Freeware

Human readable 'random' password 1.0

This script allows you to generate a password in the form 'word' digits 'word' for example 137pace instead of a...

By: code.activestate.com Homepage

Freeware

Commafying an integer 1.0

This script contains a quick function to comma separate thousands in an integer or float.

By: code.activestate.com Homepage

Freeware