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


Download files

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

Source Distribution

pycleanup-0.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycleanup-0.0.1-py2.py3-none-any.whl (4.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pycleanup-0.0.1.tar.gz.

File metadata

  • Download URL: pycleanup-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycleanup-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bd690d4ab9a27ca7f1d24a2edaddd21c3a2e246cd452b1617c48925e8aef453d
MD5 d56b98777ff3b601089f9cbbb6168e21
BLAKE2b-256 0bc88d2c5129c1d795e7b3cd8e9805a2f3066351ad8b515ac92b736488b8edf4

See more details on using hashes here.

File details

Details for the file pycleanup-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pycleanup-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8cade711113851a6a1a529492652bb0450029cb5e4c4c93277b4b0922ae7271c
MD5 1f7bc077a77a56b8e7ec914e467ca1e1
BLAKE2b-256 c443be8bb09bf8152ee6b42bbfd263e062d65332e35a5402b056980cfd523f04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page