semvec/pypi-packages huggingface dataset:
dtcli 0.0.1
DTC/NSF/bash.org cli querying tool
License: MIT
Keywords: dtc,nsf,bash.org,cli

# dtcli

## Introduction

DTCli is a tool to query jokes from three websites : DTC ([DansTonChat](https://danstonchat.com/)), NSF ([NuitSansFolie](https://nuitsansfolie.com/)) and [bash.org](http://bash.org/). Because I'm French, two of the websites are french (only [bash.org](http://bash.org/) is in english).

## Installation

Using [pipx](https://pipxproject.github.io/pipx/) : 

```shell
pipx install ./
```

## Options

- `-h/--help` : Pretty self explanatory : Print the help message.
- `-v/--verbose` : Print verbose informations : errors, informations...
- `-i/--ignore` : Continue even if the URL tested is giving an error. Same for errors during the processing of the text.
- `--version` : Print the version of the script
- `-n/--number` : Specify the number of the joke you want to get. Of course, must be a number. Specifying this cancel any title/lines related options. Use default website or, if passed, the specified one.
- `-b/--hide-banner` : Choose to hide the banner containing the informations about the joke printed. Doing so also hide the title if there's one.
- `-t/--hide-title` : Choose to hide the title of the DTC. Doing so doesn't hide the rest of the banner.
- `-f/--force-title` : Search only for a DTC with a title. This option doesn't do anything if the website is NSF or QDB.
- `-l/--lines` : Works only for DTC and QDB, search only for the jokes containing a specific number of lines.
- `-o/--over` : Works only for DTC and QDB, search only for the jokes containing over (inclusive) a specific number of lines
- `-u/--under` : Works only for DTC and QDB, search only for the jokes containing under (inclusive) a specific number of lines.
- `-w/--website` : Specify the website you want to take the jokes from. The possible values are `dtc`, `nsf`, `bash`.

## To Do

- [ ] Enhance NSF displaying (wrapping it better, cutting on `:` ?).
- [ ] Reorganise the code (Of course...).
- [ ] Comment the code.
- [ ] Enhance installation (Posting it on PyPi).
- [ ] Make it faster, it's so slooooooow.
- [x] Check for new posts on websites, and get the max allowed number.
- [x] Add module annotations.
- [x] Add module and function docstring.
- [x] Rework NSF, it seems to cause unknown problem : `Error 104, Connection reset by peer`



## License
MIT, refer to [LICENSE](https://github.com/Luc-Saccoccio/dtcli/blob/master/LICENSE) for complete text
typeshell 0.1.2
Typing test CLI tool.
License: MIT
Requires Python: >=3.8

# typeshell-cli

## Description
typeshell-cli is a Python command-line-interface tool that was written as a proof-of-concept of [pytyper](https://github.com/greysonDEV/pytyper), a Python typing test package.

## Installation
```
pip install typeshell
```

## Usage

#### Basic Usage
```
typeshell [-h] [-V] [-v] create count {proverbs, shakespeare}
```

#### Positional Arguments
```
create                 create typing session
count                  number of prompts in session
{proverbs, shakespeare}
                       type of prompts in session
```

#### Optional Arguments
```
-h, --help             show this help message and exit
-V, --version          show program version
-v, --verbose          increase output verbosity
```

#### Examples

To create a typing session with 3 proverbs:
```
typeshell create 3 proverbs
```

A confirmation input is needed before the typing session begins:
```
*-------[Generating session]-------*
              Prompts:              
                 3                  
               Type:                
              proverbs              
*------[Press enter to begin]------*
```

When the session begins, the shell window will be cleared, only displaying the prompt and space for an input:

```
Grief divided is made lighter.

```

Be aware, the timer starts immediately after pressing enter. To exit the current session, stop the shell processes via `KeyboardInterrupt`.

#### Output

Upon finishing a session, the average statistics for that session will be visible:
```
*-------[Finished session]-------*
Average statistics:

Gross-WPM: 71.978
Net-WPM  : 58.446
Accuracy : 0.95
Errors   : 2.334
Time     : 8.102
*----------------------------------*
```

Specifying `--verbose` when creating a typing session will provide an output of each prompt with the user's input, along with an additional line which indicates the errors in the user's input.
```
> Grief divided is made lighter.
$ Grief divided is made lighter.
                                
> A ship in the harbor is safe, but that is not what a ship is for.
$ A ship in the harbor is safe, hut that is not what a ship is for
                                ^                                 ^
> Every man is the architect of his destiny.
$ Ebery man is the architext of his deinrny.
   ^                      ^           ^^^  
```

## License
typeshell is licensed under the [MIT](https://github.com/greysonDEV/typeshell-cli/blob/main/LICENSE) License.
Flask-MDE 1.2.1
Pagedown for Flask
License: MIT
Requires Python: >=3.6

Flask-MDE: Pagedown for Flask
=============================

Release v1.2.1 | `Example application <https://markdowneditor.pythonanywhere.com/>`_

.. image:: https://img.shields.io/pypi/v/flask_mde
    :target: https://pypi.org/project/flask_mde/
    
.. image:: https://img.shields.io/pypi/l/flask_mde
    :target: https://pypi.org/project/flask_mde/

.. image:: https://img.shields.io/pypi/pyversions/flask_mde
    :target: https://pypi.org/project/flask_mde/

.. image:: https://readthedocs.org/projects/flask-mde/badge/?version=latest
    :target: https://flask-mde.readthedocs.io/en/latest/?badge=latest
   
.. image:: https://pepy.tech/badge/flask-mde
    :target: https://pepy.tech/project/flask-mde

-------------------

`Pagedown <https://github.com/StackExchange/pagedown>`_ Editor with
`Google code-prettify <https://github.com/google/code-prettify>`_ for 
`Flask <https://palletsprojects.com/p/flask/>`_. 
`WTForms <https://wtforms.readthedocs.io/en/stable/index.html>`_ integration supported.
From v1.2.0 Flask-MDE supports `pagedown-extra <https://github.com/jmcmanus/pagedown-extra>`_.

Pagedown is a Markdown editor and previewer popularised by its use on 
StackOverflow. You can use the *Flask-MDE* extension 
to integrate the Pagedown editor into your Flask application.

Installation
############
Installing Flask-MDE is simple with `pip <https://pip.pypa.io/en/stable/>`_. To install Flask-MDE, 
run the command 

..  code-block:: text

    pip install Flask-MDE

in your terminal

Basic Usage
###########
Assuming the following folder structure:

..  code-block:: text

    .
    ├── app.py
    └── templates/
        └── index.html

**Files**

*app.py*

..  code-block:: python

    from flask import Flask, render_template
    from flask_mde import Mde

    app = Flask(__name__)
    mde = Mde(app)

    @app.route('/')
    def index():
        return render_template(
            "index.html"
        )


    if __name__ == "__main__":
        app.run()

*templates/index.html*

..  code-block:: html

    <!DOCTYPE html>
    <html lang="en">
    <head>
        {{mde.css}}
    </head>
    <body>
        {{mde.editor()}}
        {{mde.preview}}
        {{mde.js}}
    </body>
    </html>


`Read the user guide to check out all the features. <https://flask-mde.readthedocs.io/en/latest/user-guide.html>`_

Licenses that apply
===================

1. `Flask-MDE License (MIT) <https://github.com/bittobennichan/Flask-MDE/blob/master/LICENSE>`_
2. `Pagedown-Extra License <https://github.com/a100q100/pagedown-extra/blob/master/LICENSE.txt>`_
3. `Pagedown License <https://github.com/StackExchange/pagedown/blob/master/LICENSE.txt>`_
pytyper 0.1.3
Typing statistics calculations, string comparison, and formatting
License: MIT
Requires Python: >=3.8

# pytyper

## Description
pytyper is a Python library that provides the user with basic functions that deal with typing and typing tests. A few of many functions include calculating WPM and accuracy.\
Not only does pytyper implement typing calculations, it also implements string modification, comparison, and number formatting.

## Installation
```
pip install pytyper
```

## Usage
A proof-of-concept CLI tool is hosted at:\
https://github.com/greysonDEV/typeshell-cli

## Docu-mini-tation
[pytyper documentation](https://github.com/greysonDEV/pytyper/blob/master/DOCUMENTATION.md)

## License
pytyper is licensed under the [MIT](https://github.com/greysonDEV/pytyper/blob/master/LICENSE) License.