Main > Free Download Search >

Free python text processing software for linux

python text processing

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 6333
Python Web Objects 1.3

Python Web Objects 1.3


Python Web Objects is a dynamic page generation system that allows the developer to embed Python code inside HTML. more>>
Python Web Objects is a dynamic page generation system that allows the developer to embed Python code inside HTML. It is similar in function to what JSP is to Java. ts a module that runs under mod_python and the Apache webserver. It is designed to offer a good balance between a providing a clean way to integrate design content from code, while doing so as fast as possible.

Download the latest version, then read the documentation. If youre into antiques, you can always browse the archives, but theres no reason to use an old version.

To install PWO, first decompress the tarball you downloaded.
$ gunzip pwo-0.XX.tar.gz
$ tar xvf pwo-0.XX.tar

Then, copy the pwo.py module into some location in your PYTHONPATH. The proper location is usually /usr/local/lib/python2.x/site-packages/
$ cp pwo-0.XX/pwo.py /usr/local/lib/python2.2/site-packages/

PWO should now be ready to use.

To configure a directory to make PWO pages, you first need to make sure that the directory is visible on the web. Ask your friendly Apache sysadmin if you dont know what this means. In this document, the path youll be keeping your .pwo files in is called /path/to/pwodir/, and its corresponding URL is http://yourserver/url/to/pwodir/.
Let Apache and mod_python know that the pwo.py will be handling requests to .pwo files in that directory. Do this by adding a few lines to our entry in your httpd.conf file.


AddHandler python-program .pwo
PythonHandler pwo
PythonDebug On



The PythonDebug directive is optional, but you will most likely want it enabled while you are developing. It will make exceptions print tracebacks to the browser in plain-text format. For security reasons, you should comment it out on production systems.
Now a file /path/to/pwodir/some_file.pwo will generate its page at http://yourserver/url/to/pwodir/some_file.pwo. Try copying a simple one of the included samples, like hello.pwo, to this directory to test your installation.
If youve never used PWO before, learn the syntax, and/or check out some sample pages.
<<less
Download (0.017MB)
Added: 2006-06-23 License: BSD License Price:
1218 downloads
Python Regular Expression Builder 0.1.6

Python Regular Expression Builder 0.1.6


Python Regular Expression Builder is a wxPython GUI to the re python module. more>>
Python Regular Expression Builder is a wxPython GUI to the re python module; it will speed up the development of Python regular expression (similar to PCRE).
The GUI is simple and features 3 parts:
- A text box where the text to be analyzed is displayed
- A text box where the regular expression to be applied is displayed
- A tree control where the results are displayed
When one of the two textboxes change the regex is compiled and applied. Errors in the regex are shown in a statusbar.
Pyreb ships with a simple XMLRPC server that can be used to control pyreb from an external application. It must be started using the
Tools/Start XMLRPC Server
menu item. The XMLRPC server understands 4 methods:
- Pyreb.setText(Txt)
- Pyreb.getText()
- Pyreb.setRegex(Txt)
- Pyreb.getRegex()
The first two get/set the text in the uppermost section; the last two get/set the regex in the medium section. Once the text/regex is set the match is recalculated and shown, as it would happen in interactive usage.
A sample session:
>>> import xmlrpclib
>>> a = xmlrpclib.ServerProxy("http://localhost:17787")
>>> a.system.listMethods()
[Pyreb.getRegex, Pyreb.getText, Pyreb.setRegex, Pyreb.setText, system.listMethods, system.methodHelp, system.methodSignature]
>>> a.Pyreb.setText("abc")
setText
>>> a.Pyreb.getText()
abc
>>> a.Pyreb.setRegex(a?(bc){1,})
setRegex
These commands set the text abc in the "Text to analyze" edit box, the regex in the "Regex to apply" edit box and recomputes the match, shown in the lower "Results" tree.
<<less
Download (0.018MB)
Added: 2006-12-11 License: GPL (GNU General Public License) Price:
619 downloads
Python XHTML 0.4.1

Python XHTML 0.4.1


Python XHTML is a simple Python module for the generation of valid XHTML. more>>
Python XHTML is a simple Python module for the generation of valid XHTML.

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

<<less
Download (0.032MB)
Added: 2007-07-19 License: GPL (GNU General Public License) Price:
827 downloads
3D Python OpenGL Chess Game 1.0

3D Python OpenGL Chess Game 1.0


3D Python OpenGL Chess Game project is a 3D chess game in Python with OpenGL. more>>
3D Python OpenGL Chess Game project is a 3D chess game in Python with OpenGL.

3D Python OpenGL Chess Game is a normal chess game that has no computer player (yet). You can play against a friend on your PC.

<<less
Download (0.013MB)
Added: 2007-01-11 License: GPL (GNU General Public License) Price:
1021 downloads
Thousand Parsec Python Text client 0.0.4

Thousand Parsec Python Text client 0.0.4


Thousand Parsec is a framework for turn based space empire building games. more>>
Thousand Parsec Python Text client works with any computer which has Python and the python network library installed. This client can only be checked out of CVS at the moment.

Thousand Parsec is a framework for turn based space empire building games.

Some examples of games which Thousand Parsec draws ideas from are, Stars!, VGA Planets, Master of Orion and Galactic Civilizations. These games are often called 4 Xs from the main phases found in the games, eXplore, eXpand, eXploit and eXterminate. If you havent heard of them, other games which are a bit similar include, Civilisation, Heros of Might and Magic and Starcraft.

Thousand Parsec includes everything you need to play any of the currently running games,
set up your own game using already designed games, and building your own space empire building game.

<<less
Download (0.010MB)
Added: 2006-12-18 License: GPL (GNU General Public License) Price:
1040 downloads
Python milter 0.8.7

Python milter 0.8.7


The milter module for Python provides a python interface to Sendmails libmilter that exploits all its features. more>>
Python milter module provides a python interface to Sendmails libmilter that exploits all its features. Milters can run on the same machine as sendmail, or another machine.
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.
<<less
Download (0.10MB)
Added: 2007-01-04 License: GPL (GNU General Public License) Price:
1024 downloads
Python OpenID 1.1.1

Python OpenID 1.1.1


Python OpenID is a set of Python packages that support use of the OpenID decentralized identity system. more>>
Python OpenID is a set of Python packages that support use of the OpenID decentralized identity system in your applications.
Python OpenID can be used to enable single sign-on for your Web sites or for running an OpenID server. Example code is supplied and a variety of storage back-ends are supported.
Main features:
- Refined and easy-to-use API.
- Extensive documentation.
- Many storage implemetations including file-based, SQL, and memcached.
- Simple examples to help you get started.
- Licensed under the LGPL.
Enhancements:
- This release includes support for Yadis discovery of OpenID servers and OpenID extensions.
<<less
Download (0.21MB)
Added: 2006-05-27 License: GPL (GNU General Public License) Price:
1248 downloads
Python Kye 0.9.3

Python Kye 0.9.3


Python Kye is a puzzle game which takes ideas from Sokoban and the genre of falling-rocks puzzle games. more>>
Kye is a puzzle game which takes ideas from Sokoban and the genre of falling-rocks puzzle games. However, it includes a wider range of objects, allowing a larger variety of puzzles to be constructed.
Python Kye is a clone of the original, shareware, Kye for Windows, and is compatible with the large number of existing extra levels designed for the Windows version of Kye.
This is a clone of the original Kye, but it is a good one. I have done my best to make it as authentic to the original game as possible (and when I say my best, people who have seen PrBoom will know I take this seriously).
It mimics the original, including some of the unusual/buggy things which occur in the original game. It should be compatible with all levels for v1.0 and v2.0 of the original Windows version of Kye. Let me know if you find a level which seem not to work right.
The only respect in which it is not fully like the original is that it is slightly more predictable. In the original, timing-sensitive mechanisms in levels would sometimes break for no reason; I think the original used two separate timer objects to control the faster and slower objects, and these would sometimes drift apart.
My version does not do this; but this effect was so marginal that I doubt any levels exist which depend on it.
And, unlike Kye for Windows v2, there is no level editor in this version. But you can always edit them with a text editor ? half of the existing extra levels were made this way.
Enhancements:
- Wall auto-rounding in the editor was fixed.
- The .desktop files in the RPM were fixed.
- Code cleanups were done.
<<less
Download (0.075MB)
Added: 2007-02-11 License: GPL (GNU General Public License) Price:
987 downloads
Python chess module 1.0.2a

Python chess module 1.0.2a


Python chess module project is a Python chess move adjudicator module. more>>
Python chess module project is a Python chess move adjudicator module.
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.
<<less
Download (0.026MB)
Added: 2006-11-24 License: GPL (GNU General Public License) Price:
1068 downloads
Simple Python Distributed Indexing 0.9.17

Simple Python Distributed Indexing 0.9.17


SPyDI Is a powerful engine to create distributed full text indexing systems and distributed search engines. more>>
SPyDI Is a powerful engine to create distributed full text indexing systems and distributed search engines.
Simple Python Distributed Indexing library supports harvesting, crawling (pull mehtods), and push methods (via a Web interface or SPyRO Web services).
It supports boolean and vector Information retrieval models. It has few dependencies, and comes with its own HTTP server and HTML embedded pages language (called pyew and wey pages), and session manager.
It can use the SMTP of the Python library. It supports replacing the default modules with some better modules (Apache, exim, etc).
Enhancements:
- Monarca updates to support SPyROs new HTTP protocol management.
- Some bugfixes in pyew pages.
- General code cleanup.
<<less
Download (0.66MB)
Added: 2006-10-10 License: GPL (GNU General Public License) Price:
1109 downloads
Python-SIP 4.7

Python-SIP 4.7


Python-SIP is a tool to generate Python bindings from C++ code. more>>
One of the features of Python that makes it so powerful is the ability to take existing libraries, written in C or C++, and make them available as Python extension modules. Such extension modules are often called bindings for the library.
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.
<<less
Download (0.38MB)
Added: 2007-07-31 License: Python License Price:
830 downloads
Spyce - Python Server Pages 2.1.3

Spyce - Python Server Pages 2.1.3


Spyce - Python Server Pages is a Python-based dynamic HTML server engine. more>>
SPYCE is a server-side language that supports simple and efficient Python-based dynamic HTML generation, otherwise called Python Server Pages (PSP).

Those who are familiar with JSP, PHP, or ASP and like Python, should have a look at Spyce. Its modular design makes it very flexible and extensible. Spyce - Python Server Pages can also be used as a command-line utility for static text pre-processing or as a web-server proxy.

The supported adapters are:

* Fast CGI:The default Spyce integration with Apache is acheived via FastCGI, a CGI-like interface that is relatively fast, because it does not incur the large process startup overhead on each request.

* mod_python: If you really must have the fastest Spyce implementation (see the performance numbers), it is currently through an Apache module called mod_python. Spyce has been tested with mod_python version 2.7.6 (and version 3.0.3 with apache 2.0.37). You can try to find some mod_python rpms here, but in general one must compile mod_python from sources. The reason for this is because mod_python links with the Python library it finds on your system at compile time. Thus, even if you have the correct Python version installed on your system, mod_python will be using the Python library version on the system where it was compiled. Also, note that mod_python (or rather Apache) needs a Python that has been compiled without threading, so you may need to recompile Python as well for this reason. The process is not very difficult (just the usual: ./configure; make; make install dance), but hopefully someone will suggest a better route in time. In any case, make sure you can first get mod_python running on your system, if that is that is your chosen Apache integration route.

* Web server: Another fast alternative is to serve Spyce files via a proxy. This involves running Spyce in web-server mode, and configuring the main web server to forward the appropriate requests. The built-in Spyce web server can also be used to serve requests directly, but this is highly discouraged for production environments.

* CGI: Failing these alternatives you can always process requests via regular CGI, but this alternative is the slowest option and is intended primarily for those who do not have much control over their web environments.

* Command line: Lastly, one can use Spyce as a command-line tool for pre-processing Spyce pages and creating static HTML files.

<<less
Download (0.44MB)
Added: 2006-11-18 License: GPL (GNU General Public License) Price:
1073 downloads
python-gastables 0.1

python-gastables 0.1


python-gastables includes Python modules for compressible gas flow calculations. more>>
python-gastables includes Python modules for compressible gas flow calculations.

The project includes Python modules for isentropic relations, normal shock relations, oblique shock relations, Fanno flow, isothermal flow, Rayleigh flow, and Prandtl Meyer functions.
<<less
Download (0.016MB)
Added: 2007-04-06 License: GPL (GNU General Public License) Price:
931 downloads
Python in Scheme 0.1

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 is a scheme library that allows you to run Python code within Scheme.

Python in Scheme project uses the Python/C API to embed a Python interpreter.
<<less
Download (0.002MB)
Added: 2007-01-18 License: GPL (GNU General Public License) Price:
1013 downloads
python-money 0.1

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:

  1. Offers testability and reusability, reducing code duplication and reducing the risk of defects occurring in the code
  2. Defines a currency class and a money class
  3. Uses Python's Decimal type exclusively to avoid floating point precision errors
  4. The design of the module is based on the Money enterprise design pattern
  5. Contains Django helper classes
<<less
Added: 2008-05-06 License: GPL Price: FREE
12 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5