semvec/pypi-packages huggingface dataset:
declutter 0.1
A commandline utility to declutter the files in current directory by organizing into folders automatically.

# declutter
Fast way to quickly organize cluttered files into approximate categories.  
I personally use this to declutter my desktop where I have a bad habit of dumping stuff.  
```
declutter

Usage:
    declutter
    declutter [[options] <args>...]...
    declutter -h | --help

Options:
    -h --help                            Show help message.
    --exclude_files <files>...           Exclude specific list of files from being decluttered.
    --exclude_ext <exts>...              Exclude these file extensions from being decluttered.
    --include_shortcuts                  Include shortcuts with extensions .url or .lnk to be decluttered.
Examples:
    declutter --exclude_files myfile.txt random.docx
    declutter --exclude_ext gif jpg
```
safepass 1.0.8
Check passwords against https://haveibeenpwned.com/API/v2#PwnedPasswords

[![Build Status](https://travis-ci.com/cmccandless/safepass.svg?branch=master)](https://travis-ci.com/cmccandless/safepass)[![PyPI version](https://badge.fury.io/py/safepass.svg)](https://badge.fury.io/py/safepass)[![Updates](https://pyup.io/repos/github/cmccandless/safepass/shield.svg)](https://pyup.io/repos/github/cmccandless/safepass/)[![Python 3](https://pyup.io/repos/github/cmccandless/safepass/python-3-shield.svg)](https://pyup.io/repos/github/cmccandless/safepass/)

# safepass
Check passwords against https://haveibeenpwned.com/API/v2#PwnedPasswords

## Usage

### For humans

```bash
$ safepass
Password: <enter pwned password (masked)>
NOT SAFE!
$ echo $?
1
$ safepass
Password: <enter not-pwned password (masked)>
SAFE!
$ echo $?
0
```

### For scripting

*Note: scripting mode intended for situations where command history is not saved. Please use above interactive mode if checking directly in command line.*

`$ safepass $PASSWORD`

### API

```bash
>>> from safepass import safepass
>>> result=safepass(PWNED_PASSWORD)
NOT SAFE!
>>> result
False
>>> result=safepass(NOT_PWNED_PASSWORD)
SAFE!
>>> result
True
```
cs.ansi_colour 20180725.2
Convenience functions for ANSI terminal colour sequences
Keywords: python2,python3

Mapping and function for adding ANSI terminal colour escape sequences
to strings for colour highlighting of output.

## Function `colourise(s, colour=None, uncolour='normal')`

Return a string enclosed in colour-on and colour-off ANSI sequences.  
`colour`: names the desired ANSI colour.  
`uncolour`: may be used to specify the colour-off colour;  
  the default is 'normal'.

## Function `colourise_patterns(s, patterns, default_colour=None)`

Colourise a string according to regular expressions.  
`s`: the string  
`patterns`: a sequence of patterns  
`default_colour`: if a string pattern has no colon, or starts  
  with a colon, use this colour; default DEFAULT_HIGHLIGHT  
Each pattern may be:  
* a string of the form "[colour]:regexp"  
* a string containing no colon, taken to be a regexp  
* a tuple of the form (colour, regexp)  
* a regexp object  
Returns the string with ANSI colour escapes embedded.

## Function `make_pattern(pattern, default_colour=None)`

Convert a pattern specification into a (colour, regexp) tuple.  
Each pattern may be:  
* a string of the form "[colour]:regexp"  
* a string containing no colon, taken to be a regexp  
* a tuple of the form (colour, regexp)  
* a regexp object

## Function `make_patterns(patterns, default_colour=None)`

Convert an iterable of pattern specifications into a list of (colour, regexp) tuples.  
Each pattern may be:  
* a string of the form "[colour]:regexp"  
* a string containing no colon, taken to be a regexp  
* a tuple of the form (colour, regexp)  
* a regexp object