repo_full_name stringlengths 6 93 | repo_url stringlengths 25 112 | repo_api_url stringclasses 28
values | owner stringclasses 28
values | repo_name stringclasses 28
values | description stringclasses 28
values | stars int64 617 98.8k | forks int64 31 355 ⌀ | watchers int64 990 999 ⌀ | license stringclasses 2
values | default_branch stringclasses 2
values | repo_created_at timestamp[s]date 2012-07-24 23:12:50 2025-06-16 08:07:28 ⌀ | repo_updated_at timestamp[s]date 2026-02-23 15:23:15 2026-05-03 18:52:12 ⌀ | repo_topics listlengths 0 13 ⌀ | repo_languages unknown | is_fork bool 1
class | open_issues int64 3 104 ⌀ | file_path stringlengths 3 208 | file_name stringclasses 509
values | file_extension stringclasses 1
value | file_size_bytes int64 101 84k ⌀ | file_url stringclasses 627
values | file_raw_url stringclasses 627
values | file_sha stringclasses 624
values | language stringclasses 8
values | parsed_at stringdate 2026-05-04 01:12:36 2026-05-04 19:41:55 | text stringlengths 100 102k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Olivia5k/doge | https://github.com/Olivia5k/doge | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | src/doge/wow.py | null | null | null | null | null | null | Python | 2026-05-04T01:37:54.413645 | """Define words and static data.
Please extend this file with more lvl=100 shibe wow.
"""
# Copyright (C) 2013-2024 Olivia Thiderman
import datetime as dt
import random
from collections import deque
import dateutil.easter
import dateutil.tz
import fullmoon
class DogeDeque(deque):
"""A doge deque. A doqe, if y... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | asr-transcribe-to-text/scripts/transcribe_local_mlx.py | null | null | null | null | null | null | Python | 2026-05-04T01:37:57.537050 | # /// script
# requires-python = ">=3.10"
# dependencies = ["mlx-audio>=0.3.1"]
# ///
"""
Local ASR transcription using mlx-audio + Qwen3-ASR on Apple Silicon.
Usage:
uv run scripts/transcribe_local_mlx.py INPUT_AUDIO [INPUT_AUDIO2 ...] [--output-dir DIR]
CRITICAL: max_tokens defaults to 200000. The upstream mlx-... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | cloudflare-troubleshooting/scripts/fix_ssl_mode.py | null | null | null | null | null | null | Python | 2026-05-04T01:37:57.539262 | #!/usr/bin/env python3
"""
Fix Cloudflare SSL/TLS mode to resolve redirect loops.
This script changes the SSL mode to resolve common redirect loop issues
caused by SSL mode mismatches between Cloudflare and origin servers.
Common scenarios:
- GitHub Pages + Flexible mode → Change to Full
- Netlify/Vercel + Flexible m... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | cli-demo-generator/scripts/batch_generate.py | null | null | null | null | null | null | Python | 2026-05-04T01:37:57.540193 | #!/usr/bin/env python3
"""
Batch generate multiple CLI demos from a configuration file.
Supports YAML and JSON formats for defining multiple demos.
"""
import argparse
import json
import subprocess
import sys
from pathlib import Path
from typing import Dict, List
try:
import yaml
YAML_AVAILABLE = True
except... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | cloudflare-troubleshooting/scripts/check_cloudflare_config.py | null | null | null | null | null | null | Python | 2026-05-04T01:37:57.542578 | #!/usr/bin/env python3
"""
Comprehensive Cloudflare configuration checker.
This script diagnoses common Cloudflare issues including:
- SSL/TLS mode mismatches
- DNS configuration problems
- Cache settings
- Page rules and redirect loops
Requires:
- requests library
- Cloudflare API credentials (email + Global API Key... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-claude-code/claude-code-history-files-finder/scripts/analyze_sessions.py | null | null | null | null | null | null | Python | 2026-05-04T01:37:57.543811 | #!/usr/bin/env python3
"""
Analyze Claude Code session files to find relevant sessions and statistics.
This script helps locate sessions containing specific keywords, analyze
session activity, and generate reports about session content.
"""
import json
import os
import sys
from pathlib import Path
from typing import ... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | cli-demo-generator/scripts/auto_generate_demo.py | null | null | null | null | null | null | Python | 2026-05-04T01:37:57.544809 | #!/usr/bin/env python3
"""
Auto-generate CLI demos from command descriptions.
Creates VHS tape files and generates GIF demos with support for:
- Hidden bootstrap commands (self-cleaning state)
- Output noise filtering via base64-encoded wrapper
- Post-processing speed-up via gifsicle
"""
import argparse
import base64... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | asr-transcribe-to-text/scripts/overlap_merge_transcribe.py | null | null | null | null | null | null | Python | 2026-05-04T01:37:57.545899 | # /// script
# requires-python = ">=3.9"
# ///
"""
Overlap-merge transcription for long audio files.
Splits audio into 18-minute chunks with 2-minute overlap, transcribes each chunk
via a configurable ASR endpoint, then merges using punctuation-stripped fuzzy
matching to eliminate sentence truncation at boundaries.
U... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-claude-code/claude-code-history-files-finder/scripts/recover_content.py | null | null | null | null | null | null | Python | 2026-05-04T01:37:57.547391 | #!/usr/bin/env python3
"""
Recover content from Claude Code history session files.
This script extracts Write tool calls, Edit operations, and text content
from Claude Code's JSONL session history files.
"""
import json
import sys
import os
from pathlib import Path
from typing import Dict, List, Any, Optional
from da... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-claude-code/claude-export-txt-better/scripts/fix-claude-export.py | null | null | null | null | null | null | Python | 2026-05-04T01:37:57.555579 | #!/usr/bin/env python3
"""Fix broken line wrapping in Claude Code exported conversation files.
Claude Code exports hard-wrap lines at fixed column widths, breaking tables,
paragraphs, and paths. This script reconstructs the original logical lines
using a state-machine + lookahead merge approach.
Usage:
uv run sc... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-claude-code/claude-export-txt-better/scripts/validate-claude-export-fix.py | null | null | null | null | null | null | Python | 2026-05-04T01:37:57.585455 | #!/usr/bin/env python3
"""Automated validation for fix-claude-export.py output.
Runs a comprehensive suite of checks against a fixed file and its original,
reporting PASS/FAIL for each with evidence. Designed to be run after every
fix iteration as a quality gate.
Usage:
uv run scripts/validate-claude-export-fix.p... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-docs/doc-to-markdown/scripts/extract_pdf_images.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:01.338642 | #!/usr/bin/env python3
"""
Extract images from PDF files with metadata using PyMuPDF.
Features:
- Extracts all images with page and position metadata
- Generates JSON metadata file for each image
- Supports markdown reference generation
- Optional DPI control for quality
Usage:
uv run --with pymupdf scripts/extra... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-docs/doc-to-markdown/scripts/convert_path.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:01.339886 | #!/usr/bin/env python3
"""
Convert Windows paths to WSL format.
Usage:
python convert_path.py "C:\\Users\\<windows-user>\\Downloads\\file.doc"
Output:
/mnt/c/Users/<windows-user>/Downloads/file.doc
"""
import sys
import re
def convert_windows_to_wsl(windows_path: str) -> str:
"""
Convert a Windows ... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-docs/doc-to-markdown/scripts/merge_outputs.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:01.341267 | #!/usr/bin/env python3
"""
Multi-tool markdown output merger with segment-level comparison.
Merges markdown outputs from multiple conversion tools by selecting
the best version of each segment (tables, images, headings, paragraphs).
Usage:
python merge_outputs.py output1.md output2.md -o merged.md
python merg... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-docs/pdf-creator/scripts/tests/test_cjk_code_blocks.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:02.464512 | #!/usr/bin/env python3
"""
Regression test for CJK code block rendering.
weasyprint renders <pre> blocks with monospace fonts that lack CJK glyphs.
md_to_pdf.py detects CJK characters inside <pre><code> and converts those
blocks to <div class="cjk-code-block"> which inherits the body font.
This test verifies:
1. CJK-... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-docs/pdf-creator/scripts/batch_convert.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:02.465925 | #!/usr/bin/env python3
"""
Batch convert multiple markdown files to PDF.
Usage:
python batch_convert.py file1.md file2.md file3.md
python batch_convert.py *.md
python batch_convert.py --output-dir ./pdfs file1.md file2.md
Requirements:
pip install weasyprint markdown
"""
import argparse
import sys
fr... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-docs/pdf-creator/scripts/md_to_pdf.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:02.494138 | #!/usr/bin/env python3
"""
Markdown to PDF converter with Chinese font support and theme system.
Converts markdown files to PDF using:
- pandoc (markdown → HTML)
- weasyprint or headless Chrome (HTML → PDF), auto-detected
Usage:
python md_to_pdf.py input.md output.pdf
python md_to_pdf.py input.md --theme ... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-docs/doc-to-markdown/scripts/test_convert.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:03.059915 | """Tests for doc-to-markdown convert.py post-processing functions.
Run: uv run pytest scripts/test_convert.py -v
"""
import pytest
import re
import sys
from pathlib import Path
# Import the module under test
sys.path.insert(0, str(Path(__file__).parent))
from convert import (
_fix_cjk_bold_spacing,
_build_pi... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-claude-code/continue-claude-work/scripts/extract_resume_context.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:03.226524 | #!/usr/bin/env python3
"""
Extract actionable resume context from Claude Code session files.
Produces a structured Markdown briefing by fusing:
- Session index metadata (sessions-index.json)
- Compact boundary summaries (highest-signal context)
- Post-compact user/assistant messages (the "hot zone")
- Subagent workflo... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-docs/pdf-creator/scripts/tests/test_self_check_preview.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:03.256933 | #!/usr/bin/env python3
"""
Integration test for visual self-check helper.
Verifies the contract:
1. Default PDF run auto-generates per-page PNG previews next to the PDF
2. Default run prints a self-check checklist to stdout (so AI/author
is automatically reminded to visually inspect the rendering)
3. --no-p... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-docs/ppt-creator/scripts/chartkit.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:03.257472 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
chartkit.py - Minimal chart renderer for ppt-creator
Usage:
python resources/scripts/chartkit.py \
--data path/to/data.csv \
--type line \
--x date \
--y sales profit \
--out output/assets \
--filename kpi_trend.png \
--title "Monthly KPIs... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-docs/doc-to-markdown/scripts/convert.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:03.305107 | #!/usr/bin/env python3
"""
Multi-tool document to markdown converter with intelligent orchestration.
Supports Quick Mode (fast, single tool) and Heavy Mode (best quality, multi-tool merge).
DOCX files get automatic post-processing to fix pandoc artifacts.
Usage:
# Quick Mode (default) - fast, single best tool
... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-docs/pdf-creator/scripts/tests/test_list_rendering.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:03.351735 | #!/usr/bin/env python3
"""
Test list rendering in PDF generation.
Verifies that markdown lists are correctly rendered in PDFs,
even when they don't have blank lines before them.
The original markdown files are NOT modified - preprocessing
happens in memory during conversion.
"""
import subprocess
import sys
import t... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-docs/doc-to-markdown/scripts/validate_output.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:03.394575 | #!/usr/bin/env python3
"""
Quality validator for document-to-markdown conversion.
Compare original document with converted markdown to assess conversion quality.
Generates HTML quality report with detailed metrics.
Usage:
uv run --with pymupdf scripts/validate_output.py document.pdf output.md
uv run --with py... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-docs/mermaid-tools/scripts/extract_diagrams.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:03.407911 | #!/usr/bin/env python3
"""
Extract Mermaid diagrams from markdown file and create numbered .mmd files
"""
import re
import sys
from pathlib import Path
def extract_mermaid_diagrams(markdown_file, output_dir):
"""Extract Mermaid diagrams from markdown file and create numbered .mmd files"""
try:
with o... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | debugging-network-issues/scripts/mock-idle-upstream.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:03.955716 | #!/usr/bin/env python3
"""
Mock SSE upstream that emits one frame, stays silent N seconds, then emits
a closing frame. Designed for layered-isolation experiments where the
investigator needs a controlled idle-duration trigger — cheaper and more
reproducible than using a real slow production request.
Usage (standalone)... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-claude-code/claude-skills-troubleshooting/scripts/enable_all_plugins.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:04.087208 | #!/usr/bin/env python3
"""
Enable all installed but disabled plugins from a specific marketplace.
Usage:
python3 enable_all_plugins.py <marketplace-name>
Example:
python3 enable_all_plugins.py daymade-skills
"""
import json
import sys
from pathlib import Path
def get_claude_dir():
"""Get the Claude con... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | macos-cleaner/scripts/analyze_caches.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:04.589895 | #!/usr/bin/env python3
"""
Analyze macOS cache directories and categorize them by size and safety.
Usage:
python3 analyze_caches.py [--user-only] [--min-size SIZE]
Options:
--user-only Only scan user caches (~/Library/Caches), skip system caches
--min-size Minimum size in MB to report (default: 10)... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | daymade-claude-code/claude-skills-troubleshooting/scripts/diagnose_plugins.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:04.701641 | #!/usr/bin/env python3
"""
Diagnose Claude Code plugin and skill configuration issues.
This script checks for common problems:
- Installed plugins not enabled in settings.json
- Stale marketplace cache
- Missing plugin files
- Configuration inconsistencies
"""
import json
import os
from pathlib import Path
from datet... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | douban-skill/scripts/douban-frodo-export.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:04.814913 | #!/usr/bin/env python3
"""
Douban Collection Full Export via Frodo API (Mobile App Backend)
Exports all book/movie/music/game collections to CSV files.
No login or cookies required — uses HMAC-SHA1 signature auth.
The API key and HMAC secret are Douban's mobile app credentials, extracted from
the public APK. They are... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | macos-cleaner/scripts/analyze_dev_env.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:04.833138 | #!/usr/bin/env python3
"""
Analyze development environment and find cleanable resources.
Checks:
- Docker (images, containers, volumes, build cache)
- Homebrew cache
- npm cache
- pip cache
- Old .git directories in archived projects
Usage:
python3 analyze_dev_env.py
"""
import os
import sys
import subprocess
im... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | excel-automation/scripts/parse_complex_excel.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:04.884442 | # /// script
# requires-python = ">=3.11"
# dependencies = []
# ///
"""
Parse complex xlsx/xlsm files using stdlib zipfile + xml.etree.
No external dependencies required — uses only Python standard library.
Usage:
uv run scripts/parse_complex_excel.py <excel_file> [sheet_name]
This handles files that openpyxl ca... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | excel-automation/scripts/create_formatted_excel.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:04.913997 | # /// script
# requires-python = ">=3.11"
# dependencies = ["openpyxl"]
# ///
"""
Create a professionally formatted Excel workbook with investment banking
standard styling.
Usage:
uv run scripts/create_formatted_excel.py [output_path]
This is a reusable template. Adapt the data section for your use case.
"""
imp... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | macos-cleaner/scripts/analyze_large_files.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:05.186864 | #!/usr/bin/env python3
"""
Find large files on macOS and categorize them.
Usage:
python3 analyze_large_files.py [--threshold SIZE] [--path PATH] [--limit N]
Options:
--threshold Minimum file size in MB (default: 100)
--path Path to search (default: ~)
--limit Maximum number of result... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | macos-cleaner/scripts/cleanup_report.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:05.317754 | #!/usr/bin/env python3
"""
Generate before/after cleanup reports.
Usage:
# Capture before snapshot
python3 cleanup_report.py --snapshot before
# Capture after snapshot and generate report
python3 cleanup_report.py --snapshot after --compare
"""
import os
import sys
import json
import argparse
import ... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | macos-cleaner/scripts/find_app_remnants.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:05.429984 | #!/usr/bin/env python3
"""
Find orphaned application support files and preferences.
This script identifies directories in ~/Library that may belong to
uninstalled applications.
Usage:
python3 find_app_remnants.py [--min-size SIZE]
Options:
--min-size Minimum size in MB to report (default: 10)
"""
import ... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | promptfoo-evaluation/scripts/metrics.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:05.436147 | #!/usr/bin/env python3
"""Reusable assertion helpers for Promptfoo Python checks.
This module is referenced by examples in promptfoo-evaluation/SKILL.md.
All functions return Promptfoo-compatible result dicts.
"""
def _coerce_text(output):
"""Normalize Promptfoo output payloads into plain text."""
if output ... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | qa-expert/scripts/calculate_metrics.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:05.521042 | #!/usr/bin/env python3
"""
Calculate QA Metrics
Analyzes TEST-EXECUTION-TRACKING.csv and generates quality metrics.
Usage:
python scripts/calculate_metrics.py <tracking-csv-path>
"""
import sys
import csv
from pathlib import Path
from collections import Counter
def calculate_metrics(csv_path):
"""Calculate ... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | macos-cleaner/scripts/safe_delete.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:05.567270 | #!/usr/bin/env python3
"""
Interactive safe file/directory deletion with confirmation.
Usage:
python3 safe_delete.py <path1> [path2] [path3] ...
python3 safe_delete.py --batch <file_with_paths>
Options:
--batch FILE Read paths from a file (one per line)
"""
import os
import sys
import shutil
import ar... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | qa-expert/scripts/init_qa_project.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:05.889987 | #!/usr/bin/env python3
"""
Initialize QA Project Structure
Creates complete QA testing infrastructure including documentation templates,
tracking CSVs, and baseline metrics for any software project.
Usage:
python scripts/init_qa_project.py <project-name> [output-dir]
Example:
python scripts/init_qa_project.p... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | repomix-safe-mixer/scripts/safe_pack.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:05.891026 | #!/usr/bin/env python3
"""
Safe packaging workflow for repomix.
Scans for secrets, reports findings, and optionally packs after user confirmation.
"""
import os
import sys
import subprocess
import json
from pathlib import Path
def run_secret_scan(directory: Path, exclude_patterns: list = None):
"""Run secret sca... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | repomix-unmixer/scripts/unmix_repomix.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:06.021743 | #!/usr/bin/env python3
"""Unmix a repomix file to restore original file structure.
Supports XML, Markdown, and JSON repomix output formats.
"""
import re
import os
import sys
import json
from pathlib import Path
def unmix_xml(content, output_dir):
"""Extract files from repomix XML format."""
# Pattern: <fil... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | repomix-safe-mixer/scripts/scan_secrets.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:06.086465 | #!/usr/bin/env python3
"""
Security scanner for detecting hardcoded credentials in code.
Scans a directory for common credential patterns and reports findings.
"""
import os
import re
import sys
import json
from pathlib import Path
from typing import List, Dict, Tuple
# Common secret patterns (regex)
SECRET_PATTERNS... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | scrapling-skill/scripts/diagnose_scrapling.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:06.266551 | #!/usr/bin/env python3
"""
Diagnose a local Scrapling CLI installation and optionally run a smoke test.
"""
import argparse
import shutil
import subprocess
import sys
import tempfile
from pathlib import Path
from typing import Iterable, List, Tuple
def run_command(cmd: List[str]) -> Tuple[int, str, str]:
result ... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | scripts/find_images.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:06.296074 | import subprocess
import json
url = "https://mp.weixin.qq.com/s/IUS7WXbcfN-PW7PNq3Z0AA?scene=1"
print("1. 打开页面...")
subprocess.run(['agent-browser', 'open', url, '--timeout', '30000'], capture_output=True)
print("\n2. 查找图片位置...")
script = """
(function() {
const allImgs = document.querySelectorAll('img');
c... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | scripts/repo_path_guard.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:06.472492 | #!/usr/bin/env python3
"""Block generated or local-only artifact paths via pre-commit/pre-push."""
from __future__ import annotations
import argparse
import re
import sys
from pathlib import Path
REPO_ROOT = Path(__file__).resolve().parent.parent
PATH_PATTERNS_FILE = REPO_ROOT / ".pii-path-patterns"
ALLOW_PATTERNS_... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | scripts/test_standard_article.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:06.616839 | import subprocess
import json
# 使用用户之前提供的 URL
url = "https://mp.weixin.qq.com/s/IUS7WXbcfN-PW7PNq3Z0AA?scene=1"
print("测试标准文章提取...")
subprocess.run(['agent-browser', 'open', url, '--timeout', '30000'], capture_output=True)
# 检查是否有 js_content 及其图片
script = """
(function() {
const content = document.querySelector(... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | financial-data-collector/scripts/collect_data.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:08.940981 | #!/usr/bin/env python3
"""
Collect real financial data for a US publicly traded company.
Output: structured JSON consumable by downstream financial skills.
Usage:
python collect_data.py TICKER [--years 5] [--output path/to/output.json]
Examples:
python collect_data.py META
python collect_data.py AAPL --ye... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | financial-data-collector/scripts/validate_data.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:09.053135 | #!/usr/bin/env python3
"""
Validate financial data JSON output from collect_data.py.
Checks completeness, consistency, and sanity of collected data.
Usage:
python validate_data.py path/to/output.json
Returns JSON validation report to stdout.
"""
# /// script
# requires-python = ">=3.11"
# dependencies = []
# ///
... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | ima-copilot/scripts/search_fanout.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:09.086482 | #!/usr/bin/env python3
"""
search_fanout.py — Fan-out search across all IMA knowledge bases with
user-defined priority boosting and subset-KB skipping.
Rationale for this shape:
IMA's OpenAPI has three constraints that force every serious search tool
into the same pattern:
1. No cross-KB endpoint — search_know... |
daymade/claude-code-skills | https://github.com/daymade/claude-code-skills | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | i18n-expert/scripts/i18n_audit.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:09.087125 | #!/usr/bin/env python3
"""Audit i18n key usage vs locale JSON files.
Usage:
python scripts/i18n_audit.py --src ./src --locale ./locales/en-US/common.json --locale ./locales/zh-CN/common.json
"""
from __future__ import annotations
import argparse
import json
import re
import sys
from pathlib import Path
from typing... |
fallenshock/FlowEdit | https://github.com/fallenshock/FlowEdit | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | run_script.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:11.358252 | import torch
from diffusers import StableDiffusion3Pipeline
from diffusers import FluxPipeline
from PIL import Image
import argparse
import random
import numpy as np
import yaml
import os
from FlowEdit_utils import FlowEditSD3, FlowEditFLUX
if __name__ == "__main__":
parser = argparse.ArgumentParser()
pars... |
fallenshock/FlowEdit | https://github.com/fallenshock/FlowEdit | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | FlowEdit_utils.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:11.358915 | from typing import Optional, Tuple, Union
import torch
from diffusers import FlowMatchEulerDiscreteScheduler
from tqdm import tqdm
import numpy as np
from diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion import retrieve_timesteps
def scale_noise(
scheduler,
sample: torch.FloatTensor,
times... |
chenjiandongx/magnet-dht | https://github.com/chenjiandongx/magnet-dht | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | magnet_dht/database.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:13.483077 | #!/usr/bin/env python
# coding=utf-8
import redis
# redis key
REDIS_KEY = "magnets"
# redis 地址
REDIS_HOST = "localhost"
# redis 端口
REDIS_PORT = 6379
# redis 密码
REDIS_PASSWORD = None
# redis 连接池最大连接量
REDIS_MAX_CONNECTION = 20
class RedisClient:
def __init__(self, host=REDIS_HOST, port=REDIS_PORT, password=REDIS_... |
chenjiandongx/magnet-dht | https://github.com/chenjiandongx/magnet-dht | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | magnet_dht/magnet_to_torrent_aria2c.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:13.488334 | #!usr/bin/python
# encoding=utf-8
from http.client import HTTPConnection
import json
from .database import RedisClient
SAVE_PATH = ".\\torrents"
STOP_TIMEOUT = 60
MAX_CONCURRENT = 16
MAX_MAGNETS = 256
ARIA2RPC_ADDR = "127.0.0.1"
ARIA2RPC_PORT = 6800
rd = RedisClient()
def get_magnets():
"""
获取磁力链接
""... |
chenjiandongx/magnet-dht | https://github.com/chenjiandongx/magnet-dht | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | manage.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:13.489038 | #!/usr/bin/env python
# coding=utf-8
import argparse
from magnet_dht.crawler import start_server
from magnet_dht.magnet_to_torrent_aria2c import magnet2torrent
from magnet_dht.parse_torrent import parse_torrent
def get_parser():
"""
解析命令行参数
"""
parser = argparse.ArgumentParser(description="start man... |
chenjiandongx/magnet-dht | https://github.com/chenjiandongx/magnet-dht | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | magnet_dht/parse_torrent.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:13.490009 | #!/usr/bin/env python
# coding=utf-8
import os
import codecs
from pprint import pprint
from bencoder import bdecode
TORRENT_SAVE_PATH = "torrents"
class ParserTorrent:
def __init__(self, torrent):
self.meta_info = self.get_meta_info(torrent)
@staticmethod
def get_meta_info(torrent):
""... |
chenjiandongx/magnet-dht | https://github.com/chenjiandongx/magnet-dht | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | magnet_dht/crawler.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:13.491676 | #! usr/bin/python
# encoding=utf-8
import socket
import codecs
import time
from threading import Thread
from collections import deque
from multiprocessing import Process, cpu_count
import bencoder
from .utils import get_logger, get_nodes_info, get_rand_id, get_neighbor
from .database import RedisClient
# 服务器 tracke... |
chenjiandongx/magnet-dht | https://github.com/chenjiandongx/magnet-dht | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | magnet_dht/utils.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:13.492410 | #!usr/bin/python
# encoding=utf-8
import os
import logging
from struct import unpack
from socket import inet_ntoa
# 每个节点长度
PER_NODE_LEN = 26
# 节点 id 长度
PER_NID_LEN = 20
# 节点 id 和 ip 长度
PER_NID_NIP_LEN = 24
# 构造邻居随机结点
NEIGHBOR_END = 14
# 日志等级
LOG_LEVEL = logging.INFO
def get_rand_id():
"""
生成随机的节点 id,长度为 20 ... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/cpd_nonrigid3d_cuda.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:20.463886 | import numpy as np
use_cuda = True
if use_cuda:
import cupy as cp
to_cpu = cp.asnumpy
cp.cuda.set_allocator(cp.cuda.MemoryPool().malloc)
else:
cp = np
to_cpu = lambda x: x
import open3d as o3
from probreg import cpd
import utils
import time
source, target = utils.prepare_source_and_target_nonrigid_... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/cpd_nonrigid2d.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:20.485074 | from probreg import cpd
from probreg import callbacks
import matplotlib.pyplot as plt
import utils
source, target = utils.prepare_source_and_target_nonrigid_2d('fish_source.txt',
'fish_target.txt')
cbs = [callbacks.Plot2DCallback(source, target)]
tf_param, _... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/cpd_rigid.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:20.485592 | import numpy as np
import open3d as o3
import transforms3d as t3d
from probreg import cpd
from probreg import callbacks
import utils
import logging
log = logging.getLogger('probreg')
log.setLevel(logging.DEBUG)
source, target = utils.prepare_source_and_target_rigid_3d('bunny.pcd')
cbs = [callbacks.Open3dVisualizerCal... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/cpd_rigid_cuda.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:20.488027 | import numpy as np
use_cuda = True
if use_cuda:
import cupy as cp
to_cpu = cp.asnumpy
cp.cuda.set_allocator(cp.cuda.MemoryPool().malloc)
else:
cp = np
to_cpu = lambda x: x
import transforms3d as t3d
from probreg import cpd
import utils
import time
source, target = utils.prepare_source_and_target_ri... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/cpd_affine3d_cuda.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:20.489141 | import numpy as np
use_cuda = True
if use_cuda:
import cupy as cp
to_cpu = cp.asnumpy
cp.cuda.set_allocator(cp.cuda.MemoryPool().malloc)
else:
cp = np
to_cpu = lambda x: x
from probreg import cpd
import utils
import time
source, target = utils.prepare_source_and_target_nonrigid_3d('face-x.txt', 'fa... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/bcpd_nonrigid.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:20.490192 | import numpy as np
import open3d as o3
import transforms3d as t3d
from probreg import bcpd
from probreg import callbacks
import utils
source, target = utils.prepare_source_and_target_nonrigid_3d('bunny-x.txt',
'bunny-y.txt', 0.1)
cbs = [callbacks.Open3dVisu... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/cpd_affine2d.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:20.496198 | from probreg import cpd
from probreg import callbacks
import matplotlib.pyplot as plt
import utils
source, target = utils.prepare_source_and_target_nonrigid_2d('fish_source.txt',
'fish_target.txt')
cbs = [callbacks.Plot2DCallback(source, target)]
tf_param, _... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/color_cpd_rigid.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:20.497070 | import numpy as np
import open3d as o3
import transforms3d as t3d
from probreg import cpd
from probreg import callbacks
import logging
log = logging.getLogger('probreg')
log.setLevel(logging.DEBUG)
voxel_size = 0.03
source = o3.io.read_point_cloud("frag_115.ply")
source = source.voxel_down_sample(voxel_size=voxel_size... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | docs/source/conf.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:20.498859 | # -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config
# -- Path setup ------------------------------------------------------------... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/filterreg_deformable.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:20.499832 | import copy
import numpy as np
import open3d as o3
from probreg import filterreg
from probreg import callbacks
from probreg import transformation
from dq3d import dualquat, quat
n_points = 30
points = np.array([[i * 0.05, 0.0, 0.0] for i in range(n_points)])
tfs = [(quat(np.deg2rad(0.0), np.array([0.0, 0.0, 1.0])), np... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/utils.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:21.847068 | import copy
import numpy as np
import open3d as o3
import transforms3d as t3d
def estimate_normals(pcd, params):
pcd.estimate_normals(search_param=params)
pcd.orient_normals_to_align_with_direction()
def prepare_source_and_target_rigid_3d(source_filename,
noise_amp=0.0... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/filterreg_feature.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:21.847686 | import numpy as np
import transforms3d as t3d
from probreg import filterreg
from probreg import features
from probreg import callbacks
import utils
source, target = utils.prepare_source_and_target_rigid_3d('bunny.pcd',
orientation=np.deg2rad([0.0, 0.0, 80.0]),
... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/filterreg_rigid_pt2pl.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:22.081593 | import numpy as np
import transforms3d as t3d
from probreg import filterreg
from probreg import callbacks
import utils
source, target = utils.prepare_source_and_target_rigid_3d('cloud_0.pcd', n_random=0, normals=True)
cbs = [callbacks.Open3dVisualizerCallback(source, target)]
objective_type = 'pt2pl'
tf_param, _, _ =... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/gmmtree_rigid.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:22.082865 | import numpy as np
import transforms3d as t3d
from probreg import gmmtree
from probreg import callbacks
import utils
source, target = utils.prepare_source_and_target_rigid_3d('bunny.pcd', n_random=0)
cbs = [callbacks.Open3dVisualizerCallback(source, target)]
tf_param, _ = gmmtree.registration_gmmtree(source, target, ... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/filterreg_rigid.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:22.084125 | import numpy as np
import transforms3d as t3d
from probreg import filterreg
from probreg import callbacks
import utils
source, target = utils.prepare_source_and_target_rigid_3d('bunny.pcd')
cbs = [callbacks.Open3dVisualizerCallback(source, target)]
objective_type = 'pt2pt'
tf_param, _, _ = filterreg.registration_filt... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/svr_rigid.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:22.085332 | import numpy as np
import transforms3d as t3d
from probreg import l2dist_regs
from probreg import callbacks
import utils
source, target = utils.prepare_source_and_target_rigid_3d('bunny.pcd', n_random=0)
cbs = [callbacks.Open3dVisualizerCallback(source, target)]
tf_param = l2dist_regs.registration_svr(source, target,... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/bcpd.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:22.511850 | from __future__ import division, print_function
import abc
from collections import namedtuple
from typing import Any, Callable, List, Union
import numpy as np
import open3d as o3
import scipy.special as spsp
import six
from scipy.spatial import cKDTree
from . import math_utils as mu
from . import transformation as t... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/time_measurement.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:22.557728 | from timeit import default_timer as timer
import numpy as np
import open3d as o3
import utils
from probreg import cpd
from probreg import l2dist_regs
from probreg import gmmtree
from probreg import filterreg
threshold = 0.001
max_iteration = 100
source, target = utils.prepare_source_and_target_rigid_3d('bunny.pcd', ... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:22.615746 | from . import bcpd, callbacks, cpd, filterreg, gmmtree, l2dist_regs, log, math_utils, transformation
from .version import __version__
|
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/callbacks.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:22.673305 | import copy
from typing import Any
import matplotlib.pyplot as plt
import numpy as np
import open3d as o3
try:
import cupy as cp
asnumpy = cp.asnumpy
except:
def asnumpy(x):
return x
from .transformation import Transformation
class Plot2DCallback:
"""Display the 2D registration result of... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/cost_functions.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:22.689370 | from __future__ import division, print_function
import abc
from typing import Tuple, Type
import numpy as np
import six
import transforms3d as t3d
from . import gauss_transform as gt
from . import se3_op as so
from . import transformation as tf
@six.add_metaclass(abc.ABCMeta)
class CostFunction:
def __init__(s... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/cupy_utils.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:22.690540 | import cupy as cp
_BLOCK_SIZE = 16
squard_norm_outer_kernel = cp.RawKernel(
r"""
extern "C" __global__
void squard_norm_outer_kernel(const float* x, const float* y,
int dim, int nx, int ny, float* res) {
int row = threadIdx.x + (blockIdx.x * blockDim.x);
int col = threadIdx.y... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/cpd.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:22.728768 | from __future__ import division, print_function
import abc
from collections import namedtuple
from types import ModuleType
from typing import Any, Callable, Dict, List, Optional, Union
import numpy as np
import open3d as o3
import six
from scipy.spatial import distance as scipy_distance
from . import math_utils as m... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/svr_nonrigid2d.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:22.921895 | from probreg import l2dist_regs
from probreg import callbacks
import matplotlib.pyplot as plt
import utils
source, target = utils.prepare_source_and_target_nonrigid_2d('fish_source.txt',
'fish_target.txt')
cbs = [callbacks.Plot2DCallback(source, target)]
tf_... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/icp_test.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:22.965067 | import copy
import numpy as np
import open3d as o3
import utils
source, target = utils.prepare_source_and_target_rigid_3d('bunny.pcd')
vis = o3.visualization.Visualizer()
vis.create_window()
result = copy.deepcopy(source)
source.paint_uniform_color([1, 0, 0])
target.paint_uniform_color([0, 1, 0])
result.paint_uniform... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | examples/filterreg_rigid2d.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:23.028601 | from probreg import filterreg
from probreg import callbacks
import matplotlib.pyplot as plt
import utils
import numpy as np
source, target = utils.prepare_source_and_target_nonrigid_2d('fish_source.txt',
'fish_target.txt')
cbs = [callbacks.Plot2DCallback(sou... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/features.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:23.130879 | from __future__ import division, print_function
import abc
import numpy as np
import open3d as o3
import six
from sklearn import mixture, svm
@six.add_metaclass(abc.ABCMeta)
class Feature:
@abc.abstractmethod
def init(self):
pass
@abc.abstractmethod
def compute(self, data):
return N... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/filterreg.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:23.190090 | from __future__ import division, print_function
import abc
from collections import namedtuple
from typing import Any, Callable, List, Optional, Union
import numpy as np
import open3d as o3
import six
from . import _kabsch as kabsch
from . import _pt2pl as pt2pl
from . import gauss_transform as gt
from . import gauss... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/gauss_transform.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:23.222043 | from __future__ import division, print_function
from typing import Optional
import numpy as np
from . import _ifgt
def _gauss_transform_direct(source: np.ndarray, target: np.ndarray, weights: np.ndarray, h: float) -> np.ndarray:
"""
\sum_{j} weights[j] * \exp{ - \frac{||target[i] - source[j]||^2}{h^2} }
... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/l2dist_regs.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:23.309008 | from __future__ import division, print_function
import logging
from typing import Any, Callable, List, Union
import numpy as np
import open3d as o3
from scipy.optimize import minimize
from . import cost_functions as cf
from . import features as ft
from . import transformation as tf
from .log import log
class L2Dis... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/gmmtree.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:23.316069 | from __future__ import division, print_function
from collections import namedtuple
from typing import Any, Callable, Dict, List, Optional, Union
import numpy as np
import open3d as o3
from . import _gmmtree
from . import se3_op as so
from . import transformation as tf
from .log import log
EstepResult = namedtuple("... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/log.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:23.317483 | import logging
log = logging.getLogger("probreg")
log.setLevel(logging.INFO)
ch = logging.StreamHandler()
log.addHandler(ch)
|
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/gaussian_filtering.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:23.319249 | from __future__ import division, print_function
import numpy as np
from . import _permutohedral_lattice
class Permutohedral(object):
def __init__(self, p: np.ndarray, with_blur: bool = True):
self._impl = _permutohedral_lattice.Permutohedral()
self._impl.init(p.T, with_blur)
def get_lattice... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/math_utils.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:23.556060 | from __future__ import division, print_function
import numpy as np
from scipy.spatial import cKDTree
from . import _math
class Normalizer(object):
"""Normalizer
Args:
scale (float, optional): Scale factor.
centroid (numpy.array, optional): Central point.
"""
def __init__(self, scal... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/se3_op.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:23.593139 | from __future__ import annotations, division, print_function
import numpy as np
import transforms3d as t3d
def skew(x: np.ndarray) -> np.ndarray:
"""
skew-symmetric matrix, that represent
cross products as matrix multiplications.
Args:
x (numpy.ndarray): 3D vector.
Returns:
3x3 s... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | probreg/transformation.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:23.618011 | import abc
import itertools
import numpy as np
import open3d as o3
import six
from . import math_utils as mu
try:
from dq3d import op
_imp_dq = True
except:
_imp_dq = False
@six.add_metaclass(abc.ABCMeta)
class Transformation:
def __init__(self, xp=np):
self.xp = xp
def transform(self... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | setup.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:23.825573 | import os
import re
import subprocess
from setuptools import setup, Extension
from setuptools.command.build_ext import build_ext
import sys
import setuptools
exec(open('probreg/version.py').read())
def _check_for_openmp():
"""Check whether the default compiler supports OpenMP.
This routine is adapted from p... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | tests/test_cpd.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:24.089649 | import unittest
import numpy as np
import transforms3d as t3d
import open3d as o3
from probreg import cpd
from probreg import transformation as tf
class CPDTest(unittest.TestCase):
def setUp(self):
pcd = o3.io.read_point_cloud('data/horse.ply')
pcd = pcd.voxel_down_sample(voxel_size=0.01)
... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | tests/test_filterreg.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:24.198069 | import unittest
import numpy as np
import transforms3d as t3d
import open3d as o3
from probreg import filterreg
from probreg import transformation as tf
def estimate_normals(pcd, params):
pcd.estimate_normals(search_param=params)
pcd.orient_normals_to_align_with_direction()
class FilterRegTest(unittest.Test... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | tests/test_gaussian_filtering.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:24.282310 | import unittest
import numpy as np
from probreg import gaussian_filtering as gf
from probreg import gauss_transform as gt
class GaussianFilteringTest(unittest.TestCase):
def test_gaussian_filtering(self):
x = np.random.rand(10, 1)
v0 = np.r_[np.zeros((5, 1)), np.ones((5, 1))]
v1 = np.r_[np.... |
neka-nat/probreg | https://github.com/neka-nat/probreg | null | null | null | null | 974 | null | null | mit | null | null | null | null | null | null | null | tests/test_math_utils.py | null | null | null | null | null | null | Python | 2026-05-04T01:38:24.356269 | import unittest
import numpy as np
from probreg import math_utils as mu
class MathUtilsTest(unittest.TestCase):
def test_pairwise_squared_sum(self):
n = 5
dim = 3
x = np.arange(n * dim).reshape((n, dim))
ans = np.sum([np.sum((x[i] - x)**2) for i in range(n)]) / (n * n * dim)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.