Skip to content

luffy0115/pytools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytools

###specific tools for self-use

allssh/allscp

for distribute deployment use, 
usage `allssh -f hostname_file "cmd"`
or    `allscp -f hostname_file src_file dst`

calc

a simple cmdline calculater, add to path first, set `chmod +x calc`, 
usage `calc "1+2**5"`

randline

get random lines from a huge stdin input, 
usage `cat huge_file.txt|python randline.py 100`
or    `randline 100 huge_file.txt`

lz_tools.py

stdin_reader: cluster stdin inputs by key, for mapreduce uses

setop

key files set operators, support set union/difference operators ets.

About

specific tools for self-use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published