Skip to main content

V2.0 - Pktool

The update to PKTool v2.0 was more than just a software patch for Dr. Elena Vance; it was the key to unlocking years of stagnant research.

For a decade, Elena had worked in the quiet corners of global health, trying to predict safe human dosages for a new class of anti-malarial compounds. Her old tools were clunky, running on outdated code that often crashed just as the simulations reached their peak. But then came the PKTool v2.0 update, a complete rewrite in Python that promised scientific enhancements and a sleek, user-friendly interface.

The morning the software arrived, the lab was unusually quiet. Elena pulled up the new dashboard, noticing the refined concentration-time plots and the intuitive navigation that allowed her to zoom into the terminal slope of the simulation with a single click. Unlike its predecessor, v2.0 didn't just guess; it used calculated pharmacokinetic (PK) parameters to bridge the gap between animal testing and human reality.

She spent the afternoon feeding the tool data she had painstakingly extracted using PK Solver, an Excel add-in that turned raw plasma profiles into the precise variables the PKTool required. As the software processed the info, Elena watched the dose prediction curves stabilize. For the first time, the "half-life" and "volume of distribution" metrics didn't look like static numbers—they looked like a map to a cure.

By sunset, Elena had her answer. The tool predicted a dosage that was both effective and safe, potentially saving thousands of lives in regions where malaria remained a constant threat. She exported the final data, the file names neatly organized by the tool’s new directory memory feature, and felt a rare sense of victory. PKTool v2.0 wasn't just a piece of code; it was the final lens she needed to see the path forward. 0 or how it integrates with PK Solver? Global health compound design webinars

"PKTool v2.0" primarily refers to two distinct software applications: a specialized pharmacokinetic (PK) analysis tool for scientific research and a popular Excel productivity add-in.

This article provides an in-depth look at both versions to help you identify and utilize the one that fits your needs. 1. PKTool v2.0: Pharmacokinetic Dose Prediction

In the scientific and pharmaceutical fields, PKTool v2.0 is a free software package designed for pharmacokinetic analysis and dose prediction. It is often used by researchers to predict human drug doses based on non-clinical data from various species. Key Features and Enhancements pktool v2.0

This version represents a significant upgrade from version 1.0, originally developed by Xenologic.

Scientific Enhancements: While v1.0 established the foundation, v2.0 introduces refined algorithms for more accurate dose predictions.

Python Re-implementation: Version 2.0 has been completely rewritten in Python to improve accessibility and long-term maintainability.

Usability Improvements: Features an updated layout, improved font rendering, better screen resolution support, and more extensive tooltips.

Data Management: The tool now remembers directories, displays file names clearly, and has a refined system for exporting concentration-time data. How it Works

Unlike the PK Solver add-in, which analyzes raw experimental data to calculate parameters, PKTool v2.0 assumes these parameters are already known. It uses those parameters (like Cmaxcap C sub m a x end-sub AUCcap A cap U cap C ) to simulate and predict how a drug will behave in humans. 2. PK's Utility Tool v2.0: Excel Productivity

For data analysts and business professionals, PK's Utility Tool v2.0 (often searched as "pktool") is a free Excel add-in created by PK: An Excel Expert. It is designed to automate repetitive tasks and extend Excel's native capabilities. Top Productivity Features The update to PKTool v2

This version carries over all functions from v1.0 while adding several new powerful tools:

Worksheet Manager: A central hub to search, hide/unhide (including "Very Hidden"), rename, and reorder sheets in bulk.

Data Segregation Tool: Automatically splits a large dataset into multiple separate Excel files or worksheets based on specific criteria.

PDF Integration: Allows users with Office 2013 or higher to convert PDF data directly into Excel by routing it through MS Word.

Smart Entry Tools: Includes a Searchable Drop-down List for long data validation menus and a Date/Time Picker for fast manual entry.

Selection Utilities: Quick tools for "Trim and Clean" (removing leading/trailing zeros) and advanced range selection. Installation Guide To install this version of the tool:

Download: Get the .zip file from the official PK: An Excel Expert product page. Scripting and Automation For DevOps and SRE teams,

Unblock: Right-click the extracted .xlam file, select Properties, and check the Unblock box.

Add-in Manager: In Excel, go to File > Options > Add-ins. Select "Excel Add-ins" at the bottom and click Go. Browse to your file and select it. 3. Comparison at a Glance Scientific PKTool v2.0 PK's Excel Utility v2.0 Primary Audience Pharmacologists / Researchers Data Analysts / Office Workers Primary Use Dose prediction & simulation Excel automation & productivity Platform Standalone Python-based app Excel Add-in (.xlam) Cost Free (Open Source) Key Output Species dose scales / AUC plots Segregated data / Managed sheets

Whether you are scaling drug doses for a clinical trial or managing complex financial spreadsheets, t0 for you. Scientific users can find resources on the SourceForge repository, while Excel power users should visit PK: An Excel Expert. PK's Utility Tool V3.0 - Free download


Scripting and Automation

For DevOps and SRE teams, pktool v2.0 shines in CI/CD pipelines. It supports machine-readable outputs (JSON Lines, Avro, Parquet) and can integrate with:

  • Prometheus: Export packet rate, error ratio, and protocol distribution via the --prometheus flag.
  • Elasticsearch: Stream captures directly to a Logstash endpoint using --output elastic://.
  • Slack/Webhooks: Send on-the-fly alerts when anomalous traffic patterns are detected.

Example for a k8s sidecar container:

- name: pktool-sidecar
  image: pktool/v2.0
  args:
    - capture
    - --interface
    - eth0
    - --filter
    - "not arp and not stp"
    - --output
    - "tcp://elasticsearch:9200/_bulk"

Monitor interface with 1s refresh, show only ARP & DNS

pktool monitor -i eth0 -f "arp or udp port 53"

13. Getting Help

pktool help
pktool help capture
man pktool

Online:


pktool v2.0 – because packets shouldn’t be a mystery.
Released under MIT License. © 2025 pktool developers.

8. Advanced Validation and Diagnostics

  • Certificate Chain Verification: Implement detailed certificate chain verification to help diagnose trust issues.
  • Key/Certificate Usage Analysis: Offer tools to analyze and report on key and certificate usage, helping with audits and compliance.

JSON example (streamable)


  "packets": [
"timestamp": "2025-03-18T10:37:12.123Z",
      "length": 74,
      "eth": "src": "aa:bb:cc:dd:ee:ff", "dst": "00:11:22:33:44:55",
      "ip": "src": "192.168.1.100", "dst": "1.1.1.1", "ttl": 64,
      "tcp": "sport": 54321, "dport": 80, "flags": "SYN"
]