El octo chupacabra
Simple tool I needed for Paellego to pick x items, uniformly distributed, from a given directory structure.
You will need all of the following
- GNU Linux to run on
- Python v3.3 or newer (preferably the latest version compatible with python3)
- Python numpy (version 1 or above)
- Install above requirements (if you do not have them already)
git clone
this repository
- Run
run.py
with python - Give a file-extension (e.g. ".pdf")
- Give a path to a directory (relative to current working directory or absolute)
- Specify subdirectories
- Give a sample size
- Win!