semvec/pypi-packages huggingface dataset:
potd-MxLinux 0.0.3
ARRIS password of the day generator
Requires Python: >=3.6

# POTD-Gen
Python library to generate an ARRIS-compatible password of the day.
Inspired by [arrispwgen](https://github.com/borfast/arrispwgen).

The original author essentially reverse-engineered the algorithm after poking modems. Thank you so much @borfast for this incredible work. I ran into a few niche issues based on my needs/specific seed that I hope this project will rectify.

First, the upstream project seems to lock you to a seed between 8-10 characters. The original ARRIS tooling to generate these passwords actually only allows seeds between 4-8 characters. (I find this strange, considering that the default ARRIS seed is 10 characters in length)

Second, if you supply a seed of less than 10 characters, the upstream project will present a password of the same number of characters. So an 8 character seed will yield the *correct* first 8 characters of the password, but will not provide the *full* password.

Third, if you supply a seed of less than 8 characters, the upstream project does not appear to output anything at all. The way ARRIS handles the seeds is to iterate through the seed, appending each character to the end of the supplied seed. For example, a seed of "ABCD" is a *valid seed*, however in effect it will become "ABCDABCDAB".

Fourth, as much as I would love to contribute upstream fixes rather than a fork/port, the upstream project was written in TypeScript and packaged via NPM. I do not have experience with either of these technologies, and as such a port became much more viable.

# Usage
## Single date
The `generate()` function accepts two keyword arguments.
* `potd_date`: Accepts a single date in ISO format (i.e., 2021-07-23)
* `seed`: Accepts a seed between 4 and 8 characters
### Using defaults (current date, ARRIS default seed)
```python
from potd import generate

generate()
```

Output (Assuming date is 2021-07-23): `O9W2Q1O16V`

### Using custom date, custom seed
```python
from potd import generate

generate(potd_date="2021-07-23", seed="ABCDABCD")
```

Output: `F32CAZCJLU`

## Range of dates
The `generate_multiple()` function takes a start and end date, as well as an optional seed.

### Using default seed
```python
from potd import generate_multiple

generate_multiple(start_date="2021-07-23", end_date="2022-07-23")
```

Output (truncated):
```
{
    '07/23/21': 'O9W2Q1O16V',
    '07/24/21': '2SEIWWLZL1',
    '07/25/21': 'ZOU3MWRZN0',
    ...
}
```

### Using custom seed
```python
from potd import generate_multiple

generate_multiple(
    start_date="2021-07-23",
    "end_date="2022-07-23",
    seed="ABCDABCD")
```

Output (truncated):
```
{
    '07/23/21': 'F32CAZCJLU',
    '07/24/21': '95L0GFUNCC',
    '07/25/21': 'CSBLM119CH',
    ...
}
```
suffuse-log 0.1
Log that utilizes ansi-codes to color and stylize log messages. Allows for configurable/conditional styling.


# suffuse_log

![Screenshot 2021-07-23 113324](https://user-images.githubusercontent.com/84053244/126813501-a5f428b8-cc96-4c75-9d8b-9735f30f583a.png)

### Overview
suffuse_log is a python library that specializes in ansi-formatting of log messages. It targets 
local scripts that want to output colored logs to a command line terminal. 

**If you are leveraging logging plugins like Splunk, I don't recommend you use this.**

However, If you have CLI's that you want to make more engaging, pretty, or additionally communicate their meaning with color,
then this is the library for you. 

### Install

`pip install suffuse_log`

### Getting Started

```
from suffuse_log import suffuse_formatter

logger = suffuse_formatter.defaultConfig(
    name="my-suffuse-log", log_level_no=10
)

x.info('this is my message')
```


### Features

- Individually color logging attributes!
- Conditionally color multiple logging attributes based on glob patterns or user-defined callables
- Defaults to the popular colorama ansi library
- Allows users to supply their own ansi-style dictionary
idma 0.1
For disambiguation of a natural language corpus
Requires Python: >=3.7

# INTRADOMAIN AMBIGUITY

DISAMBIGUATE INTRADOMAIN CONTEXTUAL AMBIGUITY

## Instructions

1. Install:

```
pip install intradomain-ambiguity
```

2. Disambiguate a certain corpus:

```python

from idma import disambiguation

# initialize context object (to disambiguate a corpus)
contextual = disambiguation.disambiguate()