Home >> Computers >> Programming >> Languages >> Python >> Modules


  Directories
       

  Cryptography
Databases and Persistence
Distributed Computing
Graphics
  GUI
Math and Calculations
Network
Scientific
  Text Processing
WWW
XML



Within computing, a module occurs as software system take a breath that a placed of (usually cohesive) subprograms and data structures. Modules promote encapsulation (i personally.e. information hiding) through a separation between the interface and the implementation.

A module interface expresses a elements that come provided & mandatory per module. A elements defined in the interface come seeable to more modules. A implementation contains a working code that corresponds to the elements declared in the interface.

Modules come units that may be compiled individually. This makes the babies recyclable & allows multiple actors to operate in different modules at the same time.

Differences between classes and modules are a as punishment:

Classes may be instantiated to produce objects, Classes might inherit behavior and information from either an additional class, Polymorphism allows relationships between class instances to vary at redo-instance, when relations between modules come electrostatic.

Similarities between classes and modules are a ensuing:

Each may be utilized to hide abstraction from either public see. Each potty form the hierarchy of modules/classs.

Languages that explicitly trend lines a module conception include Ada, D, F, Fortran, Haskell, ML, Modula-2, and Python.

Module Interconnection Languages (MILs)

Module Interconnection Languages (MILs) provide formal grammar constructs for deciding the various module interconnection specifications expected to assemble a complete computer software. MILs enable a separation between programming-withinside-a-microscopic & programming-in-a-big. Cryptography the module is programming in the microscopic, when assembling the body by owning the assist of a MIL is programming in the prominent. An case of MIL is MIL-75.

davlib.py
Provides client-side access to a DAV server. DAV is a protocol for remote web-site authoring and management. [Open Source, Python license]

ID3.py
A simple Python module for retrieving and setting ID3 tags on MP3 compressed audio files through an object-oriented interface. [Open Source, GPL]

WConio (Windows CONsole I/O)
TurboC conio.h style console support for Python under Win32. [Public Domain]

tarfile
A pure Python module for reading and writing .tar and tar.gz files. [Open Source, BSD-like]

PyObjC
Allows developer to transparently message objective-c objects from Python.

Pexpect
A pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output. It works like Don Libes' Expect. [Open source, Python Software Foundation License]

Maurer, Dieter - Python Projects
where.py - returns information about the sequence of calls leading to the calling function in the form of a sequence of tuples (function,file,lineno), PyAudioCD for Linux, TreeWidget, PyXPath, WeakDicts - addressing CPython's problems with cyclic references, addContentTable to HTML documents, XSL-Pattern modules.

mxDateTime
Date and Time types for Python. [Open Source]

Sisyphus
A module that simplifies running Python stuff as cron jobs. [Open Source, Python license]

Universal Serial Port Python Library
A multi-platform pure-Python module to access serial ports, which currently works on Linux and Windows. [Open Source, GPL]


Computers: Programming: Libraries






© 2005 GeneralAnswers.org