Updated usage

This commit is contained in:
Dionysus 2024-11-26 16:18:57 -05:00
parent 68b23feee7
commit 0f2a944556
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -14,24 +14,16 @@ PyLCG is a high-performance Python implementation of a memory-efficient IP addre
## Installation
### From PyPI
```bash
pip install pylcg
```
### From Source
```bash
git clone https://github.com/acidvegas/pylcg
cd pylcg
chmod +x pylcg.py
```
## Usage
### Command Line
```bash
./pylcg.py 192.168.0.0/16 --shard-num 1 --total-shards 4 --seed 12345
pylcg 192.168.0.0/16 --shard-num 1 --total-shards 4 --seed 12345
```
### As a Library