X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=examples%2FREADME;h=ff70e01dfd0daca9112b8671b00f92009ce4ba59;hb=06aed70c0ceefccc830d8f77e0f39a97ed05b898;hp=5d02a8756590010173eff49c2e352cac641bf473;hpb=25cc42619c9f4381df45d84f5188dba290c3cfaa;p=pyutils.git diff --git a/examples/README b/examples/README index 5d02a87..ff70e01 100644 --- a/examples/README +++ b/examples/README @@ -1,2 +1,37 @@ Stuff under here is example code that uses pyutils library routines and -is meant to just be illustrative and fun. +is meant to just be illustrative and fun. Each should be runnable as-is +if you have pyutils installed. Use the --help flag for more info. + +cron: + Wrapper for running cronjobs with optional locks to ensure that no + more than one instance executes at the same time, optional max + frequencies, optionally touch a file on successful execution to + drive monitoring, etc... + +dedup_files: + Util that traverses a directory structure and identifies files that + are duplicates of each other then optionally deletes duplicates or + symlinks duplicates back to an original. + +parallelize_config: + This is a sample config file (place in ~/.remote_worker_records or + override with --remote_worker_records_file) for the @parallelize + framework to understand how to dispatch work to remote machines. + +pyskel: + This is a "skeleton" I keep around for when I want to start + working on a new script. + +reminder: + Reminds you of important dates which are stored in the .reminder + file. + +scrabble: + Helps you play Scrabble word game. + +wordle: + Plays and helps you cheat at the Wordle word game. Demo of using + the @parallelize framework and shared_dict which it uses to + precompute the solution space on several processes at once. + +