multiplayerlib 0.0.1__tar.gz → 0.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: multiplayerlib
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: MultiplayerLib - A lightweight Python multiplayer networking library
5
5
  Author: griffingreat1
6
6
  Requires-Python: >=3.10
@@ -17,38 +17,37 @@ MultiplayerLib is a lightweight UDP networking library designed for simple real-
17
17
  ---
18
18
 
19
19
  ## Table of Contents
20
- - [Features](#-features)
21
- - [Installation](#-installation)
20
+ - [Features](#features)
21
+ - [Installation](#installation)
22
22
  - [Quick Start](#quick-start-example)
23
23
  - [Architecture Overview](#architecture-overview)
24
24
  - [API Reference](#api-reference)
25
- - [Packet Examples](#packet-examples-and-typical-usage-in-a-game)
25
+ - [Packet Examples](#packet-examples)
26
26
  - [Troubleshooting](#troubleshooting--tips)
27
27
  - [Security Notes](#security-notes)
28
28
  - [Contributing](#contributing)
29
29
 
30
30
  ---
31
31
 
32
- ## Features
32
+ ## Features
33
33
 
34
- - 🚀 UDP networking for low-latency gameplay
35
- - 👥 Multi-client server support
36
- - 🔄 Real-time state synchronization
37
- - 🗜️ Optional packet compression using zlib
38
- - 🔐 Optional encryption using Fernet (AES) + PBKDF2 key derivation
39
- - 📦 JSON-based packet formatting (human readable)
40
- - 🧵 Background threaded receive loop
41
- - 🛡️ Safe send/receive queue system
42
- - 🔧 Minimal API surface: `NetworkManager`, `EncryptionManager`
34
+ - UDP networking for low-latency gameplay
35
+ - Multi-client server support
36
+ - Real-time state synchronization
37
+ - Optional packet compression using zlib
38
+ - Optional encryption using Fernet (AES) + PBKDF2 key derivation
39
+ - JSON-based packet formatting (human readable)
40
+ - Background threaded receive loop
41
+ - Safe send/receive queue system
42
+ - Minimal API surface: `NetworkManager`, `EncryptionManager`
43
43
 
44
44
  ---
45
45
 
46
- ## 📦 Installation
46
+ ## Installation
47
47
 
48
48
  run the install command to install the package
49
49
 
50
- ```pip install multiplayerlib
51
- ```
50
+ ```pip install multiplayerlib```
52
51
 
53
52
  ---
54
53
 
@@ -56,7 +55,8 @@ run the install command to install the package
56
55
 
57
56
  ### Host (Server)
58
57
 
59
- ```py
58
+ ```
59
+ py
60
60
  mgr = NetworkManager(
61
61
  is_host=True,
62
62
  base_port=5000,
@@ -5,38 +5,37 @@ MultiplayerLib is a lightweight UDP networking library designed for simple real-
5
5
  ---
6
6
 
7
7
  ## Table of Contents
8
- - [Features](#-features)
9
- - [Installation](#-installation)
8
+ - [Features](#features)
9
+ - [Installation](#installation)
10
10
  - [Quick Start](#quick-start-example)
11
11
  - [Architecture Overview](#architecture-overview)
12
12
  - [API Reference](#api-reference)
13
- - [Packet Examples](#packet-examples-and-typical-usage-in-a-game)
13
+ - [Packet Examples](#packet-examples)
14
14
  - [Troubleshooting](#troubleshooting--tips)
15
15
  - [Security Notes](#security-notes)
16
16
  - [Contributing](#contributing)
17
17
 
18
18
  ---
19
19
 
20
- ## Features
20
+ ## Features
21
21
 
22
- - 🚀 UDP networking for low-latency gameplay
23
- - 👥 Multi-client server support
24
- - 🔄 Real-time state synchronization
25
- - 🗜️ Optional packet compression using zlib
26
- - 🔐 Optional encryption using Fernet (AES) + PBKDF2 key derivation
27
- - 📦 JSON-based packet formatting (human readable)
28
- - 🧵 Background threaded receive loop
29
- - 🛡️ Safe send/receive queue system
30
- - 🔧 Minimal API surface: `NetworkManager`, `EncryptionManager`
22
+ - UDP networking for low-latency gameplay
23
+ - Multi-client server support
24
+ - Real-time state synchronization
25
+ - Optional packet compression using zlib
26
+ - Optional encryption using Fernet (AES) + PBKDF2 key derivation
27
+ - JSON-based packet formatting (human readable)
28
+ - Background threaded receive loop
29
+ - Safe send/receive queue system
30
+ - Minimal API surface: `NetworkManager`, `EncryptionManager`
31
31
 
32
32
  ---
33
33
 
34
- ## 📦 Installation
34
+ ## Installation
35
35
 
36
36
  run the install command to install the package
37
37
 
38
- ```pip install multiplayerlib
39
- ```
38
+ ```pip install multiplayerlib```
40
39
 
41
40
  ---
42
41
 
@@ -44,7 +43,8 @@ run the install command to install the package
44
43
 
45
44
  ### Host (Server)
46
45
 
47
- ```py
46
+ ```
47
+ py
48
48
  mgr = NetworkManager(
49
49
  is_host=True,
50
50
  base_port=5000,
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "multiplayerlib"
3
- version = "0.0.1"
3
+ version = "0.0.2"
4
4
  description = "MultiplayerLib - A lightweight Python multiplayer networking library"
5
5
  requires-python = ">=3.10"
6
6
  dependencies = [
@@ -7,7 +7,6 @@ from cryptography.hazmat.primitives import hashes
7
7
  from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
8
8
  import base64
9
9
  import sys
10
- import zlib
11
10
 
12
11
  class EncryptionManager:
13
12
  def __init__(self,key,salt):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: multiplayerlib
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: MultiplayerLib - A lightweight Python multiplayer networking library
5
5
  Author: griffingreat1
6
6
  Requires-Python: >=3.10
@@ -17,38 +17,37 @@ MultiplayerLib is a lightweight UDP networking library designed for simple real-
17
17
  ---
18
18
 
19
19
  ## Table of Contents
20
- - [Features](#-features)
21
- - [Installation](#-installation)
20
+ - [Features](#features)
21
+ - [Installation](#installation)
22
22
  - [Quick Start](#quick-start-example)
23
23
  - [Architecture Overview](#architecture-overview)
24
24
  - [API Reference](#api-reference)
25
- - [Packet Examples](#packet-examples-and-typical-usage-in-a-game)
25
+ - [Packet Examples](#packet-examples)
26
26
  - [Troubleshooting](#troubleshooting--tips)
27
27
  - [Security Notes](#security-notes)
28
28
  - [Contributing](#contributing)
29
29
 
30
30
  ---
31
31
 
32
- ## Features
32
+ ## Features
33
33
 
34
- - 🚀 UDP networking for low-latency gameplay
35
- - 👥 Multi-client server support
36
- - 🔄 Real-time state synchronization
37
- - 🗜️ Optional packet compression using zlib
38
- - 🔐 Optional encryption using Fernet (AES) + PBKDF2 key derivation
39
- - 📦 JSON-based packet formatting (human readable)
40
- - 🧵 Background threaded receive loop
41
- - 🛡️ Safe send/receive queue system
42
- - 🔧 Minimal API surface: `NetworkManager`, `EncryptionManager`
34
+ - UDP networking for low-latency gameplay
35
+ - Multi-client server support
36
+ - Real-time state synchronization
37
+ - Optional packet compression using zlib
38
+ - Optional encryption using Fernet (AES) + PBKDF2 key derivation
39
+ - JSON-based packet formatting (human readable)
40
+ - Background threaded receive loop
41
+ - Safe send/receive queue system
42
+ - Minimal API surface: `NetworkManager`, `EncryptionManager`
43
43
 
44
44
  ---
45
45
 
46
- ## 📦 Installation
46
+ ## Installation
47
47
 
48
48
  run the install command to install the package
49
49
 
50
- ```pip install multiplayerlib
51
- ```
50
+ ```pip install multiplayerlib```
52
51
 
53
52
  ---
54
53
 
@@ -56,7 +55,8 @@ run the install command to install the package
56
55
 
57
56
  ### Host (Server)
58
57
 
59
- ```py
58
+ ```
59
+ py
60
60
  mgr = NetworkManager(
61
61
  is_host=True,
62
62
  base_port=5000,
File without changes
File without changes