semvec/pypi-packages huggingface dataset:
xn-reverser 1.0.0
Enumerate possible ASCII text being spoofed by a particular IDN domain name

# xn-reverser
Enumerate possible ASCII text being spoofed by a particular IDN domain name

#### How it works
The basic algorithm for how this library works is as follows:

 - Convert raw `xn--` IDN domain to Unicode representation (using `idna` library)
 - For each Unicode char in the domain:
  - Check a pre-built mapping for possible ASCII characters that look similar to the Unicode character
  (i.e. plaintext ASCII characters that the Unicode character could be spoofing)
 - Compute the [Cartesian product](https://en.wikipedia.org/wiki/Cartesian_product) of the character lists (using `itertools.product`) to generate the possible plaintext domain names

#### Usage
```python
import xn_reverser

result = xn_reverser.xn_reverser("xn--80ak6aa92e.com")
print(result["possible_spoofed_ascii"])
```

xn_reverser() returns a dict containing the following elements:
 - `domain_raw` (string): the actual `xn--` raw IDN domain provided as the input
 - `domain_idn_rendered` (string): the rendered Unicode form of the IDN domain
 - `possible_spoofed_ascii` (list): a list of possible ASCII domains converted from the IDN form

#### Caveats
 - Does not parse subdomains. Must provide a base domain
PercentRD 0.1
Percent Random Return

# Percent Random
# 확률 랜덤 반환

`pip install PercentRD`

```py
from PercentRD.Percent import Random as RD
print(RD(100))
```

```
a
```

# 사용법
만약 10퍼센트 확률로 설정하고 한다면 만약 10퍼센트 확률로 의도한게 떴다면 a를 리턴. 하지만 10퍼센트 확률로 의도하지 않은게 떴다면 b가 뜹니다.

# Contacts
- [Mail](mailto:storm@stormdev.club)
- [STORM#9999](https://invite.gg/freeai)
- [Github](https://github.com/AODevStorm)