semvec/pypi-packages huggingface dataset:
md-redact 0.2.0
Redact portions of content if a condition is met
License: MIT
Requires Python: >=3.9,<4.0

# Markdown Redact
An extremely simple markdown extension that will optionally redact content from
a document.

# Installation
This extension is designed for [python-markdown](https://python-markdown.github.io/).

`pip install markdown md-redact`

# Usage
In your environment:

```shell
export MD_REDACT_CONTENT=1
```

In your markdown document:

```markdown
This is $some sensitive content$ in a markdown document.
```

In your Python code:

```python
import markdown


with open("filename.md", "r") as input_file:
    text = input_file.read()

html = markdown.markdown(, extensions=["md_redact"])

# html == '<p>This is <span class="redacted">(redacted)</span> in a markdown document.</p>'
```

Or from the command line:

```shell
MD_REDACT_CONTENT=1 python -m markdown -x md_redact filename.md
```

# Why?
Processing markdown for a project where some users were allowed to see specific
content while others were not. Figured an inline processor might be easier than
locking the users lacking permissions out of the page entirely.
scClassifier2 0.0.13
a tool for single cell data
License: MIT
Requires Python: >=3.6

# scClassifier2
 Deep bag-of-genes model for single cell classification

## Citation
Bin Zhou, Fan Yang, Ting Chen, Feng Zeng. Seeing cells as bags-of-genes: a simple deep generative model for platform-independent single cell classification. Submission. 2021

## Installation
1. Install [pytorch](https://pytorch.org/get-started/locally/) according to your computational platform
2. Install dependencies:
    `pip3 install numpy scipy pandas scikit-learn pyro-ppl matplotlib`

## Prepare matrix and label files
1. scClassifier2 accepts as input the log-transformed gene matrix in the MatrixMarket format usually end in ".mtx", where rows are cells and columns are genes. 
2. The label file can be either the CSV format or the TSV format, one label per line.
3. [Data](https://github.com/ZengFLab/scClassifier2/tree/main/data) gives some examples of matrix and label files.

## Tutorial
Please refer to the [PBMC68k](https://github.com/ZengFLab/scClassifier2/blob/main/pbmc68k_demo.ipynb) example.

## Usage
```
usage: scClassifier    [-h] [--cuda] [--jit] [-n NUM_EPOCHS] [--aux-loss] [-alm AUX_LOSS_MULTIPLIER] [-enum ENUM_DISCRETE]
                        [--sup-data-file SUP_DATA_FILE] [--sup-label-file SUP_LABEL_FILE] [--unsup-data-file UNSUP_DATA_FILE]
                        [--unsup-label-file UNSUP_LABEL_FILE] [-64] [-lt] [--cross-validation-fold CROSS_VALIDATION_FOLD] [-zd Z_DIM]
                        [-hl HIDDEN_LAYERS [HIDDEN_LAYERS ...]] [-lr LEARNING_RATE] [-dr DECAY_RATE] [-de DECAY_EPOCHS] [-b1 BETA_1]
                        [-bs BATCH_SIZE] [-rt] [-log LOGFILE] [--seed SEED] [--best-valid-model BEST_VALID_MODEL] [--best-aux-model BEST_AUX_MODEL]
```
awscli-update 0.1.12
CLI tool to update AWS CLI 2
License: MIT

# AWS CLI v2 Update Script
[![PyPI - awscli-update](https://img.shields.io/pypi/v/awscli-update.svg?color=blue&label=awscli-update)](https://pypi.org/project/awscli-update)

A small script to keep the AWS CLI v2 up to date,
[until AWS figures out how to distribute software
properly](https://github.com/aws/aws-cli/issues/4947).

## Usage
```
usage: awscli-update [-h] [--version] [-n] [-q] [--no-sudo] [--prefix PREFIX]

optional arguments:
  -h, --help       show this help message and exit
  --version        show program's version number and exit
  -n, --noop       only compare versions but don't install
  -q, --quiet      only print error messages when updating
  --sudo           use sudo to install (e.g. when installing to /usr/local)
  --prefix PREFIX  install aws-cli in custom path (default is /usr/local)
```

### Setup
```bash
python3 -m pip install awscli-update
```

### Auto update
#### Linux
Assuming the `awscli-update` binary is installed in `$HOME/.local/bin`
(check the location on your machine by running `which awscli-update`),
you want to install the AWS CLI in `$HOME/.local/bin` and
you want to check for updates every hour,
run `crontab -e` and add following line
```
0 * * * * $HOME/.local/bin/awscli-update -q --prefix $HOME/.local
```

#### macOS
Assuming the `awscli-update` binary is installed in `/opt/homebrew/bin`
(check the location on your machine by running `which awscli-update`),
you want to install the AWS CLI in `/opt/homebrew/bin` and
you want to check for updates every hour,
run `crontab -e` and add following line
```
PATH=$PATH:/usr/sbin
0 * * * * /opt/homebrew/bin/awscli-update -q --prefix /opt/homebrew
```

#### General things
If you want to check for updates more/less often or at specific times,
check [this editor for cron expressions](https://crontab.guru/).

## Development
- Create venv (`python3 -m venv venv`)
- Start venv (`source venv/bin/activate`)
- Install dependencies (`python3 -m pip install setuptools wheel twine versioneer`)
- Install requirements (`python3 -m pip install -r requirements.txt`)
- Build local dist (`python3 setup.py develop --user`)

## Deployment
- Build dist (`python3 setup.py sdist bdist_wheel`)
- Deploy (`twine upload dist/*`)