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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | audiobook_generator/tts_providers/piper_tts_provider.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:00.996503 | import asyncio
import logging
import tempfile
from pathlib import Path
from subprocess import run
import requests
from pydub import AudioSegment
from wyoming.client import AsyncTcpClient
from wyoming.tts import Synthesize
from audiobook_generator.config.general_config import GeneralConfig
from audiobook_generator.cor... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | audiobook_generator/utils/log_handler.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:01.162325 | import logging
import datetime
from pathlib import Path
def get_formatter(is_worker):
if is_worker:
return logging.Formatter(
"%(asctime)s - [Worker-%(process)d] - %(filename)s:%(lineno)d - %(funcName)s - %(levelname)s - %(message)s"
)
else:
return logging.Formatter(
... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | audiobook_generator/utils/utils.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:01.172292 | import logging
from typing import List
import tempfile
import os
import io
from pydub import AudioSegment
from mutagen.id3._frames import TIT2, TPE1, TALB, TRCK
from mutagen.id3 import ID3, ID3NoHeaderError
from typing import List
from sentencex import segment
import os
logger = logging.getLogger(__name__)
def split... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | main.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:01.192705 | import argparse
from pathlib import Path
from audiobook_generator.config.general_config import GeneralConfig
from audiobook_generator.core.audiobook_generator import AudiobookGenerator
from audiobook_generator.tts_providers.base_tts_provider import (
get_supported_tts_providers,
)
from audiobook_generator.utils.lo... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | main_ui.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:01.255422 | import argparse
from audiobook_generator.config.ui_config import UiConfig
from audiobook_generator.ui.web_ui import host_ui
def handle_args():
parser = argparse.ArgumentParser(description="WebUI for Epub to Audiobook convertor")
parser.add_argument("--host", default="127.0.0.1", help="Host address")
pars... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | tests/args_test.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:01.343015 | import unittest
from unittest.mock import patch
from main import handle_args
class TestHandleArgs(unittest.TestCase):
# Test azure arguments
@patch('sys.argv', ['program', 'input_file.epub', 'output_folder', '--tts', 'azure'])
def test_azure_args(self):
config = handle_args()
self.assertE... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | audiobook_generator/utils/docker_helper.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:01.370919 | import logging
from time import sleep
import docker
logger = logging.getLogger(__name__)
_client = None
def get_docker_client():
try:
global _client
if not _client:
_client = docker.from_env()
return _client
except Exception as e:
logger.error(f"Failed to connect ... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | tests/audiobook_generator/book_parsers/epub_book_parser_test.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:01.778696 | import unittest
from unittest.mock import MagicMock
from audiobook_generator.book_parsers.base_book_parser import get_book_parser
from audiobook_generator.book_parsers.epub_book_parser import EpubBookParser
from tests.test_utils import get_azure_config
class TestGetBookParser(unittest.TestCase):
def test_get_ep... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | tests/audiobook_generator/tts_providers/azure_tts_provider_test.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:01.805862 | import unittest
from unittest.mock import patch
from audiobook_generator.tts_providers.azure_tts_provider import AzureTTSProvider
from audiobook_generator.tts_providers.base_tts_provider import get_tts_provider
from tests.test_utils import get_azure_config
class TestAzureTtsProvider(unittest.TestCase):
def test... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | tests/audiobook_generator/tts_providers/base_tts_provider_test.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:01.899029 | import unittest
from unittest.mock import patch
from audiobook_generator.tts_providers.azure_tts_provider import AzureTTSProvider
from audiobook_generator.tts_providers.base_tts_provider import get_tts_provider
from audiobook_generator.tts_providers.openai_tts_provider import OpenAITTSProvider
from tests.test_utils im... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | tests/audiobook_generator/tts_providers/edge_tts_provider_test.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:01.930225 | import unittest
from unittest.mock import MagicMock
from audiobook_generator.config.general_config import GeneralConfig
from audiobook_generator.tts_providers.edge_tts_provider import CommWithPauses
def get_edge_config():
"""Helper function to create a basic EdgeTTS config for testing"""
args = MagicMock(
... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | tests/audiobook_generator/tts_providers/openai_tts_provider_test.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:02.000527 | import unittest
from unittest.mock import patch
from openai import OpenAIError
from audiobook_generator.tts_providers.base_tts_provider import get_tts_provider
from audiobook_generator.tts_providers.openai_tts_provider import OpenAITTSProvider
from tests.test_utils import get_openai_config
class TestOpenAiTtsProvid... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | tests/split_test.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:02.001199 | import unittest
import logging
from audiobook_generator.utils.utils import split_text
# Configure logging to display logs during test execution
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
class TestSplitText(unittest.TestCase):
def test_input_file(self):
... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | tests/test_utils.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:02.209785 | from unittest.mock import MagicMock
from audiobook_generator.config.general_config import GeneralConfig
def get_azure_config():
args = MagicMock(
input_file='examples/The_Life_and_Adventures_of_Robinson_Crusoe.epub',
output_folder='output',
preview=False,
output_text=False,
... |
p0n1/epub_to_audiobook | https://github.com/p0n1/epub_to_audiobook | null | null | null | null | 1,969 | null | null | mit | null | null | null | null | null | null | null | audiobook_generator/utils/filename_sanitizer.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:05.785749 | import hashlib
import os
import unicodedata
def _detect_name_max(path):
"""Return NAME_MAX for filesystem containing path, or sane default."""
directory = path if os.path.isdir(path) else os.path.dirname(path) or "."
try:
name_max = os.pathconf(directory, "PC_NAME_MAX")
if isinstance(name_... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/train_helmholtz.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:07.838037 | # Enable import from parent package
import sys
import os
sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) )
import dataio, meta_modules, utils, training, loss_functions, modules
from torch.utils.data import DataLoader
import torch
import configargparse
import numpy as np
p = configarg... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/train_audio.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:07.854276 | # Enable import from parent package
import sys
import os
sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) )
import dataio, meta_modules, utils, training, loss_functions, modules
from torch.utils.data import DataLoader
import configargparse
from functools import partial
p = configargpa... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/train_img.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:07.854977 | # Enable import from parent package
import sys
import os
sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) )
import dataio, meta_modules, utils, training, loss_functions, modules
from torch.utils.data import DataLoader
import configargparse
from functools import partial
p = configargpa... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/test_sdf.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:07.857241 | '''Test script for experiments in paper Sec. 4.2, Supplement Sec. 3, reconstruction from laplacian.
'''
# Enable import from parent package
import os
import sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
import torch
import modules, utils
import sdf_meshing
import configargparse
p =... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | dataio.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:07.859035 | import csv
import glob
import math
import os
import matplotlib.colors as colors
import numpy as np
import scipy.io.wavfile as wavfile
import scipy.ndimage
import scipy.special
import skimage
import skimage.filters
import skvideo.io
import torch
from PIL import Image
from torch.utils.data import Dataset
from torchvisio... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/test_conv_neural_process.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:07.860531 | # Enable import from parent package
import sys
import os
sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) )
import dataio, meta_modules, utils, training, loss_functions
import matplotlib.pyplot as plt
import numpy as np
import torch
from torch.utils.data import DataLoader
import config... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/test_neural_process.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:07.882407 | # Enable import from parent package
import os
import sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
import dataio, meta_modules
import numpy as np
import torch
from torch.utils.data import DataLoader
import configargparse
import imageio
from tqdm.autonotebook import tqdm
import uti... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | diff_operators.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:07.885149 | import torch
from torch.autograd import grad
def hessian(y, x):
''' hessian of y wrt x
y: shape (meta_batch_size, num_observations, channels)
x: shape (meta_batch_size, num_observations, 2)
'''
meta_batch_size, num_observations = y.shape[:2]
grad_y = torch.ones_like(y[..., 0]).to(y.device)
... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/test_audio.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:07.903340 | # Enable import from parent package
import sys
import os
sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) )
import dataio, utils, modules
from torch.utils.data import DataLoader
import configargparse
import torch
import scipy.io.wavfile as wavfile
p = configargparse.ArgumentParser()
p... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/train_img_inpainting.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:08.410706 | # Enable import from parent package
import sys
import os
sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) )
import dataio, meta_modules, utils, training, loss_functions, modules
from torch.utils.data import DataLoader
import configargparse
from functools import partial
import torch
fro... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/train_poisson_lapl_img.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:08.449704 | '''Reproduces Paper Sec. 4.1, Supplement Sec. 3, reconstruction from laplacian.
'''
# Enable import from parent package
import sys
import os
sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) )
import dataio, meta_modules, utils, training, loss_functions, modules
from torch.utils.data i... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/train_poisson_grad_img.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:08.484536 | '''Reproduces Paper Sec. 4.1, Supplement Sec. 3, reconstruction from gradient.
'''
# Enable import from parent package
import sys
import os
sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) )
import dataio, meta_modules, utils, training, loss_functions, modules
from torch.utils.data im... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/train_img_neural_process.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:08.489558 | # Enable import from parent package
import sys
import os
sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) )
import dataio, meta_modules, utils, training, loss_functions
import torch
from torch.utils.data import DataLoader
import configargparse
from functools import partial
p = configa... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/train_poisson_gradcomp_img.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:08.492003 | '''Reproduces Paper Sec. 4.1, Supplement Sec. 3, poisson image editing.
'''
# Enable import from parent package
import sys
import os
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
import dataio, meta_modules, utils, training, loss_functions, modules
from torch.utils.data import DataLoa... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/train_inverse_helmholtz.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:08.523547 | '''Reproduces Paper Sec. 4.3, Supplement Sec. 5, reconstruction from gradient.
'''
# Enable import from parent package
import sys
import os
sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) )
import dataio, utils, training, loss_functions, modules
from torch.utils.data import DataLoader... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/train_video.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:08.525298 | '''Reproduces Supplement Sec. 7'''
# Enable import from parent package
import sys
import os
sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) )
import dataio, meta_modules, utils, training, loss_functions, modules
from torch.utils.data import DataLoader
import configargparse
from funct... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | loss_functions.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:08.526398 | import torch
import torch.nn.functional as F
import diff_operators
import modules
def image_mse(mask, model_output, gt):
if mask is None:
return {'img_loss': ((model_output['model_out'] - gt['img']) ** 2).mean()}
else:
return {'img_loss': (mask * (model_output['model_out'] - gt['img']) ** 2).... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/train_wave_equation.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:08.539452 | '''Reproduces Paper Sec. 4.3 and Supplement Sec. 5'''
# Enable import from parent package
import sys
import os
sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) )
import dataio, meta_modules, utils, training, loss_functions, modules
from torch.utils.data import DataLoader
import config... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | experiment_scripts/train_sdf.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:08.540520 | '''Reproduces Sec. 4.2 in main paper and Sec. 4 in Supplement.
'''
# Enable import from parent package
import sys
import os
sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) )
import dataio, meta_modules, utils, training, loss_functions, modules
from torch.utils.data import DataLoader
... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | meta_modules.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:09.063344 | '''Modules for hypernetwork experiments, Paper Sec. 4.4
'''
import torch
from torch import nn
from collections import OrderedDict
import modules
class HyperNetwork(nn.Module):
def __init__(self, hyper_in_features, hyper_hidden_layers, hyper_hidden_features, hypo_module):
'''
Args:
hy... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:09.091496 | from torchmeta import datasets
from torchmeta import modules
from torchmeta import toy
from torchmeta import transforms
from torchmeta import utils
from torchmeta.version import VERSION as __version__
|
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | make_figures.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:09.092802 | from collections import defaultdict
from tqdm import tqdm
import numpy as np
import os
import imageio
import matplotlib.pyplot as plt
import glob
import tensorflow as tf
import cv2
import cmapy
import skimage
import pathlib
from tensorboard.backend.event_processing import event_accumulator
from moviepy.edi... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | modules.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:09.126782 | import torch
from torch import nn
from torchmeta.modules import (MetaModule, MetaSequential)
from torchmeta.modules.utils import get_subdict
import numpy as np
from collections import OrderedDict
import math
import torch.nn.functional as F
class BatchLinear(nn.Linear, MetaModule):
'''A linear meta-layer that can ... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:09.161499 | from torchmeta.datasets.triplemnist import TripleMNIST
from torchmeta.datasets.doublemnist import DoubleMNIST
from torchmeta.datasets.cub import CUB
from torchmeta.datasets.cifar100 import CIFARFS, FC100
from torchmeta.datasets.miniimagenet import MiniImagenet
from torchmeta.datasets.omniglot import Omniglot
from torch... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | sdf_meshing.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:09.162643 | '''From the DeepSDF repository https://github.com/facebookresearch/DeepSDF
'''
#!/usr/bin/env python3
import logging
import numpy as np
import plyfile
import skimage.measure
import time
import torch
def create_mesh(
decoder, filename, N=256, max_batch=64 ** 3, offset=None, scale=None
):
start = time.time()
... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/cifar100/base.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:09.193501 | import numpy as np
import os
import json
import h5py
from PIL import Image
from torchvision.datasets.utils import check_integrity, download_url
from torchmeta.utils.data import Dataset, ClassDataset
class CIFAR100ClassDataset(ClassDataset):
folder = 'cifar100'
subfolder = None
download_url = 'https://www... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/cifar100/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:09.204236 | from torchmeta.datasets.cifar100.cifar_fs import CIFARFS
from torchmeta.datasets.cifar100.fc100 import FC100
__all__ = ['CIFARFS', 'FC100']
|
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/cifar100/cifar_fs.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:09.223340 | import os
import json
from torchmeta.datasets.cifar100.base import CIFAR100ClassDataset
from torchmeta.datasets.utils import get_asset
from torchmeta.utils.data import ClassDataset, CombinationMetaDataset
class CIFARFS(CombinationMetaDataset):
"""
The CIFAR-FS dataset, introduced in [1]. This dataset contain... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/cifar100/fc100.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:09.224423 | import os
import json
from torchmeta.datasets.cifar100.base import CIFAR100ClassDataset
from torchmeta.datasets.utils import get_asset
from torchmeta.utils.data import ClassDataset, CombinationMetaDataset
class FC100(CombinationMetaDataset):
"""
The Fewshot-CIFAR100 dataset, introduced in [1]. This dataset c... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/helpers.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:09.914031 | import warnings
from torchmeta.datasets import Omniglot, MiniImagenet, TieredImagenet, CIFARFS, CUB, DoubleMNIST, TripleMNIST
from torchmeta.transforms import Categorical, ClassSplitter, Rotation
from torchvision.transforms import Compose, Resize, CenterCrop, ToTensor
__all__ = [
'omniglot',
'miniimagenet',
... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/omniglot.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:09.916213 | import os
import json
import glob
import h5py
from PIL import Image, ImageOps
from torchmeta.utils.data import Dataset, ClassDataset, CombinationMetaDataset
from torchvision.datasets.utils import list_dir, download_url
from torchmeta.datasets.utils import get_asset
class Omniglot(CombinationMetaDataset):
"""
... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/cub.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:09.917430 | import numpy as np
from PIL import Image
import os
import io
import json
import glob
import h5py
from torchmeta.utils.data import Dataset, ClassDataset, CombinationMetaDataset
from torchvision.datasets.utils import download_url
from torchmeta.datasets.utils import get_asset
class CUB(CombinationMetaDataset):
"""... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/doublemnist.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:10.495996 | import numpy as np
from PIL import Image
import os
import io
import json
import glob
import h5py
from torchmeta.utils.data import Dataset, ClassDataset, CombinationMetaDataset
from torchvision.datasets.utils import download_file_from_google_drive
from torchmeta.datasets.utils import get_asset
class DoubleMNIST(Combi... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/tieredimagenet.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:10.546258 | import numpy as np
from PIL import Image
import h5py
import json
import os
import io
import pickle
from torchmeta.utils.data import Dataset, ClassDataset, CombinationMetaDataset
from torchvision.datasets.utils import download_file_from_google_drive
class TieredImagenet(CombinationMetaDataset):
"""
The Tiered... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/modules/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:10.547380 | from torchmeta.modules.batchnorm import MetaBatchNorm1d, MetaBatchNorm2d, MetaBatchNorm3d
from torchmeta.modules.container import MetaSequential
from torchmeta.modules.conv import MetaConv1d, MetaConv2d, MetaConv3d
from torchmeta.modules.linear import MetaLinear, MetaBilinear
from torchmeta.modules.module import MetaMo... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/triplemnist.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:10.660733 | import numpy as np
from PIL import Image
import os
import io
import json
import glob
import h5py
from torchmeta.utils.data import Dataset, ClassDataset, CombinationMetaDataset
from torchvision.datasets.utils import download_file_from_google_drive
from torchmeta.datasets.utils import get_asset
class TripleMNIST(Combi... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/miniimagenet.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:10.678868 | import os
import pickle
from PIL import Image
import h5py
import json
from torchmeta.utils.data import Dataset, ClassDataset, CombinationMetaDataset
from torchvision.datasets.utils import download_file_from_google_drive
class MiniImagenet(CombinationMetaDataset):
"""
The Mini-Imagenet dataset, introduced in ... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/utils.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:10.703514 | import os
import json
def get_asset_path(*args):
basedir = os.path.dirname(__file__)
return os.path.join(basedir, 'assets', *args)
def get_asset(*args, dtype=None):
filename = get_asset_path(*args)
if not os.path.isfile(filename):
raise IOError('{} not found'.format(filename))
if dtype i... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/modules/container.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:10.983538 | import torch.nn as nn
from torchmeta.modules.module import MetaModule
from torchmeta.modules.utils import get_subdict
class MetaSequential(nn.Sequential, MetaModule):
__doc__ = nn.Sequential.__doc__
def forward(self, input, params=None):
for name, module in self._modules.items():
if isins... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/modules/batchnorm.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:10.984805 | import torch.nn as nn
import torch.nn.functional as F
from collections import OrderedDict
from torch.nn.modules.batchnorm import _BatchNorm
from torchmeta.modules.module import MetaModule
class _MetaBatchNorm(_BatchNorm, MetaModule):
def forward(self, input, params=None):
self._check_input_dim(input)
... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/modules/linear.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:11.115110 | import torch.nn as nn
import torch.nn.functional as F
from collections import OrderedDict
from torchmeta.modules.module import MetaModule
class MetaLinear(nn.Linear, MetaModule):
__doc__ = nn.Linear.__doc__
def forward(self, input, params=None):
if params is None:
params = OrderedDict(sel... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/modules/normalization.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:11.119555 | import torch.nn as nn
import torch.nn.functional as F
from collections import OrderedDict
from torchmeta.modules.module import MetaModule
class MetaLayerNorm(nn.LayerNorm, MetaModule):
__doc__ = nn.LayerNorm.__doc__
def forward(self, input, params=None):
if params is None:
params = Ordere... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/modules/module.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:11.165265 | import torch
import torch.nn as nn
from collections import OrderedDict
class MetaModule(nn.Module):
"""
Base class for PyTorch meta-learning modules. These modules accept an
additional argument `params` in their `forward` method.
Notes
-----
Objects inherited from `MetaModule` are fully compa... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/modules/utils.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:11.228348 | import re
from collections import OrderedDict
def get_subdict(dictionary, key=None):
if dictionary is None:
return None
if (key is None) or (key == ''):
return dictionary
key_re = re.compile(r'^{0}\.(.+)'.format(re.escape(key)))
return OrderedDict((key_re.sub(r'\1', k), value) for (k, v... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/datasets/tcga.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:11.289820 | import os
import json
import h5py
import numpy as np
import torch
import copy
from torchmeta.utils.data import Task, MetaDataset
from torchmeta.datasets.utils import get_asset
class TCGA(MetaDataset):
"""
The TCGA dataset [1]. A dataset of classification tasks over the values of
an attribute, based on th... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/tests/test_dataloaders.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:11.319424 | import pytest
import torch
from torch.utils.data import DataLoader
from torchmeta.toy import Sinusoid
from torchmeta.transforms import ClassSplitter
from torchmeta.utils.data import Task, MetaDataLoader, BatchMetaDataLoader
def test_meta_dataloader():
dataset = Sinusoid(10, num_tasks=1000, noise_std=None)
m... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/tests/test_prototype.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:11.614242 | import pytest
import numpy as np
import torch
from torchmeta.utils.prototype import get_num_samples, get_prototypes, prototypical_loss
@pytest.mark.parametrize('dtype', [None, torch.float32])
def test_get_num_samples(dtype):
# Numpy
num_classes = 3
targets_np = np.random.randint(0, num_classes, size=(2,... |
vsitzmann/siren | https://github.com/vsitzmann/siren | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | torchmeta/modules/conv.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:11.615241 | import torch.nn as nn
import torch.nn.functional as F
from collections import OrderedDict
from torch.nn.modules.utils import _single, _pair, _triple
from torchmeta.modules.module import MetaModule
class MetaConv1d(nn.Conv1d, MetaModule):
__doc__ = nn.Conv1d.__doc__
def forward(self, input, params=None):
... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agent-memory/cli/fact.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:19.884484 | #!/usr/bin/env python3
"""CLI wrapper for AgentMemory fact operations."""
import sys
import argparse
from pathlib import Path
# Add src to path
sys.path.insert(0, str(Path(__file__).parent.parent / "src"))
from memory import AgentMemory
def main():
parser = argparse.ArgumentParser(description="Manage agent memo... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agent-memory/examples/basic_usage.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:19.906466 | """
Basic usage example for AgentMemory
"""
import sys
import os
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from src.memory import AgentMemory
# Initialize memory (creates ~/.agent-memory/memory.db by default)
# Use a temporary path for this example
mem = AgentMemory(db_path="/tm... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agent-memory/cli/learn.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:19.907283 | #!/usr/bin/env python3
"""CLI wrapper for AgentMemory lesson operations."""
import sys
import argparse
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent / "src"))
from memory import AgentMemory
def main():
parser = argparse.ArgumentParser(description="Manage agent lessons learned")
... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agent-memory/cli/entity.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:19.918116 | #!/usr/bin/env python3
"""CLI wrapper for AgentMemory entity operations."""
import sys
import json
import argparse
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent / "src"))
from memory import AgentMemory
def main():
parser = argparse.ArgumentParser(description="Manage tracked entiti... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agent-memory/src/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:19.918635 | """
AgentMemory - Persistent Memory for AI Agents
"""
from .memory import AgentMemory, Fact, Lesson, Entity, get_memory
__version__ = "1.0.0"
__all__ = ["AgentMemory", "Fact", "Lesson", "Entity", "get_memory"]
|
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agent-memory/src/memory.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:19.925480 | """
AgentMemory - Persistent Memory for AI Agents
A lightweight memory layer that helps AI agents:
- Remember facts across sessions
- Track entities (people, projects, preferences)
- Learn from successes and failures
- Search memories semantically
- Forget stale information automatically
MIT License - Built for the O... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agent-designer/tool_schema_generator.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:19.927117 | #!/usr/bin/env python3
"""
Tool Schema Generator - Generate structured tool schemas for AI agents
Given a description of desired tools (name, purpose, inputs, outputs), generates
structured tool schemas compatible with OpenAI function calling format and
Anthropic tool use format. Includes: input validation rules, err... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agent-designer/agent_evaluator.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:19.942525 | #!/usr/bin/env python3
"""
Agent Evaluator - Multi-Agent System Performance Analysis
Takes agent execution logs (task, actions taken, results, time, tokens used)
and evaluates performance: task success rate, average cost per task, latency
distribution, error patterns, tool usage efficiency, identifies bottlenecks
a... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agent-memory/tests/test_memory.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:19.944174 | """
Tests for AgentMemory
"""
import sys
import os
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from src.memory import AgentMemory
import tempfile
import os
def test_basic_facts():
"""Test basic fact operations."""
with tempfile.NamedTemporaryFile(suffix='.db', delete=Fals... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agent-designer/agent_planner.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:19.945476 | #!/usr/bin/env python3
"""
Agent Planner - Multi-Agent System Architecture Designer
Given a system description (goal, tasks, constraints, team size), designs a multi-agent
architecture: defines agent roles, responsibilities, capabilities needed, communication
topology, tool requirements. Generates architecture diagram... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agentmail/scripts/check_inbox.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:20.520300 | #!/usr/bin/env python3
"""
Check AgentMail inbox for messages
Usage:
# List recent messages
python check_inbox.py --inbox "myagent@agentmail.to"
# Get specific message
python check_inbox.py --inbox "myagent@agentmail.to" --message "msg_123abc"
# List threads
python check_inbox.py --in... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agentmail/scripts/setup_webhook.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:20.539758 | #!/usr/bin/env python3
"""
Set up AgentMail webhook endpoint
Usage:
# Create webhook
python setup_webhook.py --url "https://myapp.com/webhook" --create
# List existing webhooks
python setup_webhook.py --list
# Delete webhook
python setup_webhook.py --delete "webhook_id"
# Tes... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agentmail/scripts/send_email.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:20.540284 | #!/usr/bin/env python3
"""
Send email via AgentMail API
Usage:
python send_email.py --inbox "sender@agentmail.to" --to "recipient@example.com" --subject "Hello" --text "Message body"
# With HTML content
python send_email.py --inbox "sender@agentmail.to" --to "recipient@example.com" --subject "Hello" -... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/ai-model-router-v2/skill/modules/context.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:20.554832 | #!/usr/bin/env python3
"""
Context Manager - Track conversations across model switches
Optional module - only imported if enable_context=True
Keeps core router small.
"""
import json
import hashlib
from datetime import datetime
from pathlib import Path
from typing import Optional, Dict, Any
class ContextManager:
... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/ai-model-router-v2/skill/core/router.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:20.564653 | #!/usr/bin/env python3
"""
Model Router Core - Compact routing engine
Minimal, readable, extensible.
Design principles from model-router-premium:
- Keep decision logic small and deterministic
- Default to cheapest/fastest for simple tasks
- Escalate to stronger models when complex
New features retained:
- Privacy det... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/ai-model-router-v2/skill/modules/detector.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:20.566277 | #!/usr/bin/env python3
"""
Model Detector - Safe module for detecting local AI models
Security:
- No subprocess execution (removed)
- No HTTP requests (removed)
- Read-only operations only
"""
import json
import os
from dataclasses import dataclass
from typing import List
@dataclass
class ModelInfo:
"""Model in... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/ai-model-router/skill/context.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:20.576732 | #!/usr/bin/env python3
"""
Context Manager - Track conversations across model switches
Optional module - only imported if enable_context=True
Keeps core router small.
"""
import json
import hashlib
from datetime import datetime
from pathlib import Path
from typing import Optional, Dict, Any
class ContextManager:
... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/agile-product-owner/scripts/user_story_generator.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:20.578018 | #!/usr/bin/env python3
"""
User Story Generator with INVEST Criteria
Creates well-formed user stories with acceptance criteria
"""
import json
from typing import Dict, List, Tuple
class UserStoryGenerator:
"""Generate INVEST-compliant user stories"""
def __init__(self):
self.personas = {
... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/ai-model-router/skill/detector.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:20.604907 | #!/usr/bin/env python3
"""
Model Detector - Safe module for detecting local AI models
Security:
- No subprocess execution (removed)
- No HTTP requests (removed)
- Read-only operations only
"""
import json
import os
from dataclasses import dataclass
from typing import List
@dataclass
class ModelInfo:
"""Model in... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/ai-model-router/skill/router.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:20.606034 | #!/usr/bin/env python3
"""
Model Router Core - Compact routing engine
Minimal, readable, extensible.
Design principles from model-router-premium:
- Keep decision logic small and deterministic
- Default to cheapest/fastest for simple tasks
- Escalate to stronger models when complex
New features retained:
- Privacy det... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/ai-news-aggregator-sl/news_aggregator.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:21.119664 | #!/usr/bin/env python3
# /// script
# requires-python = ">=3.9"
# dependencies = [
# "feedparser",
# "requests",
# "openai",
# "anthropic",
# "tavily-python",
# ]
# ///
"""
AI News Aggregator — OpenClaw Skill Script
==========================================
Sources : TechCrunch, The Verge, NYT Tech (RSS) + T... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/ai-ppt-generator/scripts/ppt_theme_list.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:21.144759 | import os
import sys
import requests
import json
def ppt_theme_list(api_key: str):
url = "https://qianfan.baidubce.com/v2/tools/ai_ppt/get_ppt_theme"
headers = {
"Authorization": "Bearer %s" % api_key,
"X-Appbuilder-From": "openclaw",
}
response = requests.post(url, headers=headers)
... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/ai-ppt-generator/scripts/generate_ppt.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:21.174956 | import os
import random
import sys
import time
import requests
import json
import argparse
URL_PREFIX = "https://qianfan.baidubce.com/v2/tools/ai_ppt/"
class Style:
def __init__(self, style_id, tpl_id):
self.style_id = style_id
self.tpl_id = tpl_id
class Outline:
def __init__(self, chat_id... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/ai-web-automation/main.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:21.180620 | #!/usr/bin/env python3
# Web Automation Service - Main Script
import os
import sys
from pathlib import Path
from datetime import datetime
SCRIPT_DIR = Path(__file__).parent.resolve()
OUTPUT_DIR = SCRIPT_DIR / "output"
def scrape_web(url):
"""抓取网页"""
try:
import requests
response = requests.ge... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/api-design-principles/assets/rest-api-template.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:21.194808 | """
Production-ready REST API template using FastAPI.
Includes pagination, filtering, error handling, and best practices.
"""
from fastapi import FastAPI, HTTPException, Query, Path, Depends, status
from fastapi.middleware.cors import CORSMiddleware
from fastapi.middleware.trustedhost import TrustedHostMiddleware
from... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/ai-ppt-generator/scripts/random_ppt_theme.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:21.207582 | #!/usr/bin/env python3
"""
Random PPT Theme Selector
If user doesn't select a PPT template, this script will randomly select one
from the available templates and generate PPT.
"""
import os
import sys
import json
import random
import argparse
import subprocess
import time
def get_available_themes():
"""Get availab... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/api-design-reviewer/scripts/api_linter.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:21.217602 | #!/usr/bin/env python3
"""
API Linter - Analyzes OpenAPI/Swagger specifications for REST conventions and best practices.
This script validates API designs against established conventions including:
- Resource naming conventions (kebab-case resources, camelCase fields)
- HTTP method usage patterns
- URL structure consi... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/api-design-reviewer/scripts/breaking_change_detector.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:21.221930 | #!/usr/bin/env python3
"""
Breaking Change Detector - Compares API specification versions to identify breaking changes.
This script analyzes two versions of an API specification and detects potentially
breaking changes including:
- Removed endpoints
- Modified response structures
- Removed or renamed fields
- Field ty... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/api-design-reviewer/scripts/api_scorecard.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:21.223228 | #!/usr/bin/env python3
"""
API Scorecard - Comprehensive API design quality assessment tool.
This script evaluates API designs across multiple dimensions and generates
a detailed scorecard with letter grades and improvement recommendations.
Scoring Dimensions:
- Consistency (30%): Naming conventions, response pattern... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/app-store-optimization/scripts/ab_test_planner.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:21.232473 | """
A/B testing module for App Store Optimization.
Plans and tracks A/B tests for metadata and visual assets.
"""
from typing import Dict, List, Any, Optional
import math
class ABTestPlanner:
"""Plans and tracks A/B tests for ASO elements."""
# Minimum detectable effect sizes (conservative estimates)
MI... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/app-store-optimization/scripts/aso_scorer.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:21.709840 | """
ASO scoring module for App Store Optimization.
Calculates comprehensive ASO health score across multiple dimensions.
"""
from typing import Dict, List, Any, Optional
class ASOScorer:
"""Calculates overall ASO health score and provides recommendations."""
# Score weights for different components (total =... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/app-store-optimization/scripts/competitor_analyzer.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:21.752596 | """
Competitor analysis module for App Store Optimization.
Analyzes top competitors' ASO strategies and identifies opportunities.
"""
from typing import Dict, List, Any, Optional
from collections import Counter
import re
class CompetitorAnalyzer:
"""Analyzes competitor apps to identify ASO opportunities."""
... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/app-store-optimization/scripts/keyword_analyzer.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:21.761665 | """
Keyword analysis module for App Store Optimization.
Analyzes keyword search volume, competition, and relevance for app discovery.
"""
from typing import Dict, List, Any, Optional, Tuple
import re
from collections import Counter
class KeywordAnalyzer:
"""Analyzes keywords for ASO effectiveness."""
# Comp... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/atlassian-admin/scripts/permission_audit_tool.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:22.107099 | #!/usr/bin/env python3
"""
Permission Audit Tool
Analyzes Atlassian permission schemes for security issues. Checks for
over-permissioned groups, direct user permissions, missing restrictions on
sensitive actions, inconsistencies across projects, and compliance gaps.
Usage:
python permission_audit_tool.py permissi... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/autoresearch-agent/evaluators/benchmark_size.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:22.107890 | #!/usr/bin/env python3
"""Measure file, bundle, or Docker image size.
DO NOT MODIFY after experiment starts — this is the fixed evaluator."""
import os
import subprocess
import sys
# --- CONFIGURE ONE OF THESE ---
# Option 1: File size
TARGET_FILE = "dist/main.js"
# Option 2: Directory size (uncomment to use)
# TARG... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/app-store-optimization/scripts/metadata_optimizer.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:22.109237 | """
Metadata optimization module for App Store Optimization.
Optimizes titles, descriptions, and keyword fields with platform-specific character limit validation.
"""
from typing import Dict, List, Any, Optional, Tuple
import re
class MetadataOptimizer:
"""Optimizes app store metadata for maximum discoverability... |
LeoYeAI/openclaw-master-skills | https://github.com/LeoYeAI/openclaw-master-skills | null | null | null | null | 1,968 | null | null | mit | null | null | null | null | null | null | null | skills/atlassian-templates/scripts/template_scaffolder.py | null | null | null | null | null | null | Python | 2026-05-04T01:44:22.110720 | #!/usr/bin/env python3
"""
Template Scaffolder
Generates Confluence page template markup in storage-format XHTML. Supports
built-in template types and custom section definitions with optional macros.
Usage:
python template_scaffolder.py meeting-notes
python template_scaffolder.py decision-log --format json
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.