wirawan
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.
15 years ago
wirawan
3701e5655a
* added str_grep and str_igrep.
15 years ago
wirawan
1c6547d3c0
* Added default debug level.
15 years ago
wirawan
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.
15 years ago
wirawan
75d4c2240c
* Function ztol: for zeroing out array elements below certain tolerance.
15 years ago
wirawan
adbe499db8
* Fitting seemed to work, but still not perfectly. Do not use in production
...
yet.
15 years ago
wirawan
c87ba9dbfa
* Minor updates.
15 years ago
wirawan
40ac890d6f
* Net-related helper objects.
...
* Python-based SFTP client.
15 years ago
wirawan
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).
15 years ago
wirawan
733c518735
* Added: density refitter onto a different FFT grid and/or supercell size
...
(expansion to a larger supercell).
15 years ago
wirawan
8c37b36673
* Template for dirty scripts/experiments.
15 years ago
wirawan
ba3fcb6b6f
* Added: dict_join to join several dicts, with keys from latter dicts taking
...
higher precedence.
15 years ago
wirawan
582c7f25aa
* Generic generator module.
15 years ago
wirawan
9e7eeca3a2
* import_commands now will *NOT* override built-in python names (like dir,
...
id). Otherwise, this will result in disaster.
15 years ago
wirawan
69592e9a8f
* Added writing facility. Still largely untested.
15 years ago
wirawan
15baf746f9
* Ignore all compiled python modules.
15 years ago
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.
15 years ago
wirawan
f246d382bf
* Fix to make this work with independent pysqlite2 package.
...
* Allow rows to be returned as sqlite3.Row objects instead of simple tuple.
15 years ago
wirawan
37b556ded8
* Added dict_slice, a slicing tool returning a subset of a given dict
...
(or other dict-like object).
15 years ago
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.
15 years ago
wirawan
dfc7a780f9
* Renaming file_db to file_table class.
...
* Allow record update in somewhat pythonic way (instead of using SQL).
15 years ago
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.
15 years ago
wirawan
9de91dcc59
* Don't save python compiled modules.
15 years ago
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).
15 years ago
wirawan
605bfb16a2
* Simplified spline interpolation tools for 2-D curves (single curve or
...
piecewise curve).
15 years ago
wirawan
5af79a8000
* Syntactic sugars for quick-and-dirty python programming.
15 years ago
wirawan
c62735c225
* Placeholder for interactive python support.
15 years ago
wirawan
9e62d32873
* Draft of simple nonlinear fitting module for my use. Still not finished yet.
15 years ago
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.
15 years ago
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.
15 years ago
wirawan
86c7558758
* Subdomain "wpylib.math" contains my frequently used mathematical tools.
15 years ago
wirawan
b8c378cc14
* Facilitate invocation of some GNU coreutil programs in my python scripts.
15 years ago
wirawan
3609a5b95b
* Module wpylib.shell_tools will contain common utilities similar to those
...
that I have been using in my shell.
* Function added: mcd.
15 years ago
wirawan
887ca7e16e
* text_tools: module to contain simple text utilities.
15 years ago
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).
15 years ago