semvec/pypi-packages huggingface dataset:
msnexport 0.2
Export your old xml MSN history to pdf.
License: MIT


<p align="center">
  <img src="https://github.com/charles-marceau/msnexport/raw/master/assets/logo.png"><br>
</p>

## About
MSNexport is a command line tool to export your old MSN history files (XML) to an easy to read format (PDF).

## Installation
Install using [pip](https://pip.pypa.io/en/stable/quickstart/):

```
$ pip install msnexport
```

## Usage
To use MSNexport, all you have to do is the following command:
```
$ msnexport INPUT_FILE_PATH OUTPUT_FILE_PATH
```

Example:
```
$ msnexport john_cena753233637775.xml myConvoWithJohn.pdf
```

## How to find your history files
MSN history files are usually found on the following path:
```
C:\Documents and Settings\%USERNAME%\Documents\My received files\
```
In this folder, there should be a folder for each MSN account used on the computer. These folders contain your history files (1 file per contact).
hexintcalc 0.10
Some functions to do mathematical operations on int/hex (automatic conversion of input dtypes - returns hex)
License: MIT
Keywords: hex,calculate,int,convert


# Some functions to do mathematical operations on int/hex (automatic conversion of input dtypes - returns hex)

### Input formats: 
Here are some variations you can pass to the functions:

```python
"0x00000000`00000003"
"0x00000003"
"00000000`00000003"
"00000003"
"3"
"0x3"
3
3.0 (float will be converted to int)
```


```python
from hexintcalc import (
    hadd,
    hbitwiseand,
    hdivide,
    heq,
    hge,
    hgt,
    hexcalc,
    hle,
    hlshift,
    hlt,
    hmod,
    hmul,
    hne,
    number_to_hex,
    number_to_int,
    hor_,
    hpow,
    hrshift,
    hsub,
    hxor,
)
n1=hadd(n1=50,n2='0xf',zfill=0, backtick=True, add0x=True)
print(n1, int(n1.replace("`", ""), base=16))
n1=hdivide(n1=50,n2='0xf',zfill=0, backtick=True, add0x=True)
print(n1, int(n1.replace("`", ""), base=16))
n1=hbitwiseand(n1=50,n2='0xf',zfill=8, backtick=False, add0x=False)
print(n1, int(n1.replace("`", ""), base=16))
n1=hxor(n1=50,n2=100,zfill=0, backtick=False, add0x=True)
print(n1, int(n1.replace("`", ""), base=16))
n1=hor_(n1=50,n2='0xf',zfill=0, backtick=True, add0x=False)
print(n1, int(n1.replace("`", ""), base=16))
n1=hpow(n1=50,n2='a',zfill=0, backtick=False, add0x=False)
print(n1, int(n1.replace("`", ""), base=16))
n1=hlshift(n1=50,n2='0xf',zfill=0, backtick=True, add0x=False)
print(n1, int(n1.replace("`", ""), base=16))
n1=hmod(n1=50,n2='0xf',zfill=0, backtick=False, add0x=False)
print(n1, int(n1.replace("`", ""), base=16))
n1=hmul(n1=50,n2='0xf',zfill=0, backtick=False, add0x=True)
print(n1, int(n1.replace("`", ""), base=16))
n1=hrshift(n1=50,n2='0xf',zfill=0, backtick=True, add0x=False)
print(n1, int(n1.replace("`", ""), base=16))
n1=hsub(n1=50,n2='0xf',zfill=0, backtick=True, add0x=False)
print(n1, int(n1.replace("`", ""), base=16))
n1=hlt(n1=50,n2='0xf',zfill=0, backtick=False, add0x=True)
print(n1, int(n1.replace("`", ""), base=16))
n1=hle(n1=50,n2='0xf',zfill=0, backtick=False, add0x=False)
print(n1, int(n1.replace("`", ""), base=16))
n1=heq(n1=50,n2='0xf',zfill=0, backtick=False, add0x=False)
print(n1, int(n1.replace("`", ""), base=16))
n1=hne(n1=50,n2='0xf',zfill=0, backtick=False, add0x=True)
print(n1, int(n1.replace("`", ""), base=16))
n1=hge(n1=50,n2='0xf',zfill=0, backtick=False, add0x=False)
print(n1, int(n1.replace("`", ""), base=16))
n1=hgt(n1=50,n2='0xf',zfill=0, backtick=False, add0x=False)
print(n1, int(n1.replace("`", ""), base=16))


0x00000000`00000041 65
0x00000000`00000003 3
00000002 2
0x56 86
00000000`0000003f 63
15af1d78b58c400 97656250000000000
00000000`00190000 1638400
5 5
0x2ee 750
00000000`00000000 0
00000000`00000023 35
0x0 0
0 0
0 0
0x1 1
1 1
1 1


number_to_int('ff')
Out[9]: 255

number_to_hex(512)
Out[7]: '0x200'

```
ipaddr-range 0.0.1.1
Generating a list of IP addresses of IPv4 and IPv6 versions.
License: MIT
Requires Python: >=3.11,<4.0

# ipaddr_range

This code provides a simple implementation of generating a list of IP addresses of IPv4 and IPv6 versions. 

### Installation

```shell
pip install ipaddr-range
```

### Usage

The code defines three classes:

* `IPAddressRange`: This is a data class that holds the start and end IP addresses.
* `IPv4AddressRange` and `IPv6AddressRange`: These classes inherit from `IPAddressRange` and represent IP ranges for IPv4 and IPv6 addresses respectively.
* `IPAddressGenerator`: This is an abstract class that provides an interface for generating IP addresses.
* `IPv4AddressGenerator` and `IPv6AddressGenerator`: These classes inherit from `IPAddressGenerator` and provide the implementation for generating IPv4 and IPv6 addresses respectively.

To generate a list of IP addresses, you need to create an instance of `IPv4AddressGenerator` or `IPv6AddressGenerator` and then call the generate method with the start and end IP addresses.

The generate method returns an object of type `IPAddressRange`, which can be used to traverse through the generated IP addresses.

### Example

```python
import logging

from ipaddr_range.iprange import IPv4AddressGenerator

if __name__ == '__main__':
    start_ip, end_ip = '192.168.2.1', '192.168.2.10'

    generator = IPv4AddressGenerator()
    ip_range = generator.generate(start_ip, end_ip)

    for ip in ip_range:
        logging.info(ip)
```

This code generates a list of IP addresses of the IPv4 version and logs the generated IP addresses.