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
graspologic-org/graspologic
https://github.com/graspologic-org/graspologic
https://api.github.com/repos/graspologic-org/graspologic
graspologic-org
graspologic
Python package for graph statistics
995
170
995
mit
main
2018-09-07T04:00:05
2026-04-30T00:01:20
[ "data-science", "graph", "graph-statistics", "machine-learning", "networks", "python" ]
{ "Python": 1132802 }
false
72
graspologic/match/wrappers.py
wrappers.py
.py
14,080
https://github.com/graspologic-org/graspologic/blob/main/graspologic/match/wrappers.py
https://raw.githubusercontent.com/graspologic-org/graspologic/main/graspologic/match/wrappers.py
c086ff30fcfbb50b3dee01b062304005d7b8a8cf
Python
2026-05-04T01:17:45.091539
# Copyright (c) Microsoft Corporation and contributors. # Licensed under the MIT License. from typing import Any, NamedTuple, Optional import numpy as np from beartype import beartype from joblib import Parallel, delayed from sklearn.utils import check_scalar from graspologic.match.solver import _GraphMatchSolver fr...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
calc_metrics.py
calc_metrics.py
.py
8,527
https://github.com/autonomousvision/stylegan-xl/blob/main/calc_metrics.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/calc_metrics.py
7599a0e0de590d0ef15f6df821ef4536431ddae4
Python
2026-05-04T01:17:49.915332
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
dataset_tool.py
dataset_tool.py
.py
18,591
https://github.com/autonomousvision/stylegan-xl/blob/main/dataset_tool.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/dataset_tool.py
1fd0868df64d61203c90a0c5065a1d0785c6a624
Python
2026-05-04T01:17:51.554489
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
dnnlib/__init__.py
__init__.py
.py
488
https://github.com/autonomousvision/stylegan-xl/blob/main/dnnlib/__init__.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/dnnlib/__init__.py
e7423bffe245d0ff3f32e8658aa67daae454e64e
Python
2026-05-04T01:17:52.982914
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
dnnlib/util.py
util.py
.py
17,132
https://github.com/autonomousvision/stylegan-xl/blob/main/dnnlib/util.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/dnnlib/util.py
6bbdf3bd8fe1c138cd969d37dcc52190b45c4c16
Python
2026-05-04T01:17:54.410604
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
feature_networks/clip/clip.py
clip.py
.py
9,329
https://github.com/autonomousvision/stylegan-xl/blob/main/feature_networks/clip/clip.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/feature_networks/clip/clip.py
2d75adc5a944beff8d7b2457c208d93a64805219
Python
2026-05-04T01:17:55.866883
import hashlib import os import urllib import warnings from typing import Union, List import torch import torch.nn as nn from PIL import Image from torchvision.transforms import Compose, Resize, CenterCrop, ToTensor, Normalize from tqdm import tqdm from .model import build_model from .simple_tokenizer import SimpleTo...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
feature_networks/clip/model.py
model.py
.py
18,151
https://github.com/autonomousvision/stylegan-xl/blob/main/feature_networks/clip/model.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/feature_networks/clip/model.py
c5d73cf6025f4f930ba43f844d40527f21e9c1e1
Python
2026-05-04T01:17:57.281539
from collections import OrderedDict from typing import Tuple, Union import numpy as np import torch import torch.nn.functional as F from torch import nn class Bottleneck(nn.Module): expansion = 4 def __init__(self, inplanes, planes, stride=1): super().__init__() # all conv layers have strid...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
feature_networks/clip/simple_tokenizer.py
simple_tokenizer.py
.py
4,632
https://github.com/autonomousvision/stylegan-xl/blob/main/feature_networks/clip/simple_tokenizer.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/feature_networks/clip/simple_tokenizer.py
0a66286b7d5019c6e221932a813768038f839c91
Python
2026-05-04T01:17:58.423097
import gzip import html import os from functools import lru_cache import ftfy import regex as re @lru_cache() def default_bpe(): return os.path.join(os.path.dirname(os.path.abspath(__file__)), "bpe_simple_vocab_16e6.txt.gz") @lru_cache() def bytes_to_unicode(): """ Returns list of utf-8 byte and a corr...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
feature_networks/constants.py
constants.py
.py
2,282
https://github.com/autonomousvision/stylegan-xl/blob/main/feature_networks/constants.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/feature_networks/constants.py
e3c61ca1f678b56529627b6a32adc2c44a6409c2
Python
2026-05-04T01:17:59.744284
TORCHVISION = [ "vgg11_bn", "vgg13_bn", "vgg16", "vgg16_bn", "vgg19_bn", "densenet121", "densenet169", "densenet201", "inception_v3", "resnet18", "resnet34", "resnet50", "resnet101", "resnet152", "shufflenet_v2_x0_5", "mobilenet_v2", "wide_resnet50_2",...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
feature_networks/pretrained_builder.py
pretrained_builder.py
.py
13,405
https://github.com/autonomousvision/stylegan-xl/blob/main/feature_networks/pretrained_builder.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/feature_networks/pretrained_builder.py
6b78497622e0eb0c0375a02e97be121e9c200c17
Python
2026-05-04T01:18:01.210571
import numpy as np import torch import torch.nn as nn import torchvision.models as zoomodels from torch.autograd import Function import timm from feature_networks import clip from feature_networks.vit import _make_vit_b16_backbone, forward_vit from feature_networks.constants import ALL_MODELS, VITS, EFFNETS, REGNETS ...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
feature_networks/vit.py
vit.py
.py
14,450
https://github.com/autonomousvision/stylegan-xl/blob/main/feature_networks/vit.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/feature_networks/vit.py
957f90952ec906fac72780497bcfb2b21cb1319f
Python
2026-05-04T01:18:02.818068
import torch import torch.nn as nn import timm import types import math import torch.nn.functional as F class Slice(nn.Module): def __init__(self, start_index=1): super(Slice, self).__init__() self.start_index = start_index def forward(self, x): return x[:, self.start_index :] class...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
gen_class_samplesheet.py
gen_class_samplesheet.py
.py
2,797
https://github.com/autonomousvision/stylegan-xl/blob/main/gen_class_samplesheet.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/gen_class_samplesheet.py
3f578e4f7f4c0739ab7d97dbd5521dc55c83196c
Python
2026-05-04T01:18:04.050656
import os from pathlib import Path import PIL.Image from typing import List import click import numpy as np import torch from tqdm import tqdm import legacy import dnnlib from training.training_loop import save_image_grid from torch_utils import gen_utils from gen_images import parse_range @click.command() @click.opt...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
gen_images.py
gen_images.py
.py
4,981
https://github.com/autonomousvision/stylegan-xl/blob/main/gen_images.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/gen_images.py
996eec313a8e819505b8f6b6bbca2dfae1e79757
Python
2026-05-04T01:18:05.368059
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
gen_video.py
gen_video.py
.py
8,063
https://github.com/autonomousvision/stylegan-xl/blob/main/gen_video.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/gen_video.py
74fd8d6e9c1517171a4da219b24572ff430600b0
Python
2026-05-04T01:18:06.904679
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
gui_utils/__init__.py
__init__.py
.py
448
https://github.com/autonomousvision/stylegan-xl/blob/main/gui_utils/__init__.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/gui_utils/__init__.py
939e7c6c8f94c4ea1141885c3c3295fe083b06aa
Python
2026-05-04T01:18:08.086410
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
gui_utils/gl_utils.py
gl_utils.py
.py
16,342
https://github.com/autonomousvision/stylegan-xl/blob/main/gui_utils/gl_utils.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/gui_utils/gl_utils.py
64b6cb6510ab2f5075effe8684d824f50bd38272
Python
2026-05-04T01:18:09.566992
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
gui_utils/glfw_window.py
glfw_window.py
.py
7,848
https://github.com/autonomousvision/stylegan-xl/blob/main/gui_utils/glfw_window.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/gui_utils/glfw_window.py
83264eb89a855ec5038cf255994ee2b4b3ddb5ee
Python
2026-05-04T01:18:11.017123
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
gui_utils/imgui_utils.py
imgui_utils.py
.py
6,612
https://github.com/autonomousvision/stylegan-xl/blob/main/gui_utils/imgui_utils.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/gui_utils/imgui_utils.py
333024bd6999bf2b18a5cb96766c4da3798666a2
Python
2026-05-04T01:18:12.367765
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
gui_utils/imgui_window.py
imgui_window.py
.py
3,994
https://github.com/autonomousvision/stylegan-xl/blob/main/gui_utils/imgui_window.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/gui_utils/imgui_window.py
30d539a1382def526050c83978d1118348ac77ad
Python
2026-05-04T01:18:13.578932
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
gui_utils/text_utils.py
text_utils.py
.py
5,637
https://github.com/autonomousvision/stylegan-xl/blob/main/gui_utils/text_utils.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/gui_utils/text_utils.py
35e5e4a16dc62c4be80df5432208bce5d386bf16
Python
2026-05-04T01:18:15.197349
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
legacy.py
legacy.py
.py
16,875
https://github.com/autonomousvision/stylegan-xl/blob/main/legacy.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/legacy.py
fc043b983b9302e88ed66e3d5a1830c750d0af20
Python
2026-05-04T01:18:16.654074
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
metrics/__init__.py
__init__.py
.py
448
https://github.com/autonomousvision/stylegan-xl/blob/main/metrics/__init__.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/metrics/__init__.py
939e7c6c8f94c4ea1141885c3c3295fe083b06aa
Python
2026-05-04T01:18:17.876741
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
metrics/equivariance.py
equivariance.py
.py
10,868
https://github.com/autonomousvision/stylegan-xl/blob/main/metrics/equivariance.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/metrics/equivariance.py
d5559aca37b45e246a2ed279193cf4d59011f0b9
Python
2026-05-04T01:18:19.294377
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
metrics/frechet_inception_distance.py
frechet_inception_distance.py
.py
2,341
https://github.com/autonomousvision/stylegan-xl/blob/main/metrics/frechet_inception_distance.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/metrics/frechet_inception_distance.py
ec916ca95c3f2fdbf532299fffa4c237899d821e
Python
2026-05-04T01:18:20.625456
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
metrics/inception_score.py
inception_score.py
.py
1,901
https://github.com/autonomousvision/stylegan-xl/blob/main/metrics/inception_score.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/metrics/inception_score.py
e0a3a442b4cd7f993773ee77c5394796c28c2ef8
Python
2026-05-04T01:18:21.759994
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
metrics/kernel_inception_distance.py
kernel_inception_distance.py
.py
2,329
https://github.com/autonomousvision/stylegan-xl/blob/main/metrics/kernel_inception_distance.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/metrics/kernel_inception_distance.py
d69325c1ef4e2894817ef6003e9335c4de657199
Python
2026-05-04T01:18:23.316030
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
metrics/metric_main.py
metric_main.py
.py
6,733
https://github.com/autonomousvision/stylegan-xl/blob/main/metrics/metric_main.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/metrics/metric_main.py
26362bc0ba56f25c13f1f0570f1f2fd9da121901
Python
2026-05-04T01:18:24.634850
# distribution of this software and related documentation without an express # license agreement from NVIDIA CORPORATION is strictly prohibited. """Main API for computing and reporting quality metrics.""" import os import time import json import torch import dnnlib from . import metric_utils from . import frechet_in...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
metrics/metric_utils.py
metric_utils.py
.py
14,459
https://github.com/autonomousvision/stylegan-xl/blob/main/metrics/metric_utils.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/metrics/metric_utils.py
b095614e75f3f0add7f748a8a9da1827b389f940
Python
2026-05-04T01:18:26.219198
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
metrics/perceptual_path_length.py
perceptual_path_length.py
.py
5,256
https://github.com/autonomousvision/stylegan-xl/blob/main/metrics/perceptual_path_length.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/metrics/perceptual_path_length.py
c68519fea298b076ef317b5ea75e22a77225baaf
Python
2026-05-04T01:18:27.604878
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
metrics/precision_recall.py
precision_recall.py
.py
3,738
https://github.com/autonomousvision/stylegan-xl/blob/main/metrics/precision_recall.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/metrics/precision_recall.py
8e51b9a1abddcb3f11001d528a387c05f494ef05
Python
2026-05-04T01:18:28.827946
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
pg_modules/blocks.py
blocks.py
.py
10,639
https://github.com/autonomousvision/stylegan-xl/blob/main/pg_modules/blocks.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/pg_modules/blocks.py
2e8c999af4a4eccc5e9864beb4f3f9105d98b92d
Python
2026-05-04T01:18:30.353029
import functools import torch import torch.nn as nn import torch.nn.functional as F from torch.nn.utils import spectral_norm from training.networks_stylegan2 import Conv2dLayer, Conv2dLayerDepthwise ### single layers def conv2d(*args, **kwargs): return spectral_norm(nn.Conv2d(*args, **kwargs)) def convTranspose...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
pg_modules/discriminator.py
discriminator.py
.py
7,513
https://github.com/autonomousvision/stylegan-xl/blob/main/pg_modules/discriminator.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/pg_modules/discriminator.py
f76c8e58eeb8d63cafaf2f0d0a2df6cfd41bc49c
Python
2026-05-04T01:18:31.721010
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from torchvision.transforms import Normalize import pickle from training.diffaug import DiffAugment from training.networks_stylegan2 import FullyConnectedLayer from pg_modules.blocks import conv2d, DownBlock, DownBlockPatch from pg_m...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
pg_modules/projector.py
projector.py
.py
5,678
https://github.com/autonomousvision/stylegan-xl/blob/main/pg_modules/projector.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/pg_modules/projector.py
d923cc3a277eac67af0bdb763f204fdbd4bcb757
Python
2026-05-04T01:18:32.994393
import torch import torch.nn as nn from feature_networks.vit import forward_vit from feature_networks.pretrained_builder import _make_pretrained from feature_networks.constants import NORMALIZED_INCEPTION, NORMALIZED_IMAGENET, NORMALIZED_CLIP, VITS from pg_modules.blocks import FeatureFusionBlock def get_backbone_nor...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
run_inversion.py
run_inversion.py
.py
12,935
https://github.com/autonomousvision/stylegan-xl/blob/main/run_inversion.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/run_inversion.py
6758df9f344fb4b00254a120579e450fa4ffd59b
Python
2026-05-04T01:18:35.370551
"""Project given image to the latent space of pretrained network pickle.""" import copy import os from time import perf_counter import dill import click import imageio import numpy as np import PIL.Image import torch import torch.nn.functional as F from tqdm import trange import dnnlib import legacy from metrics imp...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
run_stylemc.py
run_stylemc.py
.py
11,667
https://github.com/autonomousvision/stylegan-xl/blob/main/run_stylemc.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/run_stylemc.py
bc79fbfe6f0a91e2bdfe8228dbb6bbec87d63cd9
Python
2026-05-04T01:18:36.515906
""" Approach: "StyleMC: Multi-Channel Based Fast Text-Guided Image Generation and Manipulation" Reimplemented and modified by Axel Sauer for "StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets" """ import os import re import click import legacy from typing import List, Optional import PIL.Image import imageio from...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/__init__.py
__init__.py
.py
448
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/__init__.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/__init__.py
939e7c6c8f94c4ea1141885c3c3295fe083b06aa
Python
2026-05-04T01:18:38.340076
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/custom_ops.py
custom_ops.py
.py
6,666
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/custom_ops.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/custom_ops.py
dd7cc046e925f58602154be9bdf678ca9d76f59f
Python
2026-05-04T01:18:39.606502
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/gen_utils.py
gen_utils.py
.py
25,284
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/gen_utils.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/gen_utils.py
62c9cb05edc4157a49acf517e282cc0815bc15d6
Python
2026-05-04T01:18:41.143885
# Code from: https://github.com/PDillis/stylegan3-fun import os import re import json from typing import List, Tuple, Union, Optional from collections import OrderedDict from locale import atof import click import numpy as np import torch import torch.nn.functional as F import dnnlib # ----------------------------...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/misc.py
misc.py
.py
11,872
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/misc.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/misc.py
fec19dc99ceb91dedcbb3f6992028abf41026eb4
Python
2026-05-04T01:18:42.642067
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/ops/__init__.py
__init__.py
.py
448
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/ops/__init__.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/ops/__init__.py
939e7c6c8f94c4ea1141885c3c3295fe083b06aa
Python
2026-05-04T01:18:43.976824
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/ops/bias_act.py
bias_act.py
.py
9,813
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/ops/bias_act.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/ops/bias_act.py
5c485c0027570decab26f0b6602a363a432b851f
Python
2026-05-04T01:18:45.303958
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/ops/conv2d_gradfix.py
conv2d_gradfix.py
.py
9,465
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/ops/conv2d_gradfix.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/ops/conv2d_gradfix.py
388778fa971d7bc5c64b5fd6c0e5492863ee1c5f
Python
2026-05-04T01:18:46.684708
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/ops/conv2d_resample.py
conv2d_resample.py
.py
6,765
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/ops/conv2d_resample.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/ops/conv2d_resample.py
5eb5877d7ffe4af74a2165f1d8d8c39dfac2476b
Python
2026-05-04T01:18:48.192169
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/ops/filtered_lrelu.py
filtered_lrelu.py
.py
12,915
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/ops/filtered_lrelu.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/ops/filtered_lrelu.py
b606f7fc486206268d8b53ff32a09635d7ce3231
Python
2026-05-04T01:18:49.606578
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/ops/fma.py
fma.py
.py
2,047
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/ops/fma.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/ops/fma.py
51a45dfa0829987e8ee5214663e068cb3af2a8b9
Python
2026-05-04T01:18:50.936782
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/ops/grid_sample_gradfix.py
grid_sample_gradfix.py
.py
3,020
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/ops/grid_sample_gradfix.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/ops/grid_sample_gradfix.py
979ee831b232c68b8c271be9e376c70c57a31b02
Python
2026-05-04T01:18:52.295072
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/ops/upfirdn2d.py
upfirdn2d.py
.py
16,392
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/ops/upfirdn2d.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/ops/upfirdn2d.py
b544be1d52e97bfc02e59d08c30c6ddbb69bdbde
Python
2026-05-04T01:18:53.827152
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/persistence.py
persistence.py
.py
9,752
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/persistence.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/persistence.py
f90ce85e8ace0f44e839158b22c5790de448d82d
Python
2026-05-04T01:18:55.646291
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/training_stats.py
training_stats.py
.py
10,720
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/training_stats.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/training_stats.py
5de4134f1943e7c3104bbc926b2abaf828626525
Python
2026-05-04T01:18:56.978670
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
torch_utils/utils_spectrum.py
utils_spectrum.py
.py
5,658
https://github.com/autonomousvision/stylegan-xl/blob/main/torch_utils/utils_spectrum.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/torch_utils/utils_spectrum.py
2931ea13f455dad3208bd17e0394e958f3ccff63
Python
2026-05-04T01:18:58.431847
import torch from torch.fft import fftn def roll_quadrants(data, backwards=False): """ Shift low frequencies to the center of fourier transform, i.e. [-N/2, ..., +N/2] -> [0, ..., N-1] Args: data: fourier transform, (NxHxW) backwards: bool, if True shift high frequencies back to center ...
autonomousvision/stylegan-xl
https://github.com/autonomousvision/stylegan-xl
https://api.github.com/repos/autonomousvision/stylegan-xl
autonomousvision
stylegan-xl
[SIGGRAPH'22] StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
995
118
995
mit
main
2022-02-01T20:11:25
2026-04-15T14:18:10
[]
{ "Python": 688904, "Cuda": 101457, "C++": 32603 }
false
45
train.py
train.py
.py
17,044
https://github.com/autonomousvision/stylegan-xl/blob/main/train.py
https://raw.githubusercontent.com/autonomousvision/stylegan-xl/main/train.py
5191144edb321edc5c6d833ecfd857ecb1c64ebb
Python
2026-05-04T01:18:59.694875
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this sof...
ivandokov/phockup
https://github.com/ivandokov/phockup
https://api.github.com/repos/ivandokov/phockup
ivandokov
phockup
Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
995
113
995
mit
master
2016-09-04T21:15:52
2026-05-01T17:13:05
[ "camera", "exiftool", "organize-media-files", "organize-photos", "photobackup", "sort-images", "sort-media-files", "sort-videos", "sorting" ]
{ "Python": 64777, "Shell": 1175, "Dockerfile": 403 }
false
30
__main__.py
__main__.py
.py
251
https://github.com/ivandokov/phockup/blob/master/__main__.py
https://raw.githubusercontent.com/ivandokov/phockup/master/__main__.py
828aa3408564ee8593c6508e590d188e64eea888
Python
2026-05-04T01:19:04.043863
#!/usr/bin/env python3 import sys from phockup import main from src.printer import Printer if __name__ == '__main__': try: main(sys.argv[1:]) except KeyboardInterrupt: Printer().empty().line('Exiting...') sys.exit(0)
ivandokov/phockup
https://github.com/ivandokov/phockup
https://api.github.com/repos/ivandokov/phockup
ivandokov
phockup
Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
995
113
995
mit
master
2016-09-04T21:15:52
2026-05-01T17:13:05
[ "camera", "exiftool", "organize-media-files", "organize-photos", "photobackup", "sort-images", "sort-media-files", "sort-videos", "sorting" ]
{ "Python": 64777, "Shell": 1175, "Dockerfile": 403 }
false
30
phockup.py
phockup.py
.py
12,199
https://github.com/ivandokov/phockup/blob/master/phockup.py
https://raw.githubusercontent.com/ivandokov/phockup/master/phockup.py
c432f57192d59d013609623bec45b165eb4d31f7
Python
2026-05-04T01:19:05.478727
#!/usr/bin/env python3 import argparse import logging import logging.handlers import os import re import sys from src.date import Date from src.dependency import check_dependencies from src.phockup import Phockup __version__ = '1.13.0' PROGRAM_DESCRIPTION = """\ Media sorting tool to organize photos and videos from ...
ivandokov/phockup
https://github.com/ivandokov/phockup
https://api.github.com/repos/ivandokov/phockup
ivandokov
phockup
Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
995
113
995
mit
master
2016-09-04T21:15:52
2026-05-01T17:13:05
[ "camera", "exiftool", "organize-media-files", "organize-photos", "photobackup", "sort-images", "sort-media-files", "sort-videos", "sorting" ]
{ "Python": 64777, "Shell": 1175, "Dockerfile": 403 }
false
30
src/date.py
date.py
.py
5,011
https://github.com/ivandokov/phockup/blob/master/src/date.py
https://raw.githubusercontent.com/ivandokov/phockup/master/src/date.py
0454343786833e1e3eb860cfde0dc5bb26bc7ad5
Python
2026-05-04T01:19:07.320069
import os import re from datetime import datetime, timedelta class Date: def __init__(self, filename=None): self.filename = filename @staticmethod def parse(date: str) -> str: date = date.replace('YYYY', '%Y') # 2017 (year) date = date.replace('YY', '%y') # 17 (year) dat...
ivandokov/phockup
https://github.com/ivandokov/phockup
https://api.github.com/repos/ivandokov/phockup
ivandokov
phockup
Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
995
113
995
mit
master
2016-09-04T21:15:52
2026-05-01T17:13:05
[ "camera", "exiftool", "organize-media-files", "organize-photos", "photobackup", "sort-images", "sort-media-files", "sort-videos", "sorting" ]
{ "Python": 64777, "Shell": 1175, "Dockerfile": 403 }
false
30
src/dependency.py
dependency.py
.py
245
https://github.com/ivandokov/phockup/blob/master/src/dependency.py
https://raw.githubusercontent.com/ivandokov/phockup/master/src/dependency.py
41055b473c3e6609dcf7b4bb83b61bf0f942beb6
Python
2026-05-04T01:19:08.653002
import logging import shutil logger = logging.getLogger('phockup') def check_dependencies(): if shutil.which('exiftool') is None: raise Exception("Exiftool is not installed.\ Visit http://www.sno.phy.queensu.ca/~phil/exiftool/")
ivandokov/phockup
https://github.com/ivandokov/phockup
https://api.github.com/repos/ivandokov/phockup
ivandokov
phockup
Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
995
113
995
mit
master
2016-09-04T21:15:52
2026-05-01T17:13:05
[ "camera", "exiftool", "organize-media-files", "organize-photos", "photobackup", "sort-images", "sort-media-files", "sort-videos", "sorting" ]
{ "Python": 64777, "Shell": 1175, "Dockerfile": 403 }
false
30
src/exif.py
exif.py
.py
1,080
https://github.com/ivandokov/phockup/blob/master/src/exif.py
https://raw.githubusercontent.com/ivandokov/phockup/master/src/exif.py
676e19165c7b68d58d590bf2c97ffacde480700b
Python
2026-05-04T01:19:09.893683
import json import shlex import subprocess import sys import threading from subprocess import CalledProcessError, check_output class Exif(object): def __init__(self, filename): self.filename = filename def data(self): try: exif_command = self.get_exif_command(self.filename) ...
ivandokov/phockup
https://github.com/ivandokov/phockup
https://api.github.com/repos/ivandokov/phockup
ivandokov
phockup
Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
995
113
995
mit
master
2016-09-04T21:15:52
2026-05-01T17:13:05
[ "camera", "exiftool", "organize-media-files", "organize-photos", "photobackup", "sort-images", "sort-media-files", "sort-videos", "sorting" ]
{ "Python": 64777, "Shell": 1175, "Dockerfile": 403 }
false
30
src/phockup.py
phockup.py
.py
17,267
https://github.com/ivandokov/phockup/blob/master/src/phockup.py
https://raw.githubusercontent.com/ivandokov/phockup/master/src/phockup.py
5add1cd046ba14895c545ef0f0093189028bf37b
Python
2026-05-04T01:19:11.825825
#!/usr/bin/env python3 import concurrent.futures import filecmp import logging import os import re import shutil import sys import time from tqdm import tqdm from src.date import Date from src.exif import Exif logger = logging.getLogger('phockup') ignored_files = ('.DS_Store', 'Thumbs.db') class Phockup: DEFAU...
ivandokov/phockup
https://github.com/ivandokov/phockup
https://api.github.com/repos/ivandokov/phockup
ivandokov
phockup
Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
995
113
995
mit
master
2016-09-04T21:15:52
2026-05-01T17:13:05
[ "camera", "exiftool", "organize-media-files", "organize-photos", "photobackup", "sort-images", "sort-media-files", "sort-videos", "sorting" ]
{ "Python": 64777, "Shell": 1175, "Dockerfile": 403 }
false
30
tests/test_date.py
test_date.py
.py
4,424
https://github.com/ivandokov/phockup/blob/master/tests/test_date.py
https://raw.githubusercontent.com/ivandokov/phockup/master/tests/test_date.py
6a027d65075c7ae54988e981f68480b3726e8aee
Python
2026-05-04T01:19:13.157643
#!/usr/bin/env python3 import os import re from datetime import datetime from src.date import Date os.chdir(os.path.dirname(__file__)) def test_parse_date_format_valid(): """Test that parse_date_format returns a valid format for strftime""" datetime.strftime( datetime.now(), Date().parse("YY...
ivandokov/phockup
https://github.com/ivandokov/phockup
https://api.github.com/repos/ivandokov/phockup
ivandokov
phockup
Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
995
113
995
mit
master
2016-09-04T21:15:52
2026-05-01T17:13:05
[ "camera", "exiftool", "organize-media-files", "organize-photos", "photobackup", "sort-images", "sort-media-files", "sort-videos", "sorting" ]
{ "Python": 64777, "Shell": 1175, "Dockerfile": 403 }
false
30
tests/test_exif.py
test_exif.py
.py
808
https://github.com/ivandokov/phockup/blob/master/tests/test_exif.py
https://raw.githubusercontent.com/ivandokov/phockup/master/tests/test_exif.py
c625904ffba5995755a37a608e80feacfea2a4e3
Python
2026-05-04T01:19:14.490376
#!/usr/bin/env python3 import os from subprocess import CalledProcessError from src.exif import Exif os.chdir(os.path.dirname(__file__)) def test_exif_reads_valid_file(): exif = Exif("input/exif.jpg") assert exif.data()['CreateDate'] == '2017:01:01 01:01:01' def test_exif_reads_files_with_illegal_characte...
ivandokov/phockup
https://github.com/ivandokov/phockup
https://api.github.com/repos/ivandokov/phockup
ivandokov
phockup
Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
995
113
995
mit
master
2016-09-04T21:15:52
2026-05-01T17:13:05
[ "camera", "exiftool", "organize-media-files", "organize-photos", "photobackup", "sort-images", "sort-media-files", "sort-videos", "sorting" ]
{ "Python": 64777, "Shell": 1175, "Dockerfile": 403 }
false
30
tests/test_phockup.py
test_phockup.py
.py
23,492
https://github.com/ivandokov/phockup/blob/master/tests/test_phockup.py
https://raw.githubusercontent.com/ivandokov/phockup/master/tests/test_phockup.py
0c634a6bbe2d6dc96abf17321733982c3137a1a0
Python
2026-05-04T01:19:15.982929
#!/usr/bin/env python3 import logging import os import shutil import sys from datetime import datetime import pytest from src.dependency import check_dependencies from src.exif import Exif from src.phockup import Phockup os.chdir(os.path.dirname(__file__)) def test_check_dependencies(mocker): mocker.patch('shu...
KaiyangZhou/pytorch-center-loss
https://github.com/KaiyangZhou/pytorch-center-loss
https://api.github.com/repos/KaiyangZhou/pytorch-center-loss
KaiyangZhou
pytorch-center-loss
Pytorch implementation of Center Loss
995
217
995
mit
master
2018-03-21T16:12:01
2026-04-03T01:48:32
[ "center-loss", "computer-vision", "deep-learning", "feature-learning", "loss-functions", "python", "pytorch" ]
{ "Python": 14841 }
false
23
center_loss.py
center_loss.py
.py
1,619
https://github.com/KaiyangZhou/pytorch-center-loss/blob/master/center_loss.py
https://raw.githubusercontent.com/KaiyangZhou/pytorch-center-loss/master/center_loss.py
9e87012b8b806c4c8ca15696416ccab88da4b01a
Python
2026-05-04T01:19:20.446381
import torch import torch.nn as nn class CenterLoss(nn.Module): """Center loss. Reference: Wen et al. A Discriminative Feature Learning Approach for Deep Face Recognition. ECCV 2016. Args: num_classes (int): number of classes. feat_dim (int): feature dimension. """ def...
KaiyangZhou/pytorch-center-loss
https://github.com/KaiyangZhou/pytorch-center-loss
https://api.github.com/repos/KaiyangZhou/pytorch-center-loss
KaiyangZhou
pytorch-center-loss
Pytorch implementation of Center Loss
995
217
995
mit
master
2018-03-21T16:12:01
2026-04-03T01:48:32
[ "center-loss", "computer-vision", "deep-learning", "feature-learning", "loss-functions", "python", "pytorch" ]
{ "Python": 14841 }
false
23
datasets.py
datasets.py
.py
1,332
https://github.com/KaiyangZhou/pytorch-center-loss/blob/master/datasets.py
https://raw.githubusercontent.com/KaiyangZhou/pytorch-center-loss/master/datasets.py
463d46b3ba6eb83c54ff3463730456c6b7ae9f6e
Python
2026-05-04T01:19:21.759893
import torch import torchvision from torch.utils.data import DataLoader import transforms class MNIST(object): def __init__(self, batch_size, use_gpu, num_workers): transform = transforms.Compose([ transforms.ToTensor(), transforms.Normalize((0.1307,), (0.3081,)) ]) ...
KaiyangZhou/pytorch-center-loss
https://github.com/KaiyangZhou/pytorch-center-loss
https://api.github.com/repos/KaiyangZhou/pytorch-center-loss
KaiyangZhou
pytorch-center-loss
Pytorch implementation of Center Loss
995
217
995
mit
master
2018-03-21T16:12:01
2026-04-03T01:48:32
[ "center-loss", "computer-vision", "deep-learning", "feature-learning", "loss-functions", "python", "pytorch" ]
{ "Python": 14841 }
false
23
main.py
main.py
.py
7,968
https://github.com/KaiyangZhou/pytorch-center-loss/blob/master/main.py
https://raw.githubusercontent.com/KaiyangZhou/pytorch-center-loss/master/main.py
267618c0f9de3b3676daec97f569946cf2565211
Python
2026-05-04T01:19:23.275060
import os import sys import argparse import datetime import time import os.path as osp import matplotlib matplotlib.use('Agg') from matplotlib import pyplot as plt import numpy as np import torch import torch.nn as nn from torch.optim import lr_scheduler import torch.backends.cudnn as cudnn import datasets import mod...
KaiyangZhou/pytorch-center-loss
https://github.com/KaiyangZhou/pytorch-center-loss
https://api.github.com/repos/KaiyangZhou/pytorch-center-loss
KaiyangZhou
pytorch-center-loss
Pytorch implementation of Center Loss
995
217
995
mit
master
2018-03-21T16:12:01
2026-04-03T01:48:32
[ "center-loss", "computer-vision", "deep-learning", "feature-learning", "loss-functions", "python", "pytorch" ]
{ "Python": 14841 }
false
23
models.py
models.py
.py
1,758
https://github.com/KaiyangZhou/pytorch-center-loss/blob/master/models.py
https://raw.githubusercontent.com/KaiyangZhou/pytorch-center-loss/master/models.py
7cd15be6a4b6092d9ab9a446b651c0de10de1a69
Python
2026-05-04T01:19:24.482135
import torch import torch.nn as nn from torch.nn import functional as F import math class ConvNet(nn.Module): """LeNet++ as described in the Center Loss paper.""" def __init__(self, num_classes): super(ConvNet, self).__init__() self.conv1_1 = nn.Conv2d(1, 32, 5, stride=1, padding=2) se...
KaiyangZhou/pytorch-center-loss
https://github.com/KaiyangZhou/pytorch-center-loss
https://api.github.com/repos/KaiyangZhou/pytorch-center-loss
KaiyangZhou
pytorch-center-loss
Pytorch implementation of Center Loss
995
217
995
mit
master
2018-03-21T16:12:01
2026-04-03T01:48:32
[ "center-loss", "computer-vision", "deep-learning", "feature-learning", "loss-functions", "python", "pytorch" ]
{ "Python": 14841 }
false
23
transforms.py
transforms.py
.py
200
https://github.com/KaiyangZhou/pytorch-center-loss/blob/master/transforms.py
https://raw.githubusercontent.com/KaiyangZhou/pytorch-center-loss/master/transforms.py
6e86b84496825be6f6ecb8eafc650d42eedbc45d
Python
2026-05-04T01:19:25.967189
from torchvision.transforms import * from PIL import Image class ToGray(object): """ Convert image from RGB to gray level. """ def __call__(self, img): return img.convert('L')
KaiyangZhou/pytorch-center-loss
https://github.com/KaiyangZhou/pytorch-center-loss
https://api.github.com/repos/KaiyangZhou/pytorch-center-loss
KaiyangZhou
pytorch-center-loss
Pytorch implementation of Center Loss
995
217
995
mit
master
2018-03-21T16:12:01
2026-04-03T01:48:32
[ "center-loss", "computer-vision", "deep-learning", "feature-learning", "loss-functions", "python", "pytorch" ]
{ "Python": 14841 }
false
23
utils.py
utils.py
.py
1,964
https://github.com/KaiyangZhou/pytorch-center-loss/blob/master/utils.py
https://raw.githubusercontent.com/KaiyangZhou/pytorch-center-loss/master/utils.py
8dca95c919eb6be09f2922275b297bfacf116266
Python
2026-05-04T01:19:27.397538
import os import sys import errno import shutil import os.path as osp import torch def mkdir_if_missing(directory): if not osp.exists(directory): try: os.makedirs(directory) except OSError as e: if e.errno != errno.EEXIST: raise class AverageMeter(object): ...
jithurjacob/Windows-10-Toast-Notifications
https://github.com/jithurjacob/Windows-10-Toast-Notifications
https://api.github.com/repos/jithurjacob/Windows-10-Toast-Notifications
jithurjacob
Windows-10-Toast-Notifications
Python library to display Windows 10 Toast Notifications
994
167
994
mit
master
2015-12-08T08:17:04
2026-05-02T15:38:40
[ "desktop-application", "python", "python-library", "pywin32", "win32", "windows" ]
{ "Python": 7773 }
false
75
setup.py
setup.py
.py
1,322
https://github.com/jithurjacob/Windows-10-Toast-Notifications/blob/master/setup.py
https://raw.githubusercontent.com/jithurjacob/Windows-10-Toast-Notifications/master/setup.py
8ead33e6ae7877134f26a4d4702e88ce56b9578e
Python
2026-05-04T01:19:31.816473
from operator import attrgetter from os import path from pip.req import parse_requirements from setuptools import setup def read(fname): return open(path.join(path.dirname(__file__), fname)).read() def from_here(relative_path): return path.join(path.dirname(__file__), relative_path) requirements_txt = li...
jithurjacob/Windows-10-Toast-Notifications
https://github.com/jithurjacob/Windows-10-Toast-Notifications
https://api.github.com/repos/jithurjacob/Windows-10-Toast-Notifications
jithurjacob
Windows-10-Toast-Notifications
Python library to display Windows 10 Toast Notifications
994
167
994
mit
master
2015-12-08T08:17:04
2026-05-02T15:38:40
[ "desktop-application", "python", "python-library", "pywin32", "win32", "windows" ]
{ "Python": 7773 }
false
75
test/test.py
test.py
.py
344
https://github.com/jithurjacob/Windows-10-Toast-Notifications/blob/master/test/test.py
https://raw.githubusercontent.com/jithurjacob/Windows-10-Toast-Notifications/master/test/test.py
c75c47ff6122d7c96ebc25b299925c30ed1c843e
Python
2026-05-04T01:19:33.023672
from win10toast import ToastNotifier if __name__ == "__main__": # Example toaster = ToastNotifier() toaster.show_toast( "Hello World!!!", "Python is 10 seconds awsm!", duration=10) toaster.show_toast( "Example two", "Once you start coding in Python you'll hate ot...
jithurjacob/Windows-10-Toast-Notifications
https://github.com/jithurjacob/Windows-10-Toast-Notifications
https://api.github.com/repos/jithurjacob/Windows-10-Toast-Notifications
jithurjacob
Windows-10-Toast-Notifications
Python library to display Windows 10 Toast Notifications
994
167
994
mit
master
2015-12-08T08:17:04
2026-05-02T15:38:40
[ "desktop-application", "python", "python-library", "pywin32", "win32", "windows" ]
{ "Python": 7773 }
false
75
win10toast/__init__.py
__init__.py
.py
5,439
https://github.com/jithurjacob/Windows-10-Toast-Notifications/blob/master/win10toast/__init__.py
https://raw.githubusercontent.com/jithurjacob/Windows-10-Toast-Notifications/master/win10toast/__init__.py
8ed1bc55131db7dd236e4dbb9efee1cf4878ea9a
Python
2026-05-04T01:19:34.151946
from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals __all__ = ['ToastNotifier'] # ############################################################################# # ########## Libraries ############# # ################################## # standard library ...
jithurjacob/Windows-10-Toast-Notifications
https://github.com/jithurjacob/Windows-10-Toast-Notifications
https://api.github.com/repos/jithurjacob/Windows-10-Toast-Notifications
jithurjacob
Windows-10-Toast-Notifications
Python library to display Windows 10 Toast Notifications
994
167
994
mit
master
2015-12-08T08:17:04
2026-05-02T15:38:40
[ "desktop-application", "python", "python-library", "pywin32", "win32", "windows" ]
{ "Python": 7773 }
false
75
win10toast/__main__.py
__main__.py
.py
668
https://github.com/jithurjacob/Windows-10-Toast-Notifications/blob/master/win10toast/__main__.py
https://raw.githubusercontent.com/jithurjacob/Windows-10-Toast-Notifications/master/win10toast/__main__.py
a962b7a382ee3296ba33ec9df578c5b54ee28679
Python
2026-05-04T01:19:35.481625
from win10toast import ToastNotifier import time # ############################################################################# # ###### Stand alone program ######## # ################################### if __name__ == "__main__": # Example toaster = ToastNotifier() toaster.show_toast( "Hello Wor...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/__init__.py
__init__.py
.py
1,465
https://github.com/TypeError/secure/blob/main/secure/__init__.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/__init__.py
9ce3631520eda7e3454ca6e332a7b07ba33e8c21
Python
2026-05-04T01:19:39.705405
from secure.secure import ( COMMA_JOIN_OK, DEFAULT_ALLOWED_HEADERS, MULTI_OK, Preset, Secure, ) from .headers.cache_control import CacheControl from .headers.content_security_policy import ContentSecurityPolicy from .headers.cross_origin_embedder_policy import CrossOriginEmbedderPolicy from .header...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/_internal/configured_headers.py
configured_headers.py
.py
4,278
https://github.com/TypeError/secure/blob/main/secure/_internal/configured_headers.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/_internal/configured_headers.py
d8b0c4cbfce8180a6a0b792046d99c02cdc12a5c
Python
2026-05-04T01:19:40.924707
from __future__ import annotations from types import MappingProxyType from typing import TYPE_CHECKING, Any, TypeAlias, overload from ..headers.base_header import BaseHeader from ..headers.custom_header import CustomHeader from .types import HeaderItems, HeaderPair if TYPE_CHECKING: from collections.abc import C...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/_internal/constants.py
constants.py
.py
1,111
https://github.com/TypeError/secure/blob/main/secure/_internal/constants.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/_internal/constants.py
8bdb8ed3c8e0e99043dcb5a889e7701bbc196217
Python
2026-05-04T01:19:42.138031
from __future__ import annotations import re # Headers that may appear multiple times as separate fields. MULTI_OK: frozenset[str] = frozenset( { "content-security-policy", } ) # Headers where RFC7230-style comma merging is safe/expected. COMMA_JOIN_OK: frozenset[str] = frozenset({"cache-control"}) ...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/_internal/emit.py
emit.py
.py
4,677
https://github.com/TypeError/secure/blob/main/secure/_internal/emit.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/_internal/emit.py
6369a95784ddd5a6eb26106ac35890d89cc407ce
Python
2026-05-04T01:19:43.470131
from __future__ import annotations import inspect from typing import TYPE_CHECKING, cast if TYPE_CHECKING: from collections.abc import Callable, MutableMapping from .types import HeaderItems, ResponseProtocol class HeaderSetError(RuntimeError): """Raised when applying a header to a response fails.""" ...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/_internal/normalize.py
normalize.py
.py
4,702
https://github.com/TypeError/secure/blob/main/secure/_internal/normalize.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/_internal/normalize.py
ee239c86f54e3efed4b46d5d674d13d074ff7090
Python
2026-05-04T01:19:44.644091
from __future__ import annotations from dataclasses import dataclass import logging from types import MappingProxyType from typing import TYPE_CHECKING from .constants import HEADER_NAME_RE if TYPE_CHECKING: from collections.abc import Iterable, Mapping from .types import OnInvalidPolicy SPACE_CODEPOINT = ...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/_internal/policy.py
policy.py
.py
5,617
https://github.com/TypeError/secure/blob/main/secure/_internal/policy.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/_internal/policy.py
dbabd5a45f6cb5e0e6f09f1aead5e238b1883ddc
Python
2026-05-04T01:19:45.930132
from __future__ import annotations from collections import defaultdict import logging from typing import TYPE_CHECKING from ..headers.base_header import BaseHeader from ..headers.custom_header import CustomHeader if TYPE_CHECKING: from collections.abc import Iterable from .types import DeduplicateAction, On...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/_internal/presets.py
presets.py
.py
4,178
https://github.com/TypeError/secure/blob/main/secure/_internal/presets.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/_internal/presets.py
80ab5660ec054b696473a33049c2a3c361ae2944
Python
2026-05-04T01:19:47.144004
from __future__ import annotations from enum import Enum from ..headers import ( CacheControl, ContentSecurityPolicy, CrossOriginEmbedderPolicy, CrossOriginOpenerPolicy, CrossOriginResourcePolicy, CustomHeader, PermissionsPolicy, ReferrerPolicy, Server, StrictTransportSecurity,...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/_internal/types.py
types.py
.py
602
https://github.com/TypeError/secure/blob/main/secure/_internal/types.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/_internal/types.py
330301a795de8e52012be721fd946245a8f634a0
Python
2026-05-04T01:19:48.486511
from __future__ import annotations from typing import Literal, Protocol, TypeAlias OnInvalidPolicy = Literal["drop", "warn", "raise"] DeduplicateAction = Literal["raise", "first", "last", "concat"] OnUnexpectedPolicy = Literal["raise", "drop", "warn"] class HeadersProtocol(Protocol): @property def headers(s...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/__init__.py
__init__.py
.py
1,194
https://github.com/TypeError/secure/blob/main/secure/headers/__init__.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/__init__.py
3ab20e2c9d50db0393e504b949209693c27429e7
Python
2026-05-04T01:19:49.820818
from .base_header import BaseHeader from .cache_control import CacheControl from .content_security_policy import ContentSecurityPolicy from .cross_origin_embedder_policy import CrossOriginEmbedderPolicy from .cross_origin_opener_policy import CrossOriginOpenerPolicy from .cross_origin_resource_policy import CrossOrigin...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/_validation.py
_validation.py
.py
569
https://github.com/TypeError/secure/blob/main/secure/headers/_validation.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/_validation.py
2907b78f58e5cd67f1fec75ee4d876d79dfedc6b
Python
2026-05-04T01:19:51.251520
from __future__ import annotations def normalize_header_value(value: str, *, what: str = "header value") -> str: """ Trim whitespace and reject CR/LF characters in header strings. Args: value: Raw header string. what: Description of the value (used for error messages). Returns: ...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/base_header.py
base_header.py
.py
4,835
https://github.com/TypeError/secure/blob/main/secure/headers/base_header.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/base_header.py
01474f2951c93fcea65f2040778cfc937338b6ab
Python
2026-05-04T01:19:52.584169
# Security header recommendations and information from the MDN Web Docs and the OWASP Secure Headers Project # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control # https://owasp.org/www-project-secure-headers/#cache-control from abc import abstractmethod from dataclasses import dataclass from enum...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/cache_control.py
cache_control.py
.py
11,610
https://github.com/TypeError/secure/blob/main/secure/headers/cache_control.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/cache_control.py
d7c849b0275629f941bd95d89206197bd6f020df
Python
2026-05-04T01:19:54.119804
# Security header recommendations and information from the MDN Web Docs and the OWASP Secure Headers Project # https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control # https://owasp.org/www-project-secure-headers/#cache-control # # Cache-Control by Mozilla Contributors is licensed under CC-BY...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/content_security_policy.py
content_security_policy.py
.py
14,866
https://github.com/TypeError/secure/blob/main/secure/headers/content_security_policy.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/content_security_policy.py
96accbd619bd086f37a0082ad639ec2ee1dfa7e3
Python
2026-05-04T01:19:55.452395
# Security header recommendations and information from the MDN Web Docs and the OWASP Secure Headers Project # https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy # https://owasp.org/www-project-secure-headers/#content-security-policy # # Content-Security-Policy by Mozilla Contri...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/cross_origin_embedder_policy.py
cross_origin_embedder_policy.py
.py
4,377
https://github.com/TypeError/secure/blob/main/secure/headers/cross_origin_embedder_policy.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/cross_origin_embedder_policy.py
8fe60cfae6e710f5d0320f9f69b3f2b316e75ae9
Python
2026-05-04T01:19:56.783615
# Security header recommendations and information from the MDN Web Docs and the OWASP Secure Headers Project # https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cross-Origin-Embedder-Policy # https://owasp.org/www-project-secure-headers/#cross-origin-embedder-policy # # Cross-Origin-Embedder-Policy by...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/cross_origin_opener_policy.py
cross_origin_opener_policy.py
.py
5,820
https://github.com/TypeError/secure/blob/main/secure/headers/cross_origin_opener_policy.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/cross_origin_opener_policy.py
f1a3fa5900d439981b7d88cfa31209a3e72696d8
Python
2026-05-04T01:19:58.738170
# Security header recommendations and information from the MDN Web Docs and the OWASP Secure Headers Project # https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cross-Origin-Opener-Policy # https://owasp.org/www-project-secure-headers/#cross-origin-opener-policy # # Cross-Origin-Opener-Policy by Mozil...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/cross_origin_resource_policy.py
cross_origin_resource_policy.py
.py
4,233
https://github.com/TypeError/secure/blob/main/secure/headers/cross_origin_resource_policy.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/cross_origin_resource_policy.py
e1cb96c26815e48eab56f8eb6f1c9efaaae4d926
Python
2026-05-04T01:19:59.971659
# Security header recommendations and information from the MDN Web Docs and the OWASP Secure Headers Project # https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cross-Origin-Resource-Policy # https://owasp.org/www-project-secure-headers/#cross-origin-resource-policy # # Cross-Origin-Resource-Policy by...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/custom_header.py
custom_header.py
.py
2,082
https://github.com/TypeError/secure/blob/main/secure/headers/custom_header.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/custom_header.py
f3ee622b8e0f677af5ffef5502375c232a9f7fdd
Python
2026-05-04T01:20:01.132842
from __future__ import annotations # type: ignore from dataclasses import dataclass, field from secure.headers._validation import normalize_header_value from secure.headers.base_header import BaseHeader @dataclass class CustomHeader(BaseHeader): """ Wrapper for an arbitrary HTTP header. Default header...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/permissions_policy.py
permissions_policy.py
.py
18,114
https://github.com/TypeError/secure/blob/main/secure/headers/permissions_policy.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/permissions_policy.py
e65d67bb85e7fd9bb7a1977b3841975d982124b9
Python
2026-05-04T01:20:02.541642
# Security header recommendations and information from the MDN Web Docs and the OWASP Secure Headers Project # https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy # https://owasp.org/www-project-secure-headers/#permissions-policy # # Permissions-Policy by Mozilla Contributors is licen...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/referrer_policy.py
referrer_policy.py
.py
6,498
https://github.com/TypeError/secure/blob/main/secure/headers/referrer_policy.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/referrer_policy.py
3d33ca88c576a95b1cc5b053b69287a2bf6ef22b
Python
2026-05-04T01:20:03.786790
# Security header recommendations and information from the MDN Web Docs and the OWASP Secure Headers Project # https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy # https://owasp.org/www-project-secure-headers/#referrer-policy # # Referrer-Policy by Mozilla Contributors is licensed under...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/server.py
server.py
.py
2,313
https://github.com/TypeError/secure/blob/main/secure/headers/server.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/server.py
9c8c87a89bda58fdc0590930fbc2e6b768701bf7
Python
2026-05-04T01:20:10.103479
from __future__ import annotations # type: ignore from dataclasses import dataclass, field from secure.headers._validation import normalize_header_value from secure.headers.base_header import BaseHeader, HeaderDefaultValue, HeaderName @dataclass class Server(BaseHeader): """ Builder for the ``Server`` HTTP...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/strict_transport_security.py
strict_transport_security.py
.py
6,243
https://github.com/TypeError/secure/blob/main/secure/headers/strict_transport_security.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/strict_transport_security.py
3b4e3a191d2382ca704733d534203ee9b3eb9f27
Python
2026-05-04T01:20:11.630368
# Security header recommendations and information from the MDN Web Docs and the OWASP Secure Headers Project # https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Strict-Transport-Security # https://owasp.org/www-project-secure-headers/ # # Strict-Transport-Security by Mozilla Contributors is licensed u...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/x_content_type_options.py
x_content_type_options.py
.py
3,075
https://github.com/TypeError/secure/blob/main/secure/headers/x_content_type_options.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/x_content_type_options.py
e8623756666d1ddb900f6908710c1fe86fb21248
Python
2026-05-04T01:20:12.974845
# Security header recommendations and information from the MDN Web Docs and the OWASP Secure Headers Project # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options # https://owasp.org/www-project-secure-headers/#x-content-type-options # # X-Content-Type-Options by Mozilla Contributors is lic...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/x_dns_prefetch_control.py
x_dns_prefetch_control.py
.py
3,782
https://github.com/TypeError/secure/blob/main/secure/headers/x_dns_prefetch_control.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/x_dns_prefetch_control.py
3ecedaea0a84fd6bfb7b71ef2692b3960377a613
Python
2026-05-04T01:20:14.306628
# Security header recommendations and information from the MDN Web Docs and the OWASP Secure Headers Project # https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-DNS-Prefetch-Control # https://owasp.org/www-project-secure-headers/#x-dns-prefetch-control # # X-DNS-Prefetch-Control by Mozilla Contribut...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/x_frame_options.py
x_frame_options.py
.py
4,254
https://github.com/TypeError/secure/blob/main/secure/headers/x_frame_options.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/x_frame_options.py
3cac5dc302d8b4be99a59d883a358acbc0e97e69
Python
2026-05-04T01:20:15.586245
# Security header recommendations and information from the MDN Web Docs and the OWASP Secure Headers Project # https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Frame-Options # https://owasp.org/www-project-secure-headers/#x-frame-options # # X-Frame-Options by Mozilla Contributors is licensed under...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/headers/x_permitted_cross_domain_policies.py
x_permitted_cross_domain_policies.py
.py
4,818
https://github.com/TypeError/secure/blob/main/secure/headers/x_permitted_cross_domain_policies.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/headers/x_permitted_cross_domain_policies.py
411ada82d4c4de7e1efaafc3a143c6248456d2ad
Python
2026-05-04T01:20:17.178055
# Security header recommendations and information from the MDN Web Docs and the OWASP Secure Headers Project # https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Permitted-Cross-Domain-Policies # https://owasp.org/www-project-secure-headers/#x-permitted-cross-domain-policies # # X-Permitted-Cross-Dom...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/middleware/__init__.py
__init__.py
.py
185
https://github.com/TypeError/secure/blob/main/secure/middleware/__init__.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/middleware/__init__.py
3d8dce7105252206ff757f6be903443107dc5e07
Python
2026-05-04T01:20:18.501203
from __future__ import annotations from .asgi import SecureASGIMiddleware from .wsgi import SecureWSGIMiddleware __all__ = [ "SecureASGIMiddleware", "SecureWSGIMiddleware", ]
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/middleware/asgi.py
asgi.py
.py
5,768
https://github.com/TypeError/secure/blob/main/secure/middleware/asgi.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/middleware/asgi.py
b228eaaebcae7421eef0a2fe0bf6df097a5015ab
Python
2026-05-04T01:20:20.128957
from __future__ import annotations from collections.abc import Awaitable, Callable, Iterable, MutableMapping from typing import Protocol, TypeAlias, cast from ..secure import MULTI_OK, Secure # --------------------------------------------------------------------------- # ASGI typing aliases # -----------------------...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/middleware/wsgi.py
wsgi.py
.py
4,981
https://github.com/TypeError/secure/blob/main/secure/middleware/wsgi.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/middleware/wsgi.py
6e11e3082500037c1c2d61b278a5122eb37b6055
Python
2026-05-04T01:20:21.461988
from __future__ import annotations from collections.abc import Iterable from types import TracebackType from typing import Any, TypeAlias from ..secure import MULTI_OK, Secure # --------------------------------------------------------------------------- # WSGI typing aliases # ---------------------------------------...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
secure/secure.py
secure.py
.py
18,123
https://github.com/TypeError/secure/blob/main/secure/secure.py
https://raw.githubusercontent.com/TypeError/secure/main/secure/secure.py
cd1b86c2d237ccf017669159f15cf44841028f43
Python
2026-05-04T01:20:23.002667
from __future__ import annotations import logging from typing import TYPE_CHECKING if TYPE_CHECKING: from collections.abc import Iterable, Mapping from ._internal.types import DeduplicateAction, HeaderItems, OnInvalidPolicy, OnUnexpectedPolicy, ResponseProtocol from .headers import ( BaseHeader, ...
TypeError/secure
https://github.com/TypeError/secure
https://api.github.com/repos/TypeError/secure
TypeError
secure
Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).
993
31
993
mit
main
2018-11-27T00:59:09
2026-05-02T04:21:58
[ "asgi", "content-security-policy", "django", "fastapi", "flask", "http-headers", "python", "security", "security-headers", "shiny", "strict-transport-security", "web-security", "wsgi" ]
{ "Python": 230402 }
false
4
tests/headers/test_cache_control.py
test_cache_control.py
.py
1,317
https://github.com/TypeError/secure/blob/main/tests/headers/test_cache_control.py
https://raw.githubusercontent.com/TypeError/secure/main/tests/headers/test_cache_control.py
71c5aaa3540ad2a7ed37578f48bd149505f75ae4
Python
2026-05-04T01:20:24.227814
import unittest from secure.headers import CacheControl class TestCacheControl(unittest.TestCase): def test_default_cache_control(self): """Test default Cache-Control value (no-store, max-age=0).""" cache_control = CacheControl() self.assertEqual(cache_control.header_value, "no-store, max...