Version 12 of Tcllib Contents

Updated 2006-02-21 18:24:53 by AK

This page is a summary of (some of) the packages in the Tcllib distributions. Commands provided by each package are not listed, and we ask the reader to consult the regular documentation instead. The companion page Tcllib Location provides the information on where to find this documentation.

Note: Currently lots of commands are listed for the various packages. This is something iherited from before the restructuring of the Tcllib pages on the wiki. This will change over time, as command lists are replaced by short package descriptions.


Most of the packages have their own pages here on the Wiki as well, providing examples, discussions, tips and tricks. These pages often also refer directly to the regular documentation for that package.


For german readers there is an (incomplete) overview of the tcllib and some code examples at http://physnet.uni-oldenburg.de/~schlenk/tcl/tcllib/tcllib-intro.pdf


Tcllib has new code added to it all the time. If the version of Tcllib you are using doesn't have one of these packages, try the latest CVS head .


  1. aes - Advanced Encryption Standard.
  2. asn - asn.1 BER encoder/decoder
  3. http/autoproxy - code to automate the use of HTTP proxy servers
  4. base64 - Base64 encoding and decoding of strings and files.
  5. bee - BitTorrent serialization encoder/decoder.
  6. bibtex - Neil Madden's parser for bibtex files. Not fully complete yet, therefore not set for installation.
  7. calendar - Calendar operations (see also tcllib calendar module).
  8. cmdline - Various form of command line and option processing.
  9. comm - Socket based interprocess communication. Emulates the form of Tk's send command.
  10. control - procedures for tcl flow structures such as assert, do/until, do/while, no-op
  11. counter - procedures for counters and histograms
  12. crc - Computation of various CRC checksums for strings and files.
  13. csv - manipulate comma separated value data
  14. des - Data Encryption Standard. ::DES::des (not yet installed)
  15. dns - interact with the Domain Name Service. dns::address, dns::cleanup, dns::cname, dns::configure, dns::name, dns::reset, dns::resolve, dns::status, dns::wait,
  16. doctools - System for writing manpages/documentation in a simple, yet powerful format.
  17. exif - exif::analyze exif::fieldnames
  18. fileutil - Utilities for operating on files, emulating various unix command line applications (cat, find, file(type), touch, ...).
  19. ftp - Client side implementation of FTP (File Transfer Protocol). In dire need of a rewrite.
  20. ftpd - Server side implementation of FTP
  21. grammar_fa - Operations on finite automatons.
  22. grammar_me - Matching Engines, for parsers.
  23. grammar_peg - Operations on Parsing Expression Grammars, and their interpretation (aka matching, parsing)
  24. html - generate HTML from a Tcl script. html::author, html::author, html::bodyTag, html::cell, html::checkbox, html::checkSet, html::checkValue, html::closeTag, html::default, html::description, html::description, html::end, html::eval, html::extractParam, html::font, html::for, html::foreach, html::formValue, html::getFormInfo, html::getTitle, html::h, html::h1, html::h2, html::h3, html::h4, html::h5, html::h6, html::hdrRow, html::head, html::head, html::headTag, html::if, html::init, html::init, html::keywords, html::keywords, html::mailto, html::meta, html::meta, html::minorList, html::minorMenu, html::openTag, html::paramRow, html::passwordInput, html::passwordInputRow, html::radioSet, html::radioValue, html::refresh, html::refresh, html::row, html::select, html::selectPlain, html::set, html::submit, html::tableFromArray, html::tableFromList, html::tagParam, html::textarea, html::textInput, html::textInputRow, html::title, html::title, html::urlParent, html::varEmpty, html::while,
  25. htmldoc - This is not a true module but the place where tcllib 1.3 installed the tcllib documentation in HTML format.
  26. htmlparse - procedures to permit limited maniulation of strings containing HTML. ::htmlparse::parse, ::htmlparse::debugCallback, ::htmlparse::mapEscapes, ::htmlparse::2tree, ::htmlparse::removeVisualFluff, ::htmlparse::removeFormDefs,
  27. ident RFC 1413 ident client protocol implementation
  28. imap4 - currently undocumented code for interacting with an IMAP server
  29. inifile - code to manipulate an initialization file. ::ini::open, ::ini::close, ::ini::commit, ::ini::sections, ::ini::keys, ::ini::value
  30. dns/ip - Manipulation of IP addresses. ::ip::version, ::ip::is, ::ip::normalize, ::ip::equal, ::ip::prefix
  31. irc - Internet Relay Chat procedures. irc::config, irc::connection,
  32. javascript - generate Javascript for including in HTML pages. javascript::BeginJS, javascript::EndJS, javascript::MakeMultiSel, javascript::MakeClickProc, javascript::makeSelectorWidget, javascript::makeSubmitButton, javascript::makeProtectedSubmitButton, javascript::makeMasterButton, javascript::makeParentCheckbox, javascript::makeChildCheckbox
  33. jpeg - edit comment blocks, get image dimensions and information, read exif data of images in the JPG format
  34. ldap - Client side implementation of LDAP (Lightweight Directory Access Protocol).
  35. log - general procedures for adding log entries to files ::log::levels, ::log::logMsg, ::log::lv2longform, ::log::lv2color,::log::lv2priority,
  36. logger - [fill in the description of this module] ::logger::walk, ::logger::services, ::logger::enable, ::logger::disable (part of the log module)
  37. math - general mathematical procedures. ::math::calculus, ::math::combinatorics, ::math::cov, ::math::fibonacci, ::math::integrate, ::math::interpolate, ::math::max, ::math::mean, ::math::min, ::math::optimize, ::math::product, ::math::random, ::math::sigma, ::math::statistics, ::math::stats, ::math::sum
  38. md4 - [fill in the description of this module] ::md4::md4, ::md4::hmac, ::md4::MD4Init, ::md4::MD4Update, ::md4::MD4Final
  39. md5 - [fill in the description of this module] ::md5::md5, ::md5::hmac, ::md5::test, ::md5::time, ::md5::<<<,
  40. md5crypt - [fill in the description of this module] ::md5crypt::md5crypt, ::md5crypt::aprcrypt
  41. mime - [fill in the description of this module] ::mime::initialize, ::mime::parsepart, ::mime::finalize, ::smtp::sendmessage
  42. multiplexer - [fill in the external interfaces]
  43. ncgi - procedures for use in a CGI application. ::ncgi::reset, ::ncgi::urlStub, ::ncgi::urlStub
  44. nntp - routines for interacting with a usenet news server. ::nntp::nntp, ::nntp::NntpProc, ::nntp::NntpProc, ::nntp::okprint, ::nntp::message,
  45. ntp - network time protocol procedure ::ntp::time
  46. page - Classes for a parser generator, and general text transformations.
  47. png - edit comment blocks, get image dimensions and information for Portable Network Graphics format.
  48. pop3 - Post Office Protocol functions for reading mail from a pop3 server. ::pop3::open, ::pop3::close, ::pop3::status,
  49. pop3d - Post Office Protocol Server. pop3d::new
  50. profiler - [fill in the description of this module]. ::profiler::tZero, ::profiler::tMark, ::profiler::stats, ::profiler::Handler, ::profiler::profProc, ::profiler::init
  51. rc4 - stream encryption. ::rc4::rc4
  52. report - format text in various report styles. ::report::report , ::report::defstyle, ::report::rmstyle,
  53. ripemd - [fill in brief module description]
  54. sha1 - [fill in brief module description]. ::sha1::sha1, ::sha1::hmac
  55. smtpd - [fill in brief module description]. ::smtpd::start, ::smtpd::stop, ::smtpd::configure, ::smtpd::cget
  56. snit - Snit's Not Incr Tcl - OO package. Delegation based. ::snit::type, ::snit::widget, ::snit::widgetadaptor
  57. soundex::knuth - string matching based on theoretical sound of the letters
  58. stooop - OO package. stooop::class, stooop::virtual, stooop::new, stooop::delete, stooop::classof
  59. struct1 - Version 1 of struct (see below), provided for backward compatibility.
  60. ::struct::list, ::struct::graph, ::struct::matrix, ::struct::queue, ::struct::stack, ::struct::Tree, ::struct::record, ::struct::skiplist, ::struct::prioqueue, new: ::struct::sets
  61. tar - untar, list, and stat files in tarballs and create new tarballs
  62. textutil - Utilities for working with larger bodies of texts.
  63. textutil::expand - the core for the expand macro processor.
  64. tie - Persistence for Tcl arrays.
  65. treeql - Tree Query Language, inspired by COST.
  66. uri - Handling of uri/urls (splitting, joining, ...)
  67. uuid - Creation of unique identifiers.
  68. stats - no longer distributed. Use counter instead.
  69. devtools - not installed. This is an experimental package currently only for internal use.

[ Tcllib ]