Skip to main content

A Python library for managing Cloudflare WARP routing on Windows

Project description

warprouter

A Python library for managing Cloudflare WARP routing on Windows.

Installation

pip install warprouter

Usage

from warprouter import WARPRouter

# Create router instance
router = WARPRouter()

# Get list of processes
processes = router.get_user_processes()
print("Available processes:", processes)

# Exclude specific processes from WARP
router.exclude_process(1234)  # Replace with actual PID

# Or include processes in WARP
router.include_process(5678)  # Replace with actual PID

# Apply configuration
success, message = router.apply_configuration()
print(message)

# Check WARP status
status, message = router.get_warp_status()
print(message)

# Reset all settings
router.reset_configuration()

Features

  • Get list of user processes
  • Exclude/include specific processes from WARP
  • Save and load configurations
  • Check WARP status
  • Reset to defaults

License

MIT License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

warprouter-0.1.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

warprouter-0.1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file warprouter-0.1.1.tar.gz.

File metadata

  • Download URL: warprouter-0.1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for warprouter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a84b913883d14b69dd55a3536bc0be19b0fc9608979f1f75eef71793a2ef54ab
MD5 46b3e3a6ae50f42c191e6705e2628bd9
BLAKE2b-256 90aba5f4d14a61d6e6117c9d4812fe074bcd6d30bac2903dea8a4172c2c4fbb7

See more details on using hashes here.

File details

Details for the file warprouter-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: warprouter-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for warprouter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dbcc287c44bfcf5e1307a77f76737e9615262cead5073957029392ea3ff1caf6
MD5 9c9f896ab1f64e610006f310c14bfe7b
BLAKE2b-256 2cb79ef2afc080cd71558620b94690aa2622b8dfc834d390a60ccd3ac6a6c557

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page