Main > Free Download Search >

Free text processing in python software for linux

text processing in python

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 6362
Dive Into Python

Dive Into Python


Dive Into Python is a free Python tutorial, written by Mark Pilgrim. more>>
Dive Into Python is a free Python tutorial, written by Mark Pilgrim.

Dive Into Python book lives at http://diveintopython.org/. If youre reading it somewhere else, you may not have the latest version.

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in Appendix G, GNU Free Documentation License.

The example programs in this book are free software; you can redistribute and/or modify them under the terms of the Python license as published by the Python Software Foundation. A copy of the license is included in Appendix H, Python license.
<<less
Download (MB)
Added: 2006-05-25 License: Freeware Price:
1252 downloads
The amaroK bindings for Python 0.1.0

The amaroK bindings for Python 0.1.0


The amaroK bindings for Python is a fairly complete amaroK remote control class. more>>
The amaroK bindings for Python is a fairly complete amaroK remote control class. It is extremely useful for amaroK scripts and other applications. Basically, you can remote control amaroK by calling methods from an amaroKProxy instance.

In addition, it implements the Observer/Observable pattern so you can deal with events in an object-oriented, loosely coupled fashion. Even better, you can call an amaroKProxy instances collection.getSong(filename) method to get a Song object, with track, artist, album name, and elegant "Artist - Track name" strings.

Nearly all DCOP functions for communication with amaroK are implemented.

It will use KDE bindings DCOP module if available, otherwise it will default to the command-line DCOP dcop command, through python-commandsplus. If using KDE bindings, a slave process is spawned, and IPC is used to marshal and unmarshal function calls, so as to not contaminate your applications sys.modules with KDEs Python modules. This all happens automatically in the background.

To use it, you import the module in your script and instantiate an amaroKProxy instance, then call your instances startMonitoring() method, which will start reading from standard input, monitoring for amaroKs events. You can then sleep(1) until your instances .isAlive() method returns False (which means amaroK is now gone.

amaroKProxy is an Observable class, and so are its members:

- player
- contextBrowser

This means that you can implement Observer objects or Threads in your amaroK script, and have them be notified of amaroK events, instead of having to read standard input and act accordingly (plus error-prone exceptional condition handling).

<<less
Download (0.033MB)
Added: 2005-12-29 License: GPL (GNU General Public License) Price:
1395 downloads
Extended attributes for Python 0.1.3

Extended attributes for Python 0.1.3


Extended attributes for Python is a Python module created to manipulate extended attributes in filesystems that support them. more>>
Extended attributes for Python is a Python module that can manipulate extended attributes in filesystems that support them.

<<less
Download (0.012MB)
Added: 2005-12-03 License: GPL (GNU General Public License) Price:
1420 downloads
Webware for Python 0.9.4

Webware for Python 0.9.4


Webware for Python project is a suite of Python packages and tools for developing object-oriented, web-based applications. more>>
Webware for Python project is a suite of Python packages and tools for developing object-oriented, web-based applications.
The suite uses well known design patterns and includes a fast Application Server, Servlets, Python Server Pages (PSP), Object-Relational Mapping, Task Scheduling, Session Management, and many other features. Webware is very modular and easily extended.
Webware for Python is well proven and platform-independent. It is compatible with multiple web servers, database servers and operating systems.
Enhancements:
- It contains some fixes and improvements of WebKit, and it adds some more configuration options that have been requested.
<<less
Download (0.93MB)
Added: 2007-07-08 License: GPL (GNU General Public License) Price:
840 downloads
Extended Python Debugger 1.22

Extended Python Debugger 1.22


Extended Python Debugger is a (slightly) more complete debugger for Python than the stock pdb.py debugger. more>>
Extended Python Debugger is a complete debugger for Python than the stock pdb.py debugger.

It supports a "restart" command and stack traces that show fewer ?s and give better information for exec statements.

Stepping/nexting skips over method/function "defs". It tries to follow gdbs command set unless there is good reason not to.

<<less
Download (0.094MB)
Added: 2007-04-16 License: Python License Price:
923 downloads
delicious python 0.3.3

delicious python 0.3.3


delicious python lets you access the Web service of del.icio.us via its API through Python. more>>
delicious python lets you access the Web service of del.icio.us via its API through Python. It uses only the standard Python library an is written in same language.

Installation instructions:
download and unzip
run as root from unzipped directory
python setup.py install
run python and load library with
import pydelicious

<<less
Download (0.12MB)
Added: 2006-06-22 License: GPL (GNU General Public License) Price:
1222 downloads
Text::MacroScript 1.38

Text::MacroScript 1.38


Text::MacroScript is a macro pre-processor with embedded perl capability. more>>
Text::MacroScript is a macro pre-processor with embedded perl capability.

SYNOPSIS

use Text::MacroScript ;

# new() for macro processing

my $Macro = Text::MacroScript->new ;
while( ) {
print $Macro->expand( $_ ) if $_ ;
}

# Canonical use (the filename improves error messages):
my $Macro = Text::MacroScript->new ;
while( ) {
print $Macro->expand( $_, $ARGV ) if $_ ;
}

# new() for embedded macro processing

my $Macro = Text::MacroScript->new( -embedded => 1 ) ;
# Delimiters default to
# or
my $Macro = Text::MacroScript->new( -opendelim => [[, -closedelim => ]] ) ;
while( ) {
print $Macro->expand_delimited( $_, $ARGV ) if $_ ;
}

# Create a macro object and create initial macros/scripts from the file(s)
# given:
my $Macro = Text::MacroScript->new(
-file => [ local.macro, ~/.macro/global.macro ]
) ;

# Create a macro object and create initial macros/scripts from the
# definition(s) given:
my $Macro = Text::MacroScript->new(
-macro => [
[ MAX_INT => 32767 ],
],
-script => [
[ DHM2S =>
[
my $s = (#0*24*60*60)+(#1*60*60)+(#2*60) ;
"#0 days, #1 hrs, #2 mins = $s secs"
],
],
-variable => [ *MARKER* => 0 ],
) ;

# We may of course use any combination of the options.

my $Macro = Text::MacroScript->new( -comment => 1 ) ; # Create the %%[] macro.

# define()

$Macro->define( -macro, $macroname, $macrobody ) ;

$Macro->define( -script, $scriptname, $scriptbody ) ;

$Macro->define( -variable, $variablename, $variablebody ) ;

# undefine()

$Macro->undefine( -macro, $macroname ) ;

$Macro->undefine( -script, $scriptname ) ;

$Macro->undefine( -variable, $variablename ) ;

# undefine_all()

$Macro->undefine( -macro ) ;

$Macro->undefine( -script ) ;

$Macro->undefine( -variable ) ;

# list()

@macros = $Macro->list( -macro ) ;
@macros = $Macro->list( -macro, -namesonly ) ;

@scripts = $Macro->list( -script ) ;
@scripts = $Macro->list( -script, -namesonly ) ;

@variables = $Macro->list( -variable ) ;
@variables = $Macro->list( -variable, -namesonly ) ;

# load_file() - always treats the contents as within delimiters if we are
# doing embedded processing.

$Macro->load_file( $filename ) ;

# expand_file() - calls expand_embedded() if we are doing embedded
# processing otherwise calls expand().

$Macro->expand_file( $filename ) ;
@expanded = $Macro->expand_file( $filename ) ;


# expand()

$expanded = $Macro->expand( $unexpanded ) ;
$expanded = $Macro->expand( $unexpanded, $filename ) ;

# expand_embedded()

$expanded = $Macro->expand_embedded( $unexpanded ) ;
$expanded = $Macro->expand_embedded( $unexpanded, $filename ) ;

This bundle also includes the macro and macrodir scripts which allows us to expand macros without having to use/understand Text::MacroScript.pm, although you will have to learn the handful of macro commands available and which are documented here and in macro. macro provides more documentation on the embedded approach.

The macroutil.pl library supplied provides some functions which you may choose to use in HTML work for example.

<<less
Download (0.036MB)
Added: 2007-05-31 License: Perl Artistic License Price:
876 downloads
Dee-Python 0.12

Dee-Python 0.12


Dee-Python is an implementation of a truly relational database language with Python. more>>
Dee-Python project is an implementation of a truly relational database language with Python. Inspired by Date and Darwens Third Manifesto, it addresses the problems of impedance mismatch between programming languages and databases and the weakness of SQL.

Mind The Gap

Most of todays programs handle data in one way or another and often this data is stored in some kind of relational database. To read and modify this data, a program must bridge the gap between its representation and the one used by the dialect of SQL that the database provides. This bridge typically comprises a database API that sends queries as text strings, often accompanied by some kind of table-to-object mapper that has to coerce data and relationships in both directions, usually with elaborate layers of abstraction in an effort to keep the two sides loosely coupled.

"Yet by obscuring the true data source these solutions end up throwing away the most compelling feature of relational databases; the ability for the data to be queried."

Microsoft, DLinq .NET Language-Integrated Query for Relational Data, May 2006.

This approach not only adds complexity and increases the need for data transformations but, most importantly, it destroys the significant advantages provided by the relational model of data. The relational model is built upon predicate logic which brings the power of formal reasoning to data: it is the only sound foundation available.
<<less
Download (0.80MB)
Added: 2007-05-29 License: GPL (GNU General Public License) Price:
883 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
Sybase module for Python 0.38

Sybase module for Python 0.38


Sybase module for Python project provides a Python interface to the Sybase relational database system. more>>
Sybase module for Python project provides a Python interface to the Sybase relational database system. The Sybase package supports all of the Python Database API, version 2.0 with extensions.
Enhancements:
- This release works with Python 2.5, Sybase 15, and 64-bit clients.
- It can also use native Python datetime types.
- The infamous bug "This routine cannot be called because another command structure has results pending."
- that appears in various cases has been corrected.
- Various bugs have been corrected.
<<less
Download (0.097MB)
Added: 2007-05-04 License: Python License Price:
547 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
Java Embedded Python 2.2

Java Embedded Python 2.2


Java Embedded Python embeds CPython in Java. more>>
Java Embedded Python embeds CPython in Java. It is safe to use in a heavily threaded environment, it is quite fast and its stability is a main feature and goal.
Main features:
- Using the native Python interpreter may mean a massive speed improvement over Java-based languages.
- Python is mature so authors neednt fear the interpreter will suddenly change widely-used features.
- Access to the high quality Python modules, both native and Python-based.
- Compilers and assorted Python tools are as mature as the language.
- Python is an ideal language for your business logic. It is easy to learn, eminently readable and generally immune to programming gotchas.
Patches, comments and other help is greatly appreciated. If you need help, post to the SourceForge mailing list or forums. Please include code snippets for the most accurate response.
<<less
Download (0.60MB)
Added: 2007-03-17 License: GPL (GNU General Public License) Price:
956 downloads
Gst-Python 0.10.6

Gst-Python 0.10.6


Gst-Python provides Python bindings for the GStreamer project. more>>
Gst-Python provides Python bindings for the GStreamer project. These bindings provide access to almost all of the GStreamer C API through an object oriented Python API.
<<less
Download (0.48MB)
Added: 2006-12-15 License: LGPL (GNU Lesser General Public License) Price:
1046 downloads
OpenOffice.org Utility Library 0.0.9 (ooolib-python)

OpenOffice.org Utility Library 0.0.9 (ooolib-python)


OpenOffice.org Utility Library, or ooolib in short, is actually more than one library module. more>>
OpenOffice.org Utility Library, or ooolib in short, is actually more than one library module. Included are a Python module (ooolib-python) and a Perl module (ooolib-perl).
The Python module is currently focused on Calc and can be used to create OpenDocument Format Calc spreadsheets.
The Perl module can be used to create simple OpenOffice.org Calc spreadsheet and Writer text documents. (Note: The files created by ooolib-perl are pre-ODF files.)
Main features:
- Ability to create OpenOffice.org Calc Documents
- Example programs that use the Python Module
<<less
Download (MB)
Added: 2007-07-01 License: LGPL (GNU Lesser General Public License) Price:
847 downloads
CORBA-Python 0.30

CORBA-Python 0.30


CORBA-Python is a package supplies the following tools : idl2py : IDL compiler to Python. more>>
CORBA-Python is a package supplies the following tools : idl2py : IDL compiler to Python.

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

<<less
Download (0.060MB)
Added: 2006-11-11 License: Perl Artistic License Price:
1080 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5