Skip to main content

Clean up your working directory.

Project description

# pyclean
Clean up your working directory.

# Why?
Everyone uses commands like
```{r, engine='bash', count_lines}
find . -name \*.pyc -delete
```
or
```{r, engine='bash', count_lines}
find . -name "*.pyc" -exec rm -f {} \;
```
but I often switch me OS from Linux to Windows. Fist I would wrote different
scrips, but a python package is much nicer.

# Install
Uses pip to install.
```{r, engine='bash', count_lines}
pip install pyclear
```

# Uses
As command-line tool.
```{r, engine='bash', count_lines}
pyclear --help
```
or
```{r, engine='bash', count_lines}
python -m pyclear --help
```

As python function
```{r, engine='python', count_lines}
from pyclean.func import cleanup
dir = '.'
args = {'cache': True, 'egg': True}

cleanup(dir, args)
```


Project details


Release history Release notifications

This version
History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pycleanup-0.0.1-py2.py3-none-any.whl (4.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Mar 29, 2018
pycleanup-0.0.1.tar.gz (2.4 kB) Copy SHA256 hash SHA256 Source None Mar 29, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page