From 732a9c648250a5eca81e391b8c9627ea198e34e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20De=20Keersmaeker?=
 <francois.dekeersmaeker@uclouvain.be>
Date: Thu, 11 Jul 2024 11:52:04 +0200
Subject: [PATCH] Updated init and README

---
 README.md               | 13 ++++++++++++-
 pcap_fuzzer/__init__.py |  5 ++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index e88d766..c146484 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,17 @@ pip install -r requirements.txt
 
 ## Usage
 
+### From PyPI
+
+```bash
+pip install pcap-fuzzer
+```
+
+See documentation: [https://pypi.org/project/pcap-fuzzer/](https://pypi.org/project/pcap-fuzzer/).
+
+
+### Directly from sources
+
 ```bash
 python3 pcap_fuzzer.py [-h] [-o OUTPUT] [-r RANDOM_RANGE] [-n PACKET_NUMBER] [-d] pcap [pcap ...]
 ```
@@ -50,7 +61,7 @@ It will be created if it doesn't exist.
 * `-d`, `--dry-run`: don't write the output PCAP file (but still write the CSV log file)
 
 
-## Supported protocols
+## Supported protocols (for now)
 
 * Datalink Layer (2)
   * ARP
diff --git a/pcap_fuzzer/__init__.py b/pcap_fuzzer/__init__.py
index 866076d..28270ee 100644
--- a/pcap_fuzzer/__init__.py
+++ b/pcap_fuzzer/__init__.py
@@ -2,5 +2,8 @@
 Initialization script for package `pcap_fuzzer`.
 """
 
-from packet import *
 from pcap_fuzzer import fuzz_pcaps
+
+__all__ = [
+    "fuzz_pcaps"
+]
-- 
GitLab