Commit Graph

  • ffd21689be * Parameters class: a way to look for parameters in definite search order across functions, so that these parameters do not have to be passed in kitchen-sink manner. WARNING: STILL UNDER TESTING. wirawan 2010-05-28 18:47:56 +0000
  • 3701e5655a * added str_grep and str_igrep. wirawan 2010-05-28 18:46:53 +0000
  • 1c6547d3c0 * Added default debug level. wirawan 2010-05-28 18:46:16 +0000
  • a6582aa8f2 * pipe_in() for "piping in" input to an external command. * system() like os.system() except with error checking. * getenv() to get look for a value from a list of environment variables-- they are searched sequentially in definite order. wirawan 2010-05-28 18:45:51 +0000
  • 75d4c2240c * Function ztol: for zeroing out array elements below certain tolerance. wirawan 2010-05-28 18:43:59 +0000
  • adbe499db8 * Fitting seemed to work, but still not perfectly. Do not use in production yet. wirawan 2010-05-28 18:43:39 +0000
  • c87ba9dbfa * Minor updates. wirawan 2010-05-28 18:43:14 +0000
  • 40ac890d6f * Net-related helper objects. * Python-based SFTP client. wirawan 2010-05-28 18:42:29 +0000
  • ed52cd4af0 * Added slice_str for easy printout of a slice object in python typical slice syntax (e.g. 0:10: or 0:10:3 or :10:3, etc). wirawan 2010-02-24 14:28:13 +0000
  • 733c518735 * Added: density refitter onto a different FFT grid and/or supercell size (expansion to a larger supercell). wirawan 2010-02-24 14:27:23 +0000
  • 8c37b36673 * Template for dirty scripts/experiments. wirawan 2010-02-24 14:26:29 +0000
  • ba3fcb6b6f * Added: dict_join to join several dicts, with keys from latter dicts taking higher precedence. wirawan 2010-02-19 18:42:15 +0000
  • 582c7f25aa * Generic generator module. wirawan 2010-02-19 18:41:28 +0000
  • 9e7eeca3a2 * import_commands now will *NOT* override built-in python names (like dir, id). Otherwise, this will result in disaster. wirawan 2010-02-19 18:40:19 +0000
  • 69592e9a8f * Added writing facility. Still largely untested. wirawan 2010-02-19 18:39:17 +0000
  • 15baf746f9 * Ignore all compiled python modules. wirawan 2010-02-11 02:29:51 +0000
  • 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. wirawan 2010-02-08 21:49:54 +0000
  • f246d382bf * Fix to make this work with independent pysqlite2 package. * Allow rows to be returned as sqlite3.Row objects instead of simple tuple. wirawan 2010-02-08 20:00:14 +0000
  • 37b556ded8 * Added dict_slice, a slicing tool returning a subset of a given dict (or other dict-like object). wirawan 2010-02-08 19:58:44 +0000
  • 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. wirawan 2010-02-08 19:57:35 +0000
  • dfc7a780f9 * Renaming file_db to file_table class. * Allow record update in somewhat pythonic way (instead of using SQL). wirawan 2010-02-08 01:46:12 +0000
  • 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. wirawan 2010-02-06 23:21:09 +0000
  • 9de91dcc59 * Don't save python compiled modules. wirawan 2010-01-22 18:50:39 +0000
  • 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). wirawan 2010-01-22 18:50:09 +0000
  • 605bfb16a2 * Simplified spline interpolation tools for 2-D curves (single curve or piecewise curve). wirawan 2010-01-22 18:48:19 +0000
  • 5af79a8000 * Syntactic sugars for quick-and-dirty python programming. wirawan 2010-01-22 18:46:50 +0000
  • c62735c225 * Placeholder for interactive python support. wirawan 2010-01-22 18:46:27 +0000
  • 9e62d32873 * Draft of simple nonlinear fitting module for my use. Still not finished yet. wirawan 2010-01-22 18:44:59 +0000
  • 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. wirawan 2010-01-20 21:27:41 +0000
  • d27c00e979 * Added pipe_out to pass the output of a spawn command to python. This is equivalent to backtick operator with optional line splitting. wirawan 2010-01-20 17:25:54 +0000
  • 86c7558758 * Subdomain "wpylib.math" contains my frequently used mathematical tools. wirawan 2010-01-20 03:11:01 +0000
  • b8c378cc14 * Facilitate invocation of some GNU coreutil programs in my python scripts. wirawan 2010-01-18 20:55:44 +0000
  • 3609a5b95b * Module wpylib.shell_tools will contain common utilities similar to those that I have been using in my shell. * Function added: mcd. wirawan 2010-01-08 18:43:06 +0000
  • 887ca7e16e * text_tools: module to contain simple text utilities. wirawan 2009-12-04 19:57:22 +0000
  • 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). wirawan 2009-12-04 19:30:26 +0000