Metadata-Version: 2.4
Name: fixnet
Version: 0.1.0
Summary: Advanced Cross-Platform Network Controller and Optimizer
Author-email: FIXMAN <fixman.services24hrs@gmail.com>
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: speedtest-cli
Requires-Dist: psutil
Requires-Dist: click

# FixNet 🚀

Advanced Cross-Platform Network Controller and Optimizer for Linux and Windows.

## Features

- **Path-Based Firewall Blocking**: Block outbound traffic for specific applications by path.
  - Linux: Powered by `nftables` + `cgroupsv2`.
  - Windows: Powered by PowerShell `NetFirewallRule`.
- **Network Speed Test**: Measure Ping, Download, and Upload speeds.
- **Network Optimization Engine**: 
  - Enable BBR (Linux).
  - Tune TCP buffers.
  - TCP Autotuning (Windows).
  - DNS Cache flushing.
- **Before/After Analysis**: See exactly how much your speed improved after optimization.
- **Auto Dependency Installer**: Automatically checks and installs system dependencies.

## Installation

```bash
pip install fixnet
```

Or from source:

```bash
git clone https://github.com/yourusername/FixNet.git
cd FixNet
pip install .
```

## Usage

### Run a Speed Test
```bash
fixnet speed
```

### Optimize Network
```bash
sudo fixnet optimize
```

### Block an Application
```bash
sudo fixnet block /usr/bin/firefox
```

### View Status
```bash
fixnet status
```

### Reset All Changes
```bash
sudo fixnet reset
```

## Requirements

### Linux
- Python 3.8+
- `nftables`
- Root privileges (for firewall and optimization)
- `cgroupsv2` support

### Windows
- Python 3.8+
- PowerShell
- Administrator privileges
