Commit Graph

19 Commits

Author SHA1 Message Date
wirawan
21e85704aa * Initial version of Fortran binary file reader.
Later a writing facility can be added as well.
* Note that this module is intended only for reading/writing
  Fortran-generated files.
  It is not recommended for any other purpose because of its terrible feature:
  no metadata, no description whatsoever.
2010-02-08 21:49:54 +00:00
wirawan
f246d382bf * Fix to make this work with independent pysqlite2 package.
* Allow rows to be returned as sqlite3.Row objects instead of simple tuple.
2010-02-08 20:00:14 +00:00
wirawan
37b556ded8 * Added dict_slice, a slicing tool returning a subset of a given dict
(or other dict-like object).
2010-02-08 19:58:44 +00:00
wirawan
599401a543 * Include *all* coreutils as the repertoire of the shell_tool commands.
* Added sorted_glob to return sorted list of globbed files. Needed for
  this script to run on older python 2.3-based systems.
2010-02-08 19:57:35 +00:00
wirawan
dfc7a780f9 * Renaming file_db to file_table class.
* Allow record update in somewhat pythonic way (instead of using SQL).
2010-02-08 01:46:12 +00:00
wirawan
669e48b8d3 * Added "db" module group to deal with database management tasks.
* First module: file_db to store filename, fingerprint (md5sum) and basic
  stats (mtime, size). Additional fields can be specified as well.
* Will use sqlite as the backend for now.
* API is rather generic so the underlying database engine can be replaced.
2010-02-06 23:21:09 +00:00
wirawan
9de91dcc59 * Don't save python compiled modules. 2010-01-22 18:50:39 +00:00
wirawan
66b8f5309d * Added: str_unindent to unindent python """-style string.
* Added: str_save_to_file to quickly save/append a string (or strings)
  to a text file.
* Added: str_expand to do iterative string expansion a la make or m4 (but
  without programming capabilities).
2010-01-22 18:50:09 +00:00
wirawan
605bfb16a2 * Simplified spline interpolation tools for 2-D curves (single curve or
piecewise curve).
2010-01-22 18:48:19 +00:00
wirawan
5af79a8000 * Syntactic sugars for quick-and-dirty python programming. 2010-01-22 18:46:50 +00:00
wirawan
c62735c225 * Placeholder for interactive python support. 2010-01-22 18:46:27 +00:00
wirawan
9e62d32873 * Draft of simple nonlinear fitting module for my use. Still not finished yet. 2010-01-22 18:44:59 +00:00
wirawan
3a22bb1e99 * Added backward compatibility/support for python 2.3 or older.
* Added more general-purpose (some coreutils, grep, less, etc.) Linux commands
  into the namespace for ease of use in regular python.
2010-01-20 21:27:41 +00:00
wirawan
d27c00e979 * Added pipe_out to pass the output of a spawn command to python.
This is equivalent to backtick operator with optional line splitting.
2010-01-20 17:25:54 +00:00
wirawan
86c7558758 * Subdomain "wpylib.math" contains my frequently used mathematical tools. 2010-01-20 03:11:01 +00:00
wirawan
b8c378cc14 * Facilitate invocation of some GNU coreutil programs in my python scripts. 2010-01-18 20:55:44 +00:00
wirawan
3609a5b95b * Module wpylib.shell_tools will contain common utilities similar to those
that I have been using in my shell.
* Function added: mcd.
2010-01-08 18:43:06 +00:00
wirawan
887ca7e16e * text_tools: module to contain simple text utilities. 2009-12-04 19:57:22 +00:00
wirawan
6e1b0c505c * Introducing "wpylib" which is the collection of my small python utilities.
* graph_digitizer: Utility to help me digitize numbers from a graph image
  files (JPG/PNG plots).
2009-12-04 19:30:26 +00:00