semvec/pypi-packages huggingface dataset:
trifold 0.4.3
A quick way to deploy static websites to a fast, cheap, and reliable CDN.
Requires Python: >=3.13

# trifold

`trifold` is a tool to serve static websites using a content delivery network (CDN).

**[Documentation & Quickstart](https://jpt.sh/projects/trifold/)**

**[Repository](https://codeberg.org/jpt/trifold/)**

This allows painless deployment of sites consisting entirely of static assets (HTML, CSS, JS, images) for pennies a month.
It is the perfect companion to deploy sites built with static-site generators like [Hugo](https://gohugo.io), [Zola](https://getzola.org), [Quarto](https://quarto.org), or [zensical](https://zensical.org).

The tool provides a simple CLI that allows:

- initializing new projects without touching the CDN web interface
- syncing local HTML/CSS/JS/etc. to the CDN & clearing the cache
- configuring a custom domain name to point at your files, with SSL enabled
- setting a maximum monthly cost to avoid surprise bills
- using CDN edge functions to support redirects
ipfromwebpage 1.3.0
Takes a webpage and outputs all ip addresses it finds
Requires Python: >=3.10
Keywords: ipfromwebpage

## ipfromwebpage

[![PyPi](https://img.shields.io/pypi/v/ipfromwebpage.svg)](https://pypi.python.org/pypi/ipfromwebpage)
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/shepherdjay/ipfromwebpage/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/shepherdjay/ipfromwebpage/tree/master)
[![codecov](https://codecov.io/gh/shepherdjay/ipfromwebpage/branch/master/graph/badge.svg)](https://codecov.io/gh/shepherdjay/ipfromwebpage)

### Summary:
Takes a webpage or text string and extracts IPv4 and IPv6 addresses. Then prints the IPs (aggregated where possible).

#### Quickstart:

Run using `uvx ipfromwebpage`

**Usage Options:**
1. Extract IPs from a URL: `ipfromwebpage <url>` where `<url>` is the fully qualified URL you wish to scrape for IPs.
2. Extract IPs from text: `ipfromwebpage --input-string "<text>"` where `<text>` is any plain text containing IP addresses (e.g., copy-pasted from a website).
3. Include reserved IPs: Add `--no-exclusions` flag to include addresses in reserved ranges (0.0.0.0/8, 224.0.0.0/3) that are normally filtered out.

#### Code Examples:

**Example 1: Scraping from a URL**
```
ipfromwebpage https://www.cloudflare.com/ips
================
IPv4 addresses:
103.21.244.0/22
103.22.200.0/22
103.31.4.0/22
104.16.0.0/12
108.162.192.0/18
131.0.72.0/22
141.101.64.0/18
162.158.0.0/15
172.64.0.0/13
173.245.48.0/20
188.114.96.0/20
190.93.240.0/20
197.234.240.0/22
198.41.128.0/17
================
IPv6 addresses:
2400:cb00::/32
2405:8100::/32
2405:b500::/32
2606:4700::/32
2803:f800::/32
2a06:98c0::/29
2c0f:f248::/32
```

**Example 2: Extracting from text string (e.g., copy-pasted content)**
```
ipfromwebpage --input-string "Server IPs: 10.0.0.1, 192.168.1.1
Network range: 172.16.0.0/24
IPv6: 2001:db8::1"
================
IPv4 addresses:
10.0.0.1
172.16.0.0/24
192.168.1.1
================
IPv6 addresses:
2001:db8::1
```

**Example 3: Including reserved/multicast IPs (e.g., from terraform output)**
```
ipfromwebpage --input-string "242.143.224.100/32, 242.143.224.101/32" --no-exclusions
================
IPv4 addresses:
242.143.224.100/31
================
IPv6 addresses:
No addresses found when scraping input string
```

Note: By default, addresses in the ranges 0.0.0.0/8 and 224.0.0.0/3 are excluded as they are typically reserved or multicast addresses. Use `--no-exclusions` to include them.
simplify-vcd 1.1.0
Clip, trim and reduce VCD files
Requires Python: >=3.11
Keywords: checking, connectivity, design, drawing, eda, electronics, logic, simulation, verification, vhdl

# Simplify VCD

> Clip, trim and reduce VCD files

Simplify VCD is a command-line tool designed to make working with Value
Change Dump (VCD) files more efficient and faster. VCD files can
quickly become large and unwieldy, making analysis and processing slow
and cumbersome. This tool enables users to clip sections of VCD files,
trim irrelevant data, and reduce the resolution to a more manageable
timescale, significantly improving processing speed and usability.

It started life as a simple script to convert the `analyzer` captures
from my Glasgow Digital Interface Explorer down to the micro-second
scale to speed up analysing them with Sigrok & Pulseview, but it grew
arms and legs until it became what you see in this repo.

I can't vouch it will play nicely with the VCDs produced by your
favorite tool, but it's managed fine with the captures I've made with
my Glasgow. Pull Requests to support other, more complicated, VCD files
are welcome!

## Install

```shell
$ pip install simplify-vcd
```

## Usage

### Snip a single frame from the stream and reduce the resolution

```shell
$ simplify-vcd \
    --truncate-before=124687us \
    --truncate-after=132000000ns \
    --output-timescale=1us \
    examples/input-1.vcd \
    examples/output-1.vcd

$ sigrok-cli -i examples/output-1.vcd -P uart:baudrate=9600,modbus | \
  grep modbus
modbus-1: Slave ID: 32
modbus-1: Function 3: Read Holding Registers
modbus-1: Byte count: 2
modbus-1: 0x0001 / 1
modbus-1: CRC correct
```

### Reduce the resolution to increase processing speed

```shell
$ time sigrok-cli -i examples/input-1.vcd -P uart:baudrate=9600,modbus
# ...
real    8m50.080s
user    8m49.770s
sys     0m0.129s

$ simplify-vcd \
    --output-timescale=1us \
    examples/input-1.vcd \
    examples/output-1.vcd

$ time sigrok-cli -i examples/output-1.vcd -P uart:baudrate=9600,modbus
# ...
real    0m0.663s
user    0m0.642s
sys     0m0.021s
```

## Development

```shell
# Create your virtual environment
$ python3 -m venv .venv --prompt=vcd

# Activate your virtual environment
$. .venv/bin/activate

# Install this code into your virtual environment as an editable
# package, with all our dev dependencies too
$ pip install -e .[dev]

#
# Do some coding...
#

# Lint and test
$ ./lint-and-test
```

## License

Simplify VCD - Clip, trim and reduce VCD files

Copyright (C) 2025 Mike Coats

This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.