semvec/pypi-packages huggingface dataset:
csv_bleach 2.4.0
clean CSVs
License: MIT
Requires Python: >=3.9.0
Keywords: csv

# clean your CSVs!

This command line tool cleans CSV files by:
1. converting encoding to utf-8
2. detecting the delimiter and safely converting it to a comma
3. casting all variables to json form, i.e. integers, floats, booleans, string or null.


* install `pip install csv-bleach`
* and run like `python -m csv_bleach my-data.csv`

The only option is the output file name, by default it will be your original file name with `.scsv` extension.

You will now be able to parse your CSV safely with a simple script like:

```python
import json


def parse_row(text):
    return json.loads(f"[{text}]")

def parse_file(file):
    rows = map(parse_row, file)
    header = next(rows)
    for row in rows:
        yield dict(zip(header, row))


with open("my-data.scsv") as f:
    for item in parse_file(f):
        print(item)
```
pw 0.14.1
Search in GPG-encrypted password file.
License: MIT
Requires Python: >=3.9,<4.0

# pw [![Build Status](https://github.com/catch22/pw/actions/workflows/ci.yml/badge.svg)](https://github.com/catch22/pw/actions/workflows/ci.yml) [![Latest Version](https://img.shields.io/pypi/v/pw.svg)](https://pypi.python.org/pypi/pw/) [![Supported Python Versions](https://img.shields.io/pypi/pyversions/pw.svg)](https://pypi.python.org/pypi/pw/)


`pw` is a Python tool to search in a GPG-encrypted password database.

```
Usage: pw [OPTIONS] [USER@][KEY] [USER]

  Search for USER and KEY in GPG-encrypted password file.

Options:
  -C, --copy       Display account information, but copy password to clipboard (default mode).
  -E, --echo       Display account information as well as password in plaintext (alternative mode).
  -R, --raw        Only display password in plaintext (alternative mode).
  -S, --strict     Fail unless precisely a single result has been found.
  -U, --user       Copy or display username instead of password.
  -f, --file PATH  Path to password file.
  --edit           Launch editor to edit password database and exit.
  --gen            Generate a random password and exit.
  --version        Show the version and exit.
  --help           Show this message and exit.
```


## Installation

To install `pw`, simply run:

```bash
$ pip install pw
```