phdru.name / Software / Python
"The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action in a small amount of clear code -- not in reams of trivial code that bores the reader to death." -- GvR
"Python is the second best programming language in the world. But the best has yet to be invented." -- Christian Tismer.
I am publishing here Python-related software; mostly written by me. Unless otherwise noted, all software is free for any use. Please, provide a reference to my name; don't blame me for anything. Copyrighted by Oleg Broytman and PhiloSoft Design.
Some pieces of software are not so free - they are protected by GNU GPL.
All bits are packed with GNU tar+ gz or bz2.
m_Lib library and programs: Portable Python Utilities, bookmarks_db, mimedecode, m_librarian, sqlconvert.
Outdated code: extract_mime,
netscape-history,
bdftogd.
Network-related libraries and programs ... not much yet:
Python socket servers.
Some miscellaneous staff:
PyGreSQL example,
comparison of 3 Python-for-DOS interpreters.
A collection of modules I've been writing for common tasks in my programs. (You can read why the name starts with m :) | |
Download: m_lib.tar.bz2,
m_lib.defenc.tar.bz2,
m_lib.full.tar.bz2 git clone https://git.phdru.name/m_lib.git, git clone https://git.phdru.name/m_lib.defenc.git, git clone https://git.phdru.name/m_lib.full.git git clone git://git.phdru.name/m_lib.git, git clone git://git.phdru.name/m_lib.defenc.git, git clone git://git.phdru.name/m_lib.full.git Requires: nothing Recommends: nothing Suggests: nothing |
See m_lib.txt. The most interesting modules here are:
|
Bookmarks database and Internet robot - a set of programs I use to manipulate my bookmarks. Detailed description is available. | |
License: GPL Download: sources and example shell scripts git clone https://git.phdru.name/bookmarks_db.git git clone git://git.phdru.name/bookmarks_db.git Requires: m_Lib, other_Lib Recommends: aiohttp, pycurl, requests, twisted for querying pages Beautiful Soup, html5lib, lxml for parsing HTML Suggests: nothing
|
|
MIME decode - a program to decode MIME messages. Useful for multicharset mail lists archives and such. Detailed description is available. | |
Download: mimedecode.tar.bz2 git clone https://git.phdru.name/mimedecode.git git clone git://git.phdru.name/mimedecode.git Requires: m_Lib Recommends: nothing Suggests: nothing |
|
m_Librarian - this hopefully will be a collection of programs to index LibRusEc and Flibusta libraries (zipfiles from torrents, actually) and show their contents with command-line, web interface and GUI. | |
Documentation,
also available in Russian language. Download: m_librarian.tar.bz2 git clone https://git.phdru.name/m_librarian.git git clone git://git.phdru.name/m_librarian.git Requires: SQLObject, CheetahTemplate, m_Lib Recommends: nothing Suggests: nothing |
cmp.py - compare two files. remove-old-files.py - does what the name says: it removes old files. It's a portable replacement for find start_dir -type f -mtime +31 -delete .rm.py - remove files. |
|
Documentation Download: ppu.tar.bz2 git clone https://git.phdru.name/ppu.git git clone git://git.phdru.name/ppu.git Requires: nothing Recommends: nothing Suggests: nothing |
sqlconvert - a library to perform SQL conversions. It uses
sqlparse to parse SQL.
The library is in the early stage of development and currently cannot do much. The first goal is to implement mysql2sql, a script intended primarily to convert mysqldump output (especially with extended INSERT syntax) to standard SQL to load at least to PostgreSQL or SQLite. |
|
Documentation,
Download: sqlconvert.tar.bz2 git clone https://git.phdru.name/sqlconvert.git git clone git://git.phdru.name/sqlconvert.git Requires: sqlparse , SQLObject Recommends: nothing Suggests: nothing |
rgb - an example of how to use PyGreSQL (PostgreSQL<=>Python interface) | |
License: GPL Download: rgz.tgz Requires: PyGreSQL, PostgreSQL, web server Recommends: rgb.txt from X11 Suggests: nothing |
|
skype4py-patches - 3 patches for Skype4py, the most notable is a patch to prevent segfaults. | |
License: Public domain Download: skype4py-patches.tar.bz2 Requires: Skype4py Upd. The patches were incoroprated into Skype4Py. |
|
other_Lib - modules written by other people. | |
License: unknown Download: other_lib.tar.gz Requires: nothing Recommends: nothing Suggests: nothing
|
|
mCorrect - Some patches I made for standard library. Now mostly obsolete. Detailed description is available. | |
Download: mcorrect.tgz Requires: nothing Recommends: nothing Suggests: nothing
|
|
Extract MIME - template programs that show how to write tools to extract MIME attachments from incoming mail messages. Detailed description is available. | |
Download: extract_mime.tgz Requires: nothing Recommends: nothing Suggests: nothing |
|
Netscape history dump/load - a pair of programs I used to manipulate Netscape browser's history. | |
Download: netscape-history.tgz Requires: Berkeley DB 1.85 and builtin module bsddb Recommends: nothing Suggests: nothing |
|
bdftogd.py and mk_gdfonts - programs to convert BDF (XWindows) fonts to GD format. | |
Download: bdftogd.py and mk_gdfonts Requires: m_Lib Recommends: nothing Suggests: nothing |
|
My colleague Vitus Wagner maintaied a page with Cyrillic fonts, converted from fonts created by Sergey Vakulenko. Fonts tested with gd 1.2. |
I wrote now old and outdated comparison of 3 Python-for-DOS interpreters.
This is the page https://phdru.name/Software/Python/. It was generated on Mon, 09 Sep 2024 21:53:17 GMT from CheetahTemplate index.tmpl. Some rights are reserved. Read more about technical aspects of the site.