semvec/pypi-packages huggingface dataset:
harpy-project 2.0.2
Harpy who is using ARP

# hARPy

Active/passive ARP discovery tool.

---

# Features

- Suspicious packet detection.
- Active or passive scan option.
- Ability to send packets from a fake IP address.
- Option to determine the amount of ARP requests to be sent.
- Option to determine the sleep time between each ARP request.

---

# Supported Platforms

Linux only.

---

# Preparation (APT)

```shell script
# apt update
# apt install python3 python3-pip
```

---

# Installation

```shell script
# pip3 install -U git+https://github.com/serhatcelik/hARPy.git@master#egg=hARPy
```

---

# Usage

```shell script
# harpy
```
```
usage: harpy [-h] [-c count] [-i interface] [-n node] [-p] -r range [-s sleep] [-v]

Use at your own risk!

optional arguments:
  -h, --help    show this help message and exit
  -c count      number of times to send each arp request (def: 1)
  -i interface  the network device to send/sniff packets
  -n node       last ip octet to be used to send packets (def: 43)
  -p            enable passive mode, do not send any packets
  -s sleep      time to sleep between each arp request (def: 3)
  -v            show program version and exit

required arguments:
  -r range      scan a given range, e.g. 10.0.0.1/8 (valid: /8, /16, /24)

Written by Serhat Çelik <https://github.com/serhatcelik>
```

---

# Examples

```shell script
# harpy -r 192.168.2.1/24
```
```
|_  _  _ _      | TOTAL HOST: 3
| |(_|| |_)\/   | TOTAL REQ.: 1
        |  /    | TOTAL REP.: 2
-----------------------------------------------------------------------------------------------------
IP ADDRESS      | ETH MAC ADDRESS   | ARP MAC ADDRESS   | REQ.   | REP.   | VENDOR
-----------------------------------------------------------------------------------------------------
192.168.2.1     | 18:28:61:xx:xx:xx | 18:28:61:xx:xx:xx | 0      | 1      | airties wireless networks
192.168.2.1     | c8:60:00:xx:xx:xx | 18:28:61:xx:xx:xx | 1      | 0      | asustek computer inc.
192.168.2.240   | 00:03:93:xx:xx:xx | 00:03:93:xx:xx:xx | 0      | 1      | apple, inc.
```

---

# Uninstallation

```shell script
# pip3 uninstall harpy
```

---

# Contact

If you find a bug or have a suggestion, please consider [creating a pull request](https://github.com/serhatcelik/hARPy/pulls) to contact with me.
nbaHeadshots 0.0.1
A package for downloading NBA player headshots from stats.NBA.com

# nbaHeadshots

#### A package for downloading NBA player headshots from stats.NBA.com

##### Development Version: v0.0.1

`nbaHeadshots` was created to make player headsnhots from `www.stats.nba.com` more accessible and easilly downloadable. 

## Installation
```commandline
pip install nbaHeadshots
```

## Example Usage
Currently the package only consists of two functions:
* `getHeadshotById(id, saveFolder, fileName=None)`
* `getAllHeadshots(saveFolder)`


Player Id's are based on `www.stats.nba.com` player ids. [nba_api](https://github.com/swar/nba_api) is an easy way to get a list of these player ids and its also useful for getting nab statistics. There is a json file of basic player information loacted at `src/playerInfo.json`. Image files are saved in .png format. Different formats can be used by specifying fileName.

```python
from nbaHeadshots import getHeadshotById, getAllHeadshots

# Lebron James headshot will be saved as lebron.jpg in saveHere folder
getHeadshotById(2544, folder="saveHere/", fileName="lebron.jpg")

# Lebron James headshot will be saved as 2544.png in current directory
getHeadshotById(2544)

# All headshots will be saved as "id".png in saveHere folder
getAllHeadshots("saveHere/")
```