semvec/pypi-packages huggingface dataset:
flipfloperator 0.1.2
Sorry.

# Flipfloperator

This package implements the flip-flop operator in Python.

Install the package:

```
$ pip install flipfloperator
```

And then import the operator into your code:

```python
from flipfloperator import ꓺ
```

## Examples

Want to print out numbers between 1 to 20, but only after you reach 5 and stop
when you reach 10?

```python
>>> for i in range(1, 20 + 1):
...     if ꓺ(i == 5, i == 10):
...         print(i)
5
6
7
8
9
10
```

A handy text indenter:

```python
>>> for line in '''
... zero indentation
... indent
... inside block
... dedent
... after the block
... indent
... another block
... dedent
... end of file
... '''.strip().split('\n'):
...     if ꓺ(line.startswith('indent'), line.startswith('dedent')):
...         print('  ' + line)
...     else:
...         print(line)
zero indentation
  indent
  inside block
  dedent
after the block
  indent
  another block
  dedent
end of file
```

And you too can find adorable cat nicknames in text:

```python
>>> def bobo_nickname_finder(phrase):
...     name = []
...     phrase = phrase.replace('.', '').replace(',', '')
...     for word in phrase.split():
...         if ꓺ(word == 'Monsieur', word == 'Bobo'):
...             name.append(word)
...     return ' '.join(name)
>>> bobo_nickname_finder('''
... I have had a great day with this large boy, Monsieur Bobo.
... You may also know him as Monsieur 'Chonky' Bobo, or Monsieur
... 'Loves to Eat the Food' Bobo.
... ''')
"Monsieur Bobo Monsieur 'Chonky' Bobo Monsieur 'Loves to Eat the Food' Bobo"
```
histopy 0.6.2
Bash-style history for Python interactive interpreter

# Histopy

BASH-style history for the Python3 interactive interpreter.

Daniel W. Paley, 2018.  
Contact: dwpaley@gmail.com  
Github: https://github.com/dwpaley/histopy  


Quickstart: 
```
>>> import histopy as hp
>>> hp.history_full()     # like $ history
>>> hp.history()          # history of current session
>>> hp.recall(n)          # like $ !n
>>> hp.find('foo')        # print lines matching 'foo'
```

Known issues:
* recall_range(n1, n2) doesn't attempt to handle any exceptions. Would be nice
to prompt e.g. "recall_range stopped with exception ... on line ... Continue 
on line ...?"