semvec/pypi-packages huggingface dataset:
hug_explainable 0.2.1
Provides an on demand context manager that makes it easy to profile and explain code blocks / paths within hug.
License: MIT
Keywords: Python

Hug Explainable
===============

|PyPI version| |Build Status| |Coverage Status| |License| |Join the chat
at https://gitter.im/timothycrosley/hug\_explainable|

Provides an on demand context manager that makes it easy to profile and
explain code blocks / paths within hug.

Installing hug\_explainable
===========================

Installing hug\_explainable is as simple as:

.. code:: bash

    pip3 install hug_explainable --upgrade

Ideally, within a virtual environment.

Why hug\_explainable?
=====================

Provides an on demand context manager that makes it easy to profile and
explain code blocks / paths within hug.

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

Thanks and I hope you find hug\_explainable helpful!

~Timothy Crosley

.. |PyPI version| image:: https://badge.fury.io/py/hug_explainable.svg
   :target: http://badge.fury.io/py/hug_explainable
.. |Build Status| image:: https://travis-ci.org/timothycrosley/hug_explainable.svg?branch=master
   :target: https://travis-ci.org/timothycrosley/hug_explainable
.. |Coverage Status| image:: https://coveralls.io/repos/timothycrosley/hug_explainable/badge.svg?branch=master&service=github
   :target: https://coveralls.io/github/timothycrosley/hug_explainable?branch=master
.. |License| image:: https://img.shields.io/github/license/mashape/apistatus.svg
   :target: https://pypi.python.org/pypi/hug_explainable/
.. |Join the chat at https://gitter.im/timothycrosley/hug\_explainable| image:: https://badges.gitter.im/Join%20Chat.svg
   :target: https://gitter.im/timothycrosley/hug_explainable?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
acalang 0.5.0
Aca, a functional programming language, and shitty toy
License: MIT

# Aca

> *Aca, a functional programming language, and shitty toy.*

Aca is a toy functional programming language initially inspired by ISWIM.  The
interpreter is currently written in Python.

## Install

```bash
$ pip install acalang
```

## Example

1. Command line usage

```bash
$ cat foo.aca
let main =
    dechurch 3

$ aca foo.aca
3

$ aca foo.aca -S    # `noeval' mode
(lambda x: dechurch(x))((lambda x: x)((lambda f: lambda x: (f(f(f(x)))))))

$ aca       # REPL
$ aca -S    # REPL with `noeval'
```

2. Lambda calculus

```
let main =
    (\x y f. f x y)
```

3. Standard library for basic datatypes

```
let a = zero
let b = succ zero
let main = dechurch b
-- 1
```

4. Sugar for Church numerals

```
let main = 0

-- This is identical to
{-
let main =
    (\x . x)
-}
```

5. Special builtin functions for debugging (decoded into Python value)

```
let main =
    dechurch 42
-- Output: 42

let main =
    debool true
-- Output: True

let main =
    dereal (neg (u2i 42))
-- Output: -42
```

6. Simple module import with `use`

```bash
$ foo.aca
let foo = 42

$ bar.aca
use foo

let main =
    dechurch foo

$ aca bar.aca
42
```

## Goals

- Before `v1.0.0`:
    + Untyped lambda calculus
- `v1.0.0`:
    + Simply typed lambda calculus
- `v2.0.0`:
    + System F

## License

MIT
pyrainbowterm 1.0
pyrainbowterm - Smart custom print function with color and log information support
License: MIT
Keywords: terminal colors xterm python colored output

# pyrainbowterm
pyrainbowterm - Smart custom print function with color and log information support.
Available in python 2.7.x and >3.2

:copyright: Copyright 2018 Dalwar Hossain

:scroll: License: MIT

This python package uses `print_function` from `__future__` module. To know more about `__future__.print_function`
please see this [documentation](https://docs.python.org/2/library/__future__.html)

#### Currently Supported Foreground Colors
- Black (black)
- Red (red)
- Green (green)
- Orange (orange)
- Blue (blue)
- Purple (purple)
- Cyan (cyan)
- Light Gray (light_gray)
- Dark Gray (dark_gray)
- Light Red (light_red)
- Light green (light_green)
- Yellow (yellow)
- Light Blue (light_blue)
- Pink (pink)
- Light Cyan (light_cyan)

#### Currently Supported Background Colors
- Black (black)
- Red (red)
- Green (green)
- Blue (blue)
- Orange (orange)
- Purple (purple)
- Cyan (cyan)
- Light Gray (light_gray)

#### Currently Supported Text Formats
- Bold (bold)
- Dark (dark)
- Underline (underline)
- Blink (blink) *\[depends on OS and terminal\]*
- Reverse (reverse)
- Strike Through (strike_through)
- Concealed (concealed)

#### Currently Supported Log Types
- Information (info)
- Error (error)
- Warning (warn)
- Hint (hint)
- Debug (debug)

#### Setup
```python
python setup.py install
```

#### Usage Example
```python
from __future__ import print_function
from pyraibowterm import *
print(value1, value2, sep='-', end='\n', file=sys.stdout,
      color='red', bg_color='orange', text_format='bold', log_type='info')

```

#### Sample Screen Capture
![Sample Screen Capture](https://github.com/dharif23/xtermcolors/blob/master/images/xtermcolors.png)

#### Bug Report
Please report bugs at -

:email: dalwar.hossain@protonmail.com
claptrap 0.2.0
Spew words using bigram frequencies
License: MIT

# claptrap

> I'll stop talking when I'm dead!

Generate random phrases using bigram frequencies. Counts some punctuation as objects when creating bigrams so it includes realistic punctuation.

Useful if you want something maybe humorous to put into text fields other than totally random strings.

## CLI

```bash
$ claptrap drac -l40 -n5
Sighted. Here; if trying to pull them ov
The horrible doubt himself shone with mo
Concealment of despair seized some islan
Of them on the room with a storey lowers
Whom? He made pets of my very happy look
```

Free-style [wub wub](https://www.youtube.com/watch?v=8Z5kjXvYpkk)

```bash
$ claptrap wub -l10-50 -n5
WUB; Wub wuB wUB wUB Wub
wUb. wUB Wub; WuB?
WUB: wub WuB WUb Wub WUb wuB WUB: wUB WUB WuB
wUB WuB wUB, wUb WUB.
WUb WUB wUB wuB WUB WuB
```

## Library

```python
import claptrap

phrasegen = claptrap.GraphPhraseGenerator.from_resource('dracula')

for _ in range(10):
    print(phrasegen.phrase([60, 80])
```

```text
Should tear or to the world! Jack, a little bargaining he remembered
Me what steps, as poor Harker's hand. Shall, and fed the left
Out two, and thicker and go to notice any particular part of
His wife dead! And feed! Oh, as much. I knew that churchyard
He said solemnly as we should have, but flew to cheer each of
His where to the snow, but we destroyed them both hands all my
Eyes closed behind us so thankful to two atmospheres, with the
Driver with dust had better not. The hand; instantly formed round
Her. He ask me. I told me not move forward hesitatingly; and
A few people are well, we have to home with the tide, for you
```