python html
Python XHTML 0.4.1
Python XHTML is a simple Python module for the generation of valid XHTML. more>>
ToDo:
* include tests for all methods in xhtml_test.py
* ensure that all text that is added to the document is xml safe
* include methods for added w3.org validation link buttons
* complete support for XHTML 1.1 specification
Python 2.5.1
Python is a high-level scripting language. more>>
Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems (X11, Motif, Tk, Mac, MFC). New built-in modules are easily written in C or C++. Python is also usable as an extension language for applications that need a programmable interface.
The Python implementation is portable: it runs on many brands of UNIX, on Windows, OS/2, Mac, Amiga, and many other platforms. If your favorite system isnt listed here, it may still be supported, if theres a C compiler for it.
The Python implementation is copyrighted but freely usable and distributable, even for commercial use.
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together.
Pythons simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.
Often, programmers fall in love with Python because of the increased productivity it provides. Since there is no compilation step, the edit-test-debug cycle is incredibly fast. Debugging Python programs is easy: a bug or bad input will never cause a segmentation fault. Instead, when the interpreter discovers an error, it raises an exception.
When the program doesnt catch the exception, the interpreter prints a stack trace. A source level debugger allows inspection of local and global variables, evaluation of arbitrary expressions, setting breakpoints, stepping through the code a line at a time, and so on.
The debugger is written in Python itself, testifying to Pythons introspective power. On the other hand, often the quickest way to debug a program is to add a few print statements to the source: the fast edit-test-debug cycle makes this simple approach very effective.
Python milter 0.8.7
The milter module for Python provides a python interface to Sendmails libmilter that exploits all its features. more>>
The milter can even run with a different operating system or processor than sendmail. Sendmail talks to the milter via a local or internet socket, and keeps the milter informed of events as it processes a mail connection.
At any point, the milter can cut the conversation short by telling sendmail to ACCEPT, REJECT, or DISCARD the message. After receiving a complete message from sendmail, the milter can again REJECT or DISCARD it, but it can also ACCEPT it with changes to the headers or body.
Enhancements:
- The spf module has been moved to the pyspf package.
- This will cause some confusion when upgrading, since 0.8.6 still has the module and will conflict with pyspf, whereas 0.8.7 does not have spf by itself, and will stop doing SPF if you dont install pyspf.
Python in Scheme 0.1
Python in Scheme is a scheme library that allows you to run Python code within Scheme. more>>
Python in Scheme project uses the Python/C API to embed a Python interpreter.
pythondr 0.0.1
pythondr project is a simple python library for parsing the TV-channel info at http://dr.dk. more>>
Python-SIP 4.7
Python-SIP is a tool to generate Python bindings from C++ code. more>>
SIP is a tool that makes it very easy to create Python bindings for C and C++ libraries. Python-SIP was originally developed to create PyQt, the Python bindings for the Qt toolkit, but can be used to create bindings for any C or C++ library.
SIP comprises a code generator and a Python module. The code generator processes a set of specification files and generates C or C++ code which is then compiled to create the bindings extension module. The SIP Python module provides support functions to the automatically generated code.
The specification files contains a description of the interface of the C or C++ library, i.e. the classes, methods, functions and variables. The format of a specification file is almost identical to a C or C++ header file, so much so that the easiest way of creating a specification file is to edit the corresponding header file.
SIP makes it easy to exploit existing C or C++ libraries in a productive interpretive programming environment. SIP also makes it easy to take a Python application (maybe a prototype) and selectively implement parts of the application (maybe for performance reasons) in C or C++.
Enhancements:
- This release adds support for consolidated and composite modules.
- It adds support for pickling classes and enums.
python-dime 0.1
python-dime project provides a way to parse and generate DIME messages. more>>
Direct Internet Message Encapsulation (DIME) is a binary message format that can be used to encapsulate multiple payloads into a single message.
Python chess module 1.0.2a
Python chess module project is a Python chess move adjudicator module. more>>
Python chess module does not know how to play chess, but does understand the rules enough that it can watch moves and verify that they are correct.
It features high abstraction, understands various notations (including algebraic, long algebraic, and standard algebraic notation), does disambiguation, and supports saving and loading the state of a game.
Main features:
- high abstraction
- understands various notations, including algebraic, long algebraic, and standard algebraic notation (as in PGN); does disambiguation
- supports saving and loading of the state of a game
- not a trivial move processor; understands the intracies of the game
Enhancements:
- Bug with en passant moves fixed.
pyhtmloo 0.8
pyhtmloo is a library that allows python developers to use HTML code like any other python objects. more>>
An another interesting aspect of pyhtmloo is to split the work between web page desingers and python developers. This is an another idea of split between web layout and web content.
In the same area you can also look at HTMLGen and pyweb.
Main features:
- any HTML tag is a python object
- pyhtmloo objects can be inherited to have additional methods (for example addrow for Table obect).
- simple widgets are available.
Installation:
Simply untar the the tar file and execute setup.py.
You can test the code with given widgets.
Enhancements:
- Several bugfixes and new features were implemented.
- A bug in textarea was fixed. .addrow was added to table. .render(), .setattr(), .getattr(), .setparams(), and .getparams() were added.
- Generated HTML is now XHTML compliant.
python-gastables 0.1
python-gastables includes Python modules for compressible gas flow calculations. more>>
The project includes Python modules for isentropic relations, normal shock relations, oblique shock relations, Fanno flow, isothermal flow, Rayleigh flow, and Prandtl Meyer functions.
python-money 0.1
python-money provides carefully designed basic Python primitives for working with money and currencies. more>>
python-money 0.1 provides another extremely useful utility for people who have to work a lot with currencies. It actually offers carefully designed basic Python primitives for this process.
The primary objectives of this module is to aid in the development of financial applications by increasing testability and reusability, reducing code duplication and reducing the risk of defects occurring in the code.
The module defines two basic Python classes -- a Currency class and a Money class. It also pre-defines all the world's currencies, according to the ISO 4217 standard. The classes define some basic operations for working with money, overriding Python's addition, substraction, multiplication, etc. in order to account for working with money in different currencies. They also define currency-aware comparison operators. To avoid floating point precision errors in monetary calculations, the module uses Python's Decimal type exclusively.
The design of the module is based on the Money enterprise design pattern, as described in Martin Fowler's "Patterns of Enterprise Application Architecture". This project also contains Django helper classes for easy integration with python-money.
Major Features:
- Offers testability and reusability, reducing code duplication and reducing the risk of defects occurring in the code
- Defines a currency class and a money class
- Uses Python's Decimal type exclusively to avoid floating point precision errors
- The design of the module is based on the Money enterprise design pattern
- Contains Django helper classes
Gst-Python 0.10.6
Gst-Python provides Python bindings for the GStreamer project. more>>
python-gammu 0.21
python-gammu are Python bindings for Gammu library. more>>
CORBA-Python 0.30
CORBA-Python is a package supplies the following tools : idl2py : IDL compiler to Python. more>>
idl2pyemb : IDL compiler to Python embedded with C idl2pyext : IDL compiler to Python extension with C idl2pycli : RPC-GIOP client stub generator idl2pysrv : RPC-GIOP server skeleton generator
Python-LDAP 2.3.1
Python-LDAP provides an object-oriented API to access LDAP directory servers from Python programs. more>>
Additionally the package contains modules for other LDAP-related stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 schema, etc.).