semvec/pypi-packages huggingface dataset:
artefacts-xray 0.2.0
Add your description here
Requires Python: >=3.10

Artefacts X-Ray
===============

Resource tracker for process trees rooted in a Python process.


Usage
-----

The tracker is a context manager:

```python
from axray import resource_tracking

with resource_tracking():
    work()
```

By default it tracks the process tree executed in the context, here everything that happens inside `work()`.


Comprehensive Demo
------------------

A demo script in this repository can report on a range of situations:

* Single process CPU only usage
* Single process memory only usage
* Single process CPU and memory usage
* Multi process CPU only usage
* Multi process memory only usage
* Multi process CPU and memory only usage

With some extras like reporting the time overhead of tracking (but indicative only, not statistically confirmed).

Assuming the `uv` tool is available:

```shell
./bin/demo
```

In the absence of `uv` the script requires Numpy and can be run with `python bin/demo`.


Test Suite
----------

The test suite uses PyTest and tries to cover relevant situations in resource tracking (over time it should go beyond what `bin/demo` covers).

Some tests are *slow* because they try to validate somewhat realistic situations (child processes not *too* short), as well as statistical relevance of reporting. Most tests can be run with:

```
uv run pytest -m "not slowest"   # Remove `uv run` if `pytest` available
```

This runs excluding the really slow tests. As the project progresses, other tests get marked as slow/slower/slowest to try to find good balance and configurability.
dnssec-cli 1.1.0
A professional CLI toolkit for DNSSEC scanning and DNS forensic analysis.
Requires Python: >=3.8

# 🔐 DNSSEC CLI — DNSSEC Scanner & Trust Chain Analyzer

A professional, developer-friendly command-line toolkit for **DNSSEC scanning**,  
**forensic DNS analysis**, and **trust chain validation**.

Designed for security researchers, penetration testers, SREs, and data scientists  
interested in DNS observability, DNSSEC validation, and domain integrity.

---

## ⭐ Features

- 🚀 Full DNSSEC scanner (`scan`)
- 🔍 Complete DNSSEC chain validation (`validate`)
- 🌳 DNSSEC trust tree visualization (`tree`)
- 🔗 Trust chain summary (`chain`)

---

## 📦 Installation

### From PyPI (recommended)

```bash
pip install dnssec-cli
```

### From Source (GitHub)

```bash
git clone https://github.com/<TU-USUARIO>/dnssec-cli
cd dnssec-cli
pip install .
```

---

## 🧰 Commands

### 🔍 Scan a domain

```bash
dnssec-cli scan unam.mx
```

With validation:

```bash
dnssec-cli scan unam.mx --validate
```

JSON mode:

```bash
dnssec-cli scan unam.mx --json
```

---

### 🔐 Validate DNSSEC

```bash
dnssec-cli validate tec.mx
```

Example output:

```
└── unam.mx.
    ✔ DS OK (keytag 54058)
    └── mx.
        ✔ DS OK (keytag 12884)
        └── .
            ✔ Root trusted (ICANN KSK)
```

---

### 🌳 Print Trust Tree

```bash
dnssec-cli tree semarnat.gob.mx
```

---

### 🔗 Chain Summary

```bash
dnssec-cli chain dnssec-failed.org
```

Example:

```
dnssec-failed.org. → org. → . → BROKEN
```

---

## 🧠 Roadmap (Data Science + AI)

### 📊 DNS Statistical Toolkit

- TTL distribution metrics
- Unstable DNS patterns
- RRset churn analysis
- Anomaly scoring

### 🤖 AI Models

- DNSSEC risk scoring
- Suspicious domain classifier
- Predictive alerts for key rollover failures

### 🌐 Web Dashboard (Flask)

- Visual DNSSEC tree
- REST API
- Reports and analytics

---

## 📁 Project Structure

```
dnssec-cli/
│
├── dnssec_tool/
│   ├── cli.py
│   ├── dig.py
│   ├── parser.py
│   ├── validator.py
│   ├── resolver_chain.py
│   └── __init__.py
│
├── README.md
├── LICENSE
└── pyproject.toml
```

---

## 🤝 Contributing

Pull requests welcome.

---

## 📄 License

MIT License © 2025 — Julio Briones

---

## ⭐ Support

If you like this project, give it a ⭐ on GitHub!
deltacd 0.9.2
DeltaCD, Delta Channel Depletion Model
Requires Python: <3.13,>=3.9
Keywords: deltacd, hydrology

===============================
DeltaCD
===============================

DeltaCD is a numerical model to estimate the Delta channel depletion. DeltaCD is a successor of DETAW-DCD, re-written in pure Python. More information about DeltaCD can be found at `Chapter 3 of one of our Annual Reports <https://og-production-open-data-cnra-892364687672.s3.amazonaws.com/resources/dcabdb20-e638-4cf5-b199-78e78f0d482f/2023-bay-delta-annual-report.pdf?Content-Type=application%2Fpdf&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJJIENTAPKHZMIPXQ%2F20240131%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240131T230242Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=e806d752d23a4c74d87efedb159ded16cb7ceb3bede78628ed759986fd4179cd>`_.

An online documentation is available at https://cadwrdeltamodeling.github.io/deltacd/.

Installation
===============================

Developer Installation
----------------------

For developer to use the source code directly, follow this section.

First, clone the DeltaCD repository from GitHub, navigate into it.

Create an environment with a suitable name, for example, *deltacd*:

``conda create -n deltacd python=3.11``

Once a new environment is created, activate it:

``conda activate deltacd``

Install DeltaCD with ``-e``, editable option:

``pip install -e .``

Usage
===============================

DeltaCD package has two models, DETAW and DCD. They can be launched from the command line (after a Python environment with DeltaCD is activated).

DETAW needs to run first, for example:

``detaw detaw_dsm2.yaml``

Followed by DCD:

``dcd dcd_dsm2.yaml``

Example yaml and input files are provided in the *examples* directory in DeltaCD package.

While not required, it would be a good practice to make a copy of the *examples* directory to a project or working directory and rename it suitably.


Getting Help
===============================

Any questions and issues? We would like to help and improve the package.

For any questions, please contact DeltaCD developers. Please report bugs and issues at `GitHub issues <https://github.com/CADWRDeltaModeling/deltacd/issues>`_.