Starling: Texture atlas generation

Can anyone reccomend a console tool or python library (if exist) to create starling-compatible texture atlases from a bunch of files/directories in filesystem? something like TexturePacker, but without GUI, good old plain console, capable for Win/Mac/Linux and integrating into pipelines

I know TexturePacker has command-line options too, but looking for alternatives… python solution would be the best, if present

not sure it’ll will work on Linux, cause uses AIR