gondoi/shearline — pull request #3 by treytabner (2012-07-29 03:56:02+00:00)
Title: Multiprocessing and more

- Added support for multiprocessing
- Allow you to specify number of simultaneous processes for syncing files
- Added setuptools to allow for installation with setup.py
- Added argument parsing to specify options at runtime
- Added verbose/quiet options
- Added logging to syslog
- Updated documentation

$ shearline --help
usage: shearline [-h] [-q] [-v] [--bucket BUCKET] [--username USERNAME]
[--apikey APIKEY] [--container CONTAINER]
[--processes PROCESSES]

optional arguments:
-h, --help show this help message and exit
-q, --quiet disable progress output
-v, --verbose enable verbose output
--bucket BUCKET defaults to env[S3_BUCKET]
--username USERNAME defaults to env[CF_USERNAME]
--apikey APIKEY defaults to env[CF_APIKEY]
--container CONTAINER
defaults to env[CF_CONTAINER]
--processes PROCESSES
number of synchronization processes at a time