semvec/pypi-packages huggingface dataset:
cockli-gen 1.0.6
Generate cock.li email addresses on the CLI
Requires Python: >=3.0

# cockli-gen

A tool to randomly create [cock.li](https://cock.li) email addresses on the commandline. This tool is not meant for spam-usage (you still have to fill in the captcha) but rather for "privacy-conscious" people who want to use different email addresses for every service they sign up.

**Installation**

`pip3 install cockli-gen`  

**Usage**

```  
fe@mememachine:~$ cockligen --help
usage: cockli-gen [-h] [-d DOMAIN] [-p PASSWORD_LENGTH]
                  [-mil MINIMUM_USERNAME_LENGTH]
                  [-mal MAXIMUM_USERNAME_LENGTH] [-s SIMPLE]

Create a random cock.li mail address

optional arguments:
  -h, --help            show this help message and exit
  -d DOMAIN, --domain DOMAIN
                        Select one of cock.li's many domains; default =
                        cock.li
  -p PASSWORD_LENGTH, --password-length PASSWORD_LENGTH
                        Override the default password length; default = 32,
                        min = 8, max = 255
  -mil MINIMUM_USERNAME_LENGTH, --minimum-username-length MINIMUM_USERNAME_LENGTH
                        Override the default minimum username length; default
                        = 10, min = 1
  -mal MAXIMUM_USERNAME_LENGTH, --maximum-username-length MAXIMUM_USERNAME_LENGTH
                        Override the default maximum username length; default
                        = 16, max = 32
  -s SIMPLE, --simple SIMPLE
                        Simple output, username:password
```
pytest-yuk 0.0.1.post2
Display tests you are uneasy with, using 🤢/🤮 for pass/fail of tests marked with yuk.

# pytest-yuk

A pytest plugin that allows you to visualize tests you are not proud of, using 🤢 for pass, 🤮 for fail. 


## Installation

```shell script
$ pip install pytest-yuk
```

## Usage

Mark tests with `@pytest.mark.yuk`:

```python
import pytest

@pytest.mark.yuk
def test_pass():
    assert 1 == 1

@pytest.mark.yuk
def test_fail():
    assert 1 == 2

def test_pass_unmarked():
    assert 1 == 1

def test_fail_unmarked():
    assert 1 == 2
```

Then run with `--yuk`:

```shell script
$ pytest --yuk --tb=no test_yuk.py   
========================= test session starts ==========================
collected 4 items                                                      

test_yuk.py 🤢🤮.F                                               [100%]

===================== 2 failed, 2 passed in 0.02s ======================
```

Or `--yuk -v`:

```shell script
$ pytest --yuk -v --tb=no test_yuk.py
========================= test session starts ==========================
collected 4 items                                                      

test_yuk.py::test_pass PASSED 🤢                                 [ 25%]
test_yuk.py::test_fail FAILED 🤮                                 [ 50%]
test_yuk.py::test_pass_unmarked PASSED                           [ 75%]
test_yuk.py::test_fail_unmarked FAILED                           [100%]

===================== 2 failed, 2 passed in 0.02s ======================
```

No output changes are made without the `--yuk` flag:

```shell script
$ pytest --tb=no test_yuk.py   
========================= test session starts ==========================
collected 4 items                                                      

test_yuk.py .F.F                                                 [100%]

===================== 2 failed, 2 passed in 0.02s ======================
```

## Similar project

This plugin was inspired by these other fine plugins: 

* [pytest-emoji](https://pypi.org/project/pytest-emoji)
* [pytest-poo](https://pypi.org/project/pytest-poo)

## Other pytest plugins from [okken](https://github.com/okken):

* [pytest-check](https://pypi.org/project/pytest-check/):  Allows multiple failures per test.
* [pytest-srcpaths](https://pypi.org/project/pytest-srcpaths/): A plugin to help pytest find the code you want to test, by adding specified paths to `sys.path`.
markdown-alerts 0.1
Python-Markdown Admonition alternative.
Requires Python: >=3.6

# markdown-alerts

Python-Markdown Admonition alternative extension with a shortened syntax. Depends [Python-Markdown](https://pypi.org/project/Markdown/).

This extension supports one-line and multi-line text. The end of the remark block is an empty line.

Example:

```
:::info This is an one-line admonition!

:::info This is a
multi-line
admonition!

:::info
It works too!

This paragraph is not an admonition's part.
```

There can be an arbitrary number of spaces between the admonition start character `:::` and the admonition type designation.

Supported admonition types:

```
:::info
:::note
:::tip
:::success
:::warning
:::danger
```

## Installation and usage

Installation:

```
pip install markdown-alerts
```

Usage:

```python
from markdown import Markdown

html = Markdown(extensions=['markdown_alerts'])
```

## Configuration

By default, the extension installs the following CSS classes for div blocks. For example for `:::note`:

```html
<div class="alert note">
<p>This is note!</p>
</div>
```

You can override these classes by adding your own configuration. Example for **Bootstrap 5**:

```python
ext_configs = {
    'markdown_alerts': {
        'info': 'alert alert-info',
        'note': 'alert alert-primary',
        'tip': 'alert alert-success',
        'success': 'alert alert-success',
        'warning': 'alert alert-warning',
        'danger': 'alert alert-danger'
    }
}

html = Markdown(
            extensions=['markdown_alerts'],
            extension_configs=ext_configs
        )
```

## License

This software is provided under The Unlicense. See [LICENSE](LICENSE) for details.
cnl2rsscrawler 1.0.1
Intercept, decrypt and forward CnL to RSScrawler

# Click'n'Load2RSScrawler
Click'n'Load2RSScrawler fängt Click'n'Load ab, entschlüsselt die Payload und übergibt diese dem RSScrawler.

[![PyPI version](https://badge.fury.io/py/cnl2rsscrawler.svg)](https://badge.fury.io/py/cnl2rsscrawler)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/cnl2rsscrawler)](https://img.shields.io/pypi/dm/cnl2rsscrawler)
[![Github Sponsorship](https://img.shields.io/badge/support-me-red.svg)](https://github.com/users/rix1337/sponsorship)

####  Voraussetzungen
* Linux basierte Laufzeitumgebung (inkompatibel mit Windows)
* [Python 3.9](https://www.python.org/downloads/) oder neuer
* [pip](https://pip.pypa.io/en/stable/installing/)
* [openssl](https://www.openssl.org/)
* [Node.js](https://nodejs.org/)
* [RSScrawler 8](https://github.com/rix1337/RSScrawler) oder neuer

#### Update

```pip install -U cnl2rsscrawler```

#### Starten

```cnl2rsscrawler --url=192.168.1.1:9090``` in der Konsole (Python muss im System-PATH hinterlegt sein)


#### Pflichtparameter

| Parameter | Erläuterung |
|---|---|
| ```--url=<URL>``` | Die lokale URL des RSScrawlers - bspw. `192.168.1.1:9090`)

***

## Credits

* [drwilly](https://github.com/drwilly)
cleantxt 0.0.7
cleaning text from noise for nlp tasks
Requires Python: >=3.6

# cleantxt

cleaning text from noise for nlp tasks

## installation 
with pip

`pip install cleantxt`

install from source

`git clone https://github.com/jemiaymen/cleantxt.git`

go to the cleantxt directory

`cd cleantxt`

install with pip

`pip install .`

## cli usage

`cleantxt --doc=[path_to_doc] 
                  --out=[path_out_file]
                  --f=[0] 
                  --t=[100] 
                  --do_lower=True
                  --white_space=True 
                  --punctuation=True 
                  --duplicated_chars=True
                  --alpha_num=True 
                  --accent=True 
                  --escape key,value ə,a œ,oe`

check example 

![](example.gif)

## api usage

import text module

`from cleantxt import text`

clean text

`txt = text.clean_text('mella 7ayawaaanéé hadddddda mta3@@@@@ @tfih')`

print the result

`mella 7ayawane hada mta3 tfih`

## params

text : -> (str) raw text

whitespace : -> (boolean) escape spaces [default True ]

punctuation : -> (boolean) escape punctuation [default True ]

duplicated : -> (boolean) escape duplicated chars [default True ]

alphanum : -> (boolean) escape non alpha numeric chars [default True ]

accent : -> (boolean) escape accent [default True ]

do_lower : -> (boolean) lower case text [default True ]

others : -> ( list( tuple() ) ) escape rules [ default [('ə', 'a')] ]

## new function

### word count
wc => (word count) params (path :str, unique=False, both=False)

`from cleartxt import text`
`print( text.wc('file.txt',both=True) ) `

(51515,5547)

output tuple (all words , unique words)

### word frequency
word_frequency => params (path : str, top=100)

`from cleartxt import text`
`print( text.word_frequency('file.txt') ) `

[('\n', 54898), ('', 48757), ('w', 27717), ('el', 16679), ('fi', 9399), ('ya', 8611)]

output list of tuples (word , frequency)