An open API service indexing awesome lists of open source software.

https://github.com/agateau/popysh


https://github.com/agateau/popysh

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# Goals

Less magic:

- Wild-card only when you need them:

from glob import glob
from popysh.syscmd import rm
rm(glob('*.tmp'))

- No errors from files with spaces:

from popysh.syscmd import rm
rm('file with space', 'another one')

Easy integration with Python:

from popysh.syscmd import find
for idx, line in enumerate(find('-name', '*.py').lines()):
print('{} {}'.format(idx, line.decode()))

# Tests

Run `nosetests` from root dir