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
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/_signature.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.140349
# coding=utf-8 """ DNS Provider 签名和哈希算法模块 Signature and hash algorithms module for DNS providers. Provides common cryptographic functions for cloud provider authentication. @author: NewFuture """ from hashlib import sha256 from hmac import HMAC def hmac_sha256(key, message): # type: (str | bytes, str | bytes) ...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/cloudns.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.141245
# coding=utf-8 """ ClouDNS API @doc: https://www.cloudns.net/wiki/ @author: NewFuture """ from ._base import BaseProvider, TYPE_FORM class CloudnsProvider(BaseProvider): """ ClouDNS API ClouDNS 接口解析操作库 """ endpoint = "https://api.cloudns.net" content_type = TYPE_FORM DEFAULT_TTL = 60 # ...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/callback.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.142420
# coding=utf-8 """ Custom Callback API 自定义回调接口解析操作库 @author: 老周部落, NewFuture """ from ._base import TYPE_JSON, SimpleProvider from time import time from json import loads as jsondecode class CallbackProvider(SimpleProvider): """ 通用自定义回调 Provider,支持 GET/POST 任意接口。 Generic custom callback provider, suppor...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/alidns.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.157682
# coding=utf-8 """ AliDNS API 阿里DNS解析操作库 @author: NewFuture """ from time import gmtime, strftime, time from ._base import TYPE_FORM, BaseProvider, encode_params, join_domain from ._signature import hmac_sha256_authorization, sha256_hash class AliBaseProvider(BaseProvider): """阿里云基础Provider,提供通用的_request方法""" ...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/debug.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.169209
# coding=utf-8 """ DebugProvider 仅打印出 IP 地址,不进行任何实际 DNS 更新。 """ from ._base import SimpleProvider class DebugProvider(SimpleProvider): def _validate(self): """无需任何验证""" pass def set_record(self, domain, value, record_type="A", ttl=None, line=None, **extra): self.logger.debug("DebugPr...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/dnscom.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.664721
# coding=utf-8 """ DNSCOM/51dns API 接口解析操作库 www.51dns.com (原dns.com) @author: Bigjin<i@bigjin.com>, NewFuture """ from hashlib import md5 from time import time from ._base import TYPE_FORM, BaseProvider, encode_params class DnscomProvider(BaseProvider): """ DNSCOM/51dns API Provider https://www.51dns.co...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/dnspod.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.737507
# coding=utf-8 """ DNSPOD API @doc: https://docs.dnspod.cn/api/ @author: NewFuture """ from ._base import BaseProvider, TYPE_FORM class DnspodProvider(BaseProvider): """ DNSPOD API DNSPOD 接口解析操作库 """ endpoint = "https://dnsapi.cn" content_type = TYPE_FORM DefaultLine = "默认" def _re...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/edgeone.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.739191
# coding=utf-8 """ Tencent Cloud EdgeOne API 腾讯云 EdgeOne (边缘安全速平台) API API Documentation: https://cloud.tencent.com/document/api/1552/80731 @author: NewFuture """ from ddns.provider._base import join_domain from .tencentcloud import TencentCloudProvider class EdgeOneProvider(TencentCloudProvider): """ 腾讯云 Ed...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/dnspod_com.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.740091
# coding=utf-8 """ DNSPOD Global (国际版) API http://www.dnspod.com/docs/domains.html @author: NewFuture """ from .dnspod import DnspodProvider # noqa: F401 class DnspodComProvider(DnspodProvider): """ DNSPOD.com Provider (国际版) This class extends the DnspodProvider to use the global DNSPOD API. """ ...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/huaweidns.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.747009
# coding=utf-8 """ HuaweiDNS API 华为DNS解析操作库 @author: NewFuture """ from time import gmtime, strftime from ._base import TYPE_JSON, BaseProvider, encode_params, join_domain from ._signature import hmac_sha256_authorization, sha256_hash class HuaweiDNSProvider(BaseProvider): endpoint = "https://dns.myhuaweicloud....
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/namesilo.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.761014
# coding=utf-8 """ NameSilo API Provider DNS provider implementation for NameSilo domain registrar @doc: https://www.namesilo.com/api-reference @author: NewFuture & Copilot """ from ._base import BaseProvider, TYPE_JSON class NamesiloProvider(BaseProvider): """ NameSilo DNS API Provider Supports DNS rec...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/edgeone_dns.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.766715
# coding=utf-8 """ Tencent Cloud EdgeOne DNS API 腾讯云 EdgeOne (边缘安全速平台) DNS API - 非加速域名管理 API Documentation: https://cloud.tencent.com/document/api/1552/80731 @author: NewFuture """ from .edgeone import EdgeOneProvider class EdgeOneDnsProvider(EdgeOneProvider): """ 腾讯云 EdgeOne DNS API 提供商 - 用于管理非加速域名 Tenc...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/he.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.771074
# coding=utf-8 """ Hurricane Electric (he.net) API @author: NN708, NewFuture """ from ._base import SimpleProvider, TYPE_FORM class HeProvider(SimpleProvider): endpoint = "https://dyn.dns.he.net" content_type = TYPE_FORM accept = None # he.net does not require a specific Accept header decode_respons...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/noip.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.793730
# coding=utf-8 """ No-IP (noip.com) Dynamic DNS API @author: GitHub Copilot """ from ._base import SimpleProvider, TYPE_FORM, quote class NoipProvider(SimpleProvider): """ No-IP (www.noip.com) Dynamic DNS Provider No-IP is a popular dynamic DNS service that provides simple HTTP-based API for updatin...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/provider/tencentcloud.py
null
null
null
null
null
null
Python
2026-05-04T01:56:09.852734
# coding=utf-8 """ Tencent Cloud DNSPod API 腾讯云 DNSPod API @author: NewFuture """ from time import gmtime, strftime, time from ._base import TYPE_JSON, BaseProvider from ._signature import hmac_sha256, hmac_sha256_authorization, sha256_hash class TencentCloudProvider(BaseProvider): """ 腾讯云 DNSPod API 提供商 ...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/scheduler/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:56:10.912765
# -*- coding:utf-8 -*- """ Task scheduler management Provides factory functions and public API for task scheduling @author: NewFuture """ import os import platform from ddns.util.fileio import read_file_safely from ..util.try_run import try_run # Import all scheduler classes from ._base import BaseScheduler from .c...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/scheduler/schtasks.py
null
null
null
null
null
null
Python
2026-05-04T01:56:11.471356
# -*- coding:utf-8 -*- """ schtasks-based task scheduler @author: NewFuture """ import os import re import tempfile from ..util.try_run import try_run from ._base import BaseScheduler class SchtasksScheduler(BaseScheduler): """schtasks-based task scheduler""" NAME = "DDNS" def _schtasks(self, *args): ...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/scheduler/cron.py
null
null
null
null
null
null
Python
2026-05-04T01:56:11.530599
# -*- coding:utf-8 -*- """ Cron-based task scheduler for Unix-like systems @author: NewFuture """ import os import subprocess import tempfile from ..util.fileio import write_file from ..util.try_run import try_run from ._base import BaseScheduler class CronScheduler(BaseScheduler): """Cron-based task scheduler ...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/scheduler/_base.py
null
null
null
null
null
null
Python
2026-05-04T01:56:11.566913
# -*- coding:utf-8 -*- """ Base scheduler class for DDNS task management @author: NewFuture """ import sys from datetime import datetime from logging import Logger, getLogger # noqa: F401 from .. import __version__ as version class BaseScheduler(object): """Base class for all task schedulers""" def __init...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/scheduler/launchd.py
null
null
null
null
null
null
Python
2026-05-04T01:56:11.567545
# -*- coding:utf-8 -*- """ macOS launchd-based task scheduler @author: NewFuture """ import os import re from ..util.fileio import read_file_safely, write_file from ..util.try_run import try_run from ._base import BaseScheduler class LaunchdScheduler(BaseScheduler): """macOS launchd-based task scheduler""" ...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/scheduler/systemd.py
null
null
null
null
null
null
Python
2026-05-04T01:56:11.579590
# -*- coding:utf-8 -*- """ Systemd timer-based task scheduler for Linux @author: NewFuture """ import os import re from ..util.fileio import read_file_safely, write_file from ..util.try_run import try_run from ._base import BaseScheduler try: # python 3 PermissionError # type: ignore except NameError: # pytho...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/util/try_run.py
null
null
null
null
null
null
Python
2026-05-04T01:56:11.644025
# -*- coding:utf-8 -*- """ Utility: Safe command execution wrapper used across the project. Provides a single try_run function with consistent behavior. """ import subprocess import sys def try_run(command, logger=None, **kwargs): # type: (list, object, **object) -> str | None """Safely run a subprocess comm...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/util/fileio.py
null
null
null
null
null
null
Python
2026-05-04T01:56:11.648956
# -*- coding:utf-8 -*- """ File I/O utilities for DDNS with Python 2/3 compatibility @author: NewFuture """ import os from io import open # Python 2/3 compatible UTF-8 file operations def _ensure_directory_exists(file_path): # type: (str) -> None """ Internal helper to ensure directory exists for the given...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/util/comment.py
null
null
null
null
null
null
Python
2026-05-04T01:56:11.666335
# -*- coding:utf-8 -*- """ Comment removal utility for JSON configuration files. Supports both # and // style single line comments. @author: GitHub Copilot """ def remove_comment(content): # type: (str) -> str """ 移除字符串中的单行注释。 支持 # 和 // 两种注释风格。 Args: content (str): 包含注释的字符串内容 Returns...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
run.py
null
null
null
null
null
null
Python
2026-05-04T01:56:12.290823
#!/usr/bin/env python # -*- coding:utf-8 -*- # Nuitka Project Configuration # nuitka-project: --mode=onefile # nuitka-project: --output-filename=ddns # nuitka-project: --output-dir=dist # nuitka-project: --product-name=DDNS # nuitka-project: --product-version=0.0.0 # nuitka-project: --onefile-tempdir-spec="{TEMP}/{PRO...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
tests/test_config_cli_extra.py
null
null
null
null
null
null
Python
2026-05-04T01:56:12.736319
# coding=utf-8 """ Unit tests for CLI extra field support in ddns.config.cli module @author: GitHub Copilot """ import sys from __init__ import unittest from ddns.config.cli import load_config # noqa: E402 class TestCliExtraFields(unittest.TestCase): """Test CLI extra field parsing""" def setUp(self): ...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
tests/test_cache.py
null
null
null
null
null
null
Python
2026-05-04T01:56:12.737614
# -*- coding: utf-8 -*- # type: ignore[index,operator,assignment] """ Test cases for cache module @author: GitHub Copilot """ from __init__ import patch, unittest import os import tempfile from time import sleep from ddns.cache import Cache # noqa: E402 class TestCache(unittest.TestCase): """Test cases for Ca...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
tests/base_test.py
null
null
null
null
null
null
Python
2026-05-04T01:56:12.738300
# coding=utf-8 """ Base test utilities and common imports for all provider tests @author: NewFuture """ from __init__ import unittest, patch, MagicMock # noqa: F401 # Ensure the package is initialized class BaseProviderTestCase(unittest.TestCase): """Base test case class with common setup for all provider tests...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
tests/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:56:12.739055
# coding=utf-8 """ DDNS Tests Package """ import sys import os import unittest try: from unittest import mock # type: ignore from unittest.mock import patch, MagicMock, call except ImportError: # Python 2 from mock import patch, MagicMock, call # type: ignore import mock # type: ignore __all__ = ...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
tests/test_config_cli.py
null
null
null
null
null
null
Python
2026-05-04T01:56:12.739775
# coding=utf-8 """ Unit tests for ddns.config.cli module @author: GitHub Copilot """ from __init__ import unittest import sys import io from ddns.config.cli import load_config, str_bool, log_level # noqa: E402 class TestCliConfig(unittest.TestCase): def setUp(self): encode = sys.stdout.encoding ...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
tests/test_config_cli_task.py
null
null
null
null
null
null
Python
2026-05-04T01:56:13.368846
# coding=utf-8 """ Unit tests for ddns task subcommand functionality @author: GitHub Copilot """ from __init__ import unittest, patch import sys import io from ddns.config.cli import load_config class TestTaskSubcommand(unittest.TestCase): """Test task subcommand functionality""" def setUp(self): en...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
tests/test_config_config.py
null
null
null
null
null
null
Python
2026-05-04T01:56:13.420136
# coding=utf-8 """ Unit tests for ddns.config.config module @author: GitHub Copilot """ from __init__ import unittest from ddns.config.config import Config, split_array_string, SIMPLE_ARRAY_PARAMS # noqa: E402 class TestSplitArrayString(unittest.TestCase): def test_split_array_string_comprehensive(self): ...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
tests/test_config_env.py
null
null
null
null
null
null
Python
2026-05-04T01:56:13.529675
# -*- coding:utf-8 -*- """ Configuration loader tests for environment variables. """ import os import unittest from ddns.config.env import load_config class TestConfigEnv(unittest.TestCase): """Test configuration loading from environment variables""" def setUp(self): """Set up test environment""" ...
NewFuture/DDNS
https://github.com/NewFuture/DDNS
null
null
null
null
4,662
null
null
mit
null
null
null
null
null
null
null
ddns/util/http.py
null
null
null
null
null
null
Python
2026-05-04T01:56:15.705108
# coding=utf-8 """ HTTP请求工具模块,SSL 代理,重试,basic-auth HTTP utilities module, including ssl, proxies, retry and basicAuth. @author: NewFuture """ from logging import getLogger from re import compile import ssl import os import time import socket from .. import __version__ try: # python 3 from urllib.request import...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:56:18.595465
"""Strawberry is a Python library for GraphQL. Strawberry is a Python library for GraphQL that aims to stay close to the GraphQL specification and allow for a more natural way of defining GraphQL schemas. """ from . import experimental, federation, relay from .directive import directive, directive_field from .parent ...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
setup.py
null
null
null
null
null
null
Python
2026-05-04T01:56:18.596817
#!/usr/bin/env python # we use uv for our build, but this file seems to be required # in order to get GitHub dependencies graph to work import setuptools if __name__ == "__main__": setuptools.setup(name="strawberry-graphql")
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
e2e/app.py
null
null
null
null
null
null
Python
2026-05-04T01:56:18.598513
import asyncio # noqa: INP001 import random import strawberry from strawberry.schema.config import StrawberryConfig @strawberry.type class Author: id: strawberry.ID name: str @strawberry.type class Comment: id: strawberry.ID content: str @strawberry.field async def author(self) -> Author:...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/aiohttp/views.py
null
null
null
null
null
null
Python
2026-05-04T01:56:18.606353
from __future__ import annotations import asyncio from datetime import timedelta from json.decoder import JSONDecodeError from typing import ( TYPE_CHECKING, TypeGuard, ) from aiohttp import ClientConnectionResetError, http, web from cross_web import AiohttpHTTPRequestAdapter, HTTPException from strawberry.h...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
noxfile.py
null
null
null
null
null
null
Python
2026-05-04T01:56:18.624630
import itertools from collections.abc import Callable from typing import Any import nox nox.options.reuse_existing_virtualenvs = True nox.options.error_on_external_run = True nox.options.default_venv_backend = "uv" PYTHON_VERSIONS = ["3.14", "3.13", "3.12", "3.11", "3.10"] GQL_CORE_VERSIONS = [ "3.2.6", "3....
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
federation-compatibility/schema.py
null
null
null
null
null
null
Python
2026-05-04T01:56:18.625560
from typing import Any, Optional import strawberry from strawberry.extensions.tracing import ApolloFederationTracingExtension from strawberry.schema_directive import Location # ------- data ------- dimension = { "size": "small", "weight": 1, "unit": "kg", } user = { "email": "support@apollographql.c...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/aiohttp/test/client.py
null
null
null
null
null
null
Python
2026-05-04T01:56:18.627079
from __future__ import annotations from typing import Any from strawberry.test.client import BaseGraphQLTestClient, Response class GraphQLTestClient(BaseGraphQLTestClient): async def query( self, query: str, variables: dict[str, Any] | None = None, headers: dict[str, object] | No...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/asgi/test/client.py
null
null
null
null
null
null
Python
2026-05-04T01:56:19.263344
from __future__ import annotations import json from typing import TYPE_CHECKING, Any from strawberry.test import BaseGraphQLTestClient if TYPE_CHECKING: from collections.abc import Mapping from typing import Literal class GraphQLTestClient(BaseGraphQLTestClient): def _build_body( self, ...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/asgi/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:56:19.264427
from __future__ import annotations from datetime import timedelta from json import JSONDecodeError from typing import ( TYPE_CHECKING, TypeGuard, ) from cross_web import HTTPException, StarletteRequestAdapter from starlette import status from starlette.requests import Request from starlette.responses import (...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/chalice/views.py
null
null
null
null
null
null
Python
2026-05-04T01:56:19.294470
from __future__ import annotations from typing import TYPE_CHECKING from chalice.app import Request, Response from cross_web import ChaliceHTTPRequestAdapter, HTTPException from strawberry.http.sync_base_view import SyncBaseHTTPView from strawberry.http.temporal_response import TemporalResponse from strawberry.http....
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/annotation.py
null
null
null
null
null
null
Python
2026-05-04T01:56:19.295665
from __future__ import annotations import sys import typing import warnings from collections import abc from enum import Enum from types import UnionType from typing import ( TYPE_CHECKING, Annotated, Any, ForwardRef, TypeVar, Union, cast, get_args, get_origin, ) from typing_extensi...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/channels/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:56:19.324544
from .handlers.base import ChannelsConsumer from .handlers.http_handler import ( ChannelsRequest, GraphQLHTTPConsumer, SyncGraphQLHTTPConsumer, ) from .handlers.ws_handler import GraphQLWSConsumer from .router import GraphQLProtocolTypeRouter __all__ = [ "ChannelsConsumer", "ChannelsRequest", "...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/channels/handlers/base.py
null
null
null
null
null
null
Python
2026-05-04T01:56:19.325092
import asyncio import contextlib from collections import defaultdict from collections.abc import AsyncGenerator, Awaitable, Callable, Sequence from typing import ( Any, Literal, ) from typing_extensions import Protocol, TypedDict from weakref import WeakSet from channels.consumer import AsyncConsumer from chan...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/channels/handlers/http_handler.py
null
null
null
null
null
null
Python
2026-05-04T01:56:19.359512
from __future__ import annotations import dataclasses import json from functools import cached_property from io import BytesIO from typing import TYPE_CHECKING, Any, TypeGuard from typing_extensions import assert_never from urllib.parse import parse_qs from channels.db import database_sync_to_async from channels.gene...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/cli/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:56:20.189793
try: from .app import app from .commands.codegen import codegen as codegen from .commands.dev import dev as dev from .commands.export_schema import export_schema as export_schema from .commands.locate_definition import ( locate_definition as locate_definition, ) from .commands.schema...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/cli/commands/codegen.py
null
null
null
null
null
null
Python
2026-05-04T01:56:20.191343
from __future__ import annotations import functools import importlib import inspect from pathlib import Path # noqa: TC003 from typing import cast import rich import typer from strawberry.cli.app import app from strawberry.cli.utils import load_schema from strawberry.codegen import ConsolePlugin, QueryCodegen, Quer...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/channels/handlers/ws_handler.py
null
null
null
null
null
null
Python
2026-05-04T01:56:20.220139
from __future__ import annotations import asyncio import datetime import json from typing import ( TYPE_CHECKING, TypedDict, TypeGuard, ) from strawberry.http.async_base_view import AsyncBaseHTTPView, AsyncWebSocketAdapter from strawberry.http.exceptions import NonJsonMessageReceived, NonTextMessageReceiv...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/channels/router.py
null
null
null
null
null
null
Python
2026-05-04T01:56:20.220963
"""GraphQLWebSocketRouter. This is a simple router class that might be better placed as part of Channels itself. It's a simple "SubProtocolRouter" that selects the websocket subprotocol based on preferences and client support. Then it hands off to the appropriate consumer. """ from __future__ import annotations from...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/channels/testing.py
null
null
null
null
null
null
Python
2026-05-04T01:56:20.247986
from __future__ import annotations import uuid from typing import ( TYPE_CHECKING, Any, ) from channels.testing.websocket import WebsocketCommunicator from graphql import GraphQLError, GraphQLFormattedError from strawberry.subscriptions import GRAPHQL_TRANSPORT_WS_PROTOCOL, GRAPHQL_WS_PROTOCOL from strawberr...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/cli/commands/locate_definition.py
null
null
null
null
null
null
Python
2026-05-04T01:56:20.353772
import sys import typer from rich.console import Console from strawberry.cli.app import app from strawberry.cli.utils import load_schema from strawberry.utils.locate_definition import ( locate_definition as locate_definition_util, ) err_console = Console(stderr=True) @app.command(help="Locate a definition in t...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/cli/commands/upgrade/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:56:20.841535
from __future__ import annotations import glob import pathlib # noqa: TC003 import sys import rich import typer from libcst.codemod import CodemodContext from strawberry.cli.app import app from strawberry.codemods.annotated_unions import ConvertUnionToAnnotatedUnion from strawberry.codemods.maybe_optional import Co...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/cli/dev_server.py
null
null
null
null
null
null
Python
2026-05-04T01:56:20.866941
import os from typing import Any from starlette.applications import Starlette from starlette.middleware.cors import CORSMiddleware from starlette.routing import BaseRoute, Route, WebSocketRoute from strawberry import Schema from strawberry.asgi import GraphQL from strawberry.cli.constants import DEV_SERVER_SCHEMA_ENV...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/cli/commands/upgrade/_run_codemod.py
null
null
null
null
null
null
Python
2026-05-04T01:56:20.868564
from __future__ import annotations import contextlib import os from importlib.metadata import version from multiprocessing import Pool, cpu_count from typing import TYPE_CHECKING, Any, TypeAlias from libcst.codemod._cli import ExecutionConfig, ExecutionResult, _execute_transform from rich.progress import Progress fr...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/cli/commands/upgrade/_fake_progress.py
null
null
null
null
null
null
Python
2026-05-04T01:56:20.896136
from typing import Any from typing_extensions import Self from rich.progress import TaskID class FakeProgress: """A fake progress bar that does nothing. This is used when the user has only one file to process. """ def advance(self, task_id: TaskID) -> None: pass def add_task(self, *arg...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/cli/commands/schema_codegen.py
null
null
null
null
null
null
Python
2026-05-04T01:56:20.896648
from pathlib import Path import typer from strawberry.cli.app import app from strawberry.schema_codegen import codegen @app.command(help="Generate code from a query") def schema_codegen( schema: Path = typer.Argument(exists=True), output: Path | None = typer.Option( None, "-o", "--ou...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/cli/utils/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:56:20.970485
import sys import rich import typer from strawberry import Schema from strawberry.utils.importer import import_module_symbol def load_schema(schema: str, app_dir: str) -> Schema: sys.path.insert(0, app_dir) try: schema_symbol = import_module_symbol(schema, default_symbol_name="schema") except (...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/cli/commands/dev.py
null
null
null
null
null
null
Python
2026-05-04T01:56:20.971750
import os import sys from enum import Enum from typing import Annotated import rich import typer from strawberry.cli.app import app from strawberry.cli.constants import DEV_SERVER_SCHEMA_ENV_VAR_KEY from strawberry.cli.utils import load_schema class LogLevel(str, Enum): critical = "critical" error = "error"...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/cli/commands/export_schema.py
null
null
null
null
null
null
Python
2026-05-04T01:56:21.084865
from pathlib import Path import typer from strawberry.cli.app import app from strawberry.cli.utils import load_schema from strawberry.printer import print_schema @app.command(help="Exports the schema") def export_schema( schema: str, app_dir: str = typer.Option( ".", "--app-dir", sho...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/codegen/plugins/typescript.py
null
null
null
null
null
null
Python
2026-05-04T01:56:21.849620
from __future__ import annotations import textwrap from typing import TYPE_CHECKING, ClassVar from strawberry.codegen import CodegenFile, QueryCodegenPlugin from strawberry.codegen.types import ( GraphQLEnum, GraphQLList, GraphQLObjectType, GraphQLOptional, GraphQLScalar, GraphQLUnion, ) if T...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/codegen/types.py
null
null
null
null
null
null
Python
2026-05-04T01:56:21.852530
from __future__ import annotations from dataclasses import dataclass, field from typing import TYPE_CHECKING, TypeAlias if TYPE_CHECKING: from collections.abc import Mapping from enum import EnumMeta from typing import Literal from strawberry.types.unset import UnsetType @dataclass class GraphQLOpt...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/codegen/exceptions.py
null
null
null
null
null
null
Python
2026-05-04T01:56:21.853546
class CodegenError(Exception): pass class NoOperationProvidedError(CodegenError): pass class NoOperationNameProvidedError(CodegenError): pass class MultipleOperationsProvidedError(CodegenError): pass __all__ = [ "CodegenError", "MultipleOperationsProvidedError", "NoOperationNameProvi...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/codegen/plugins/print_operation.py
null
null
null
null
null
null
Python
2026-05-04T01:56:21.854123
from __future__ import annotations import textwrap from typing import TYPE_CHECKING from strawberry.codegen import CodegenFile, QueryCodegenPlugin from strawberry.codegen.types import ( GraphQLBoolValue, GraphQLEnumValue, GraphQLField, GraphQLFieldSelection, GraphQLFragmentSpread, GraphQLFragm...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/codegen/plugins/python.py
null
null
null
null
null
null
Python
2026-05-04T01:56:21.854725
from __future__ import annotations import textwrap from collections import defaultdict from dataclasses import dataclass from typing import TYPE_CHECKING, ClassVar from strawberry.codegen import CodegenFile, QueryCodegenPlugin from strawberry.codegen.types import ( GraphQLEnum, GraphQLEnumValue, GraphQLLi...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/codegen/query_codegen.py
null
null
null
null
null
null
Python
2026-05-04T01:56:21.913089
from __future__ import annotations from collections.abc import Callable, Iterable, Mapping, Sequence from dataclasses import MISSING, dataclass from enum import Enum from functools import cmp_to_key, partial from pathlib import Path from typing import ( TYPE_CHECKING, Any, cast, ) from typing_extensions im...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/codegen/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:56:23.026948
from .query_codegen import ( CodegenFile, CodegenResult, ConsolePlugin, QueryCodegen, QueryCodegenPlugin, ) __all__ = [ "CodegenFile", "CodegenResult", "ConsolePlugin", "QueryCodegen", "QueryCodegenPlugin", ]
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/codemods/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:56:23.226332
from .annotated_unions import ConvertUnionToAnnotatedUnion from .maybe_optional import ConvertMaybeToOptional from .replace_scalar_wrappers import ReplaceScalarWrappers from .update_imports import UpdateImportsCodemod __all__ = [ "ConvertMaybeToOptional", "ConvertUnionToAnnotatedUnion", "ReplaceScalarWrapp...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/codemods/annotated_unions.py
null
null
null
null
null
null
Python
2026-05-04T01:56:23.368440
from __future__ import annotations from typing import TYPE_CHECKING import libcst as cst import libcst.matchers as m from libcst._nodes.expression import BaseExpression, Call # noqa: TC002 from libcst.codemod import CodemodContext, VisitorBasedCodemodCommand from libcst.codemod.visitors import AddImportsVisitor, Rem...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/codemods/maybe_optional.py
null
null
null
null
null
null
Python
2026-05-04T01:56:23.374497
from __future__ import annotations import libcst as cst import libcst.matchers as m from libcst._nodes.expression import BaseExpression # noqa: TC002 from libcst.codemod import CodemodContext, VisitorBasedCodemodCommand from libcst.codemod.visitors import AddImportsVisitor class ConvertMaybeToOptional(VisitorBasedC...
strawberry-graphql/strawberry
https://github.com/strawberry-graphql/strawberry
null
null
null
null
4,650
null
null
mit
null
null
null
null
null
null
null
strawberry/codemods/replace_scalar_wrappers.py
null
null
null
null
null
null
Python
2026-05-04T01:56:23.375186
from __future__ import annotations import libcst as cst import libcst.matchers as m from libcst.codemod import CodemodContext, VisitorBasedCodemodCommand from libcst.codemod.visitors import AddImportsVisitor # Mapping from old scalar wrapper names to their replacements # Format: old_name -> (module, import_name, usag...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/config.py
null
null
null
null
null
null
Python
2026-05-04T01:56:25.795602
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os import codecs import shutil import argparse from functools import partial import six from six.moves import configparser from . import docs, __version__ from .objects import KeyMap PACKAGE = os.path.dirname(__file__) HOME = os.path.expanduser(...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/exceptions.py
null
null
null
null
null
null
Python
2026-05-04T01:56:25.824959
# -*- coding: utf-8 -*- from __future__ import unicode_literals class EscapeInterrupt(Exception): "Signal that the ESC key has been pressed" class ConfigError(Exception): "There was a problem with the configuration" class RTVError(Exception): "Base RTV error class" class AccountError(RTVError): ...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/clipboard.py
null
null
null
null
null
null
Python
2026-05-04T01:56:25.841790
# -*- coding: utf-8 -*- from __future__ import unicode_literals import sys import subprocess from .exceptions import ProgramError def _subprocess_copy(text, args_list): p = subprocess.Popen(args_list, stdin=subprocess.PIPE, close_fds=True) p.communicate(input=text.encode('utf-8')) def copy(text): """ ...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/content.py
null
null
null
null
null
null
Python
2026-05-04T01:56:25.843282
# -*- coding: utf-8 -*- from __future__ import unicode_literals import re import time import logging from datetime import datetime from timeit import default_timer as timer import six from bs4 import BeautifulSoup from kitchen.text.display import wrap from . import exceptions from .packages import praw from .package...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:56:25.956295
# -*- coding: utf-8 -*- r""" ________ __________________________ ___ __ \__________ /_____ /__(_)_ /_ __ /_/ / _ \ __ /_ __ /__ /_ __/ _ _, _// __/ /_/ / / /_/ / _ / / /_ /_/ |_| \___/\__,_/ \__,_/ /_/ \__/ ________ _____ ______ ___ __/__________________ ______...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/inbox_page.py
null
null
null
null
null
null
Python
2026-05-04T01:56:25.957753
# -*- coding: utf-8 -*- from __future__ import unicode_literals from . import docs from .content import InboxContent from .page import Page, PageController, logged_in from .objects import Navigator, Command class InboxController(PageController): character_map = {} class InboxPage(Page): BANNER = docs.BANNE...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/docs.py
null
null
null
null
null
null
Python
2026-05-04T01:56:25.960788
# -*- coding: utf-8 -*- from __future__ import unicode_literals AGENT = """\ desktop:https://github.com/michael-lazar/rtv:{version}\ (by /u/civilization_phaze_3)\ """ SUMMARY = """ RTV (Reddit Terminal Viewer) is a terminal interface to view and interact with reddit. """ USAGE = """\ rtv [URL] [-s SUBREDDIT] $ rt...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/mime_parsers.py
null
null
null
null
null
null
Python
2026-05-04T01:56:25.961999
import re import logging import mimetypes import requests from bs4 import BeautifulSoup _logger = logging.getLogger(__name__) class BaseMIMEParser(object): """ BaseMIMEParser can be sub-classed to define custom handlers for determining the MIME type of external urls. """ pattern = re.compile(r'....
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/__main__.py
null
null
null
null
null
null
Python
2026-05-04T01:56:25.963097
# -*- coding: utf-8 -*- # pylint: disable=wrong-import-position from __future__ import unicode_literals from __future__ import print_function import os import sys import locale import logging import warnings import six import requests # Need to check for curses compatibility before performing the rtv imports try: ...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/objects.py
null
null
null
null
null
null
Python
2026-05-04T01:56:26.775685
# -*- coding: utf-8 -*- from __future__ import unicode_literals import re import os import sys import time import signal import inspect import weakref import logging import threading import webbrowser import curses import curses.ascii from contextlib import contextmanager import six import requests from . import exc...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/oauth.py
null
null
null
null
null
null
Python
2026-05-04T01:56:26.780524
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os import time import uuid import string import codecs import logging import threading # pylint: disable=import-error from six.moves.urllib.parse import urlparse, parse_qs from six.moves.BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer fr...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/packages/praw/multiprocess.py
null
null
null
null
null
null
Python
2026-05-04T01:56:26.980170
"""Provides a request server to be used with the multiprocess handler.""" from __future__ import print_function, unicode_literals import socket import sys from optparse import OptionParser from . import __version__ from .handlers import DefaultHandler from requests import Session from six.moves import cPickle, socket...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/packages/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:56:26.982269
""" This stub allows the user to fallback to their system installation of praw if the bundled package is missing. This technique was inspired by the requests library and how it handles dependencies. Reference: https://github.com/kennethreitz/requests/blob/master/requests/packages/__init__.py """ from __future__ im...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/packages/praw/decorator_helpers.py
null
null
null
null
null
null
Python
2026-05-04T01:56:26.984229
"""Internal helper functions used by praw.decorators.""" import inspect from requests.compat import urljoin import six import sys def _get_captcha(reddit_session, captcha_id): """Prompt user for captcha solution and return a prepared result.""" url = urljoin(reddit_session.config['captcha'], ...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/packages/praw/handlers.py
null
null
null
null
null
null
Python
2026-05-04T01:56:26.985462
"""Provides classes that handle request dispatching.""" from __future__ import print_function, unicode_literals import socket import sys import time from functools import wraps from .errors import ClientException from .helpers import normalize_url from requests import Session from six import text_type from six.moves ...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/packages/praw/errors.py
null
null
null
null
null
null
Python
2026-05-04T01:56:26.986507
# This file is part of PRAW. # # PRAW is free software: you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software # Foundation, either version 3 of the License, or (at your option) any later # version. # # PRAW is distributed in the hope that it will ...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/packages/praw/helpers.py
null
null
null
null
null
null
Python
2026-05-04T01:56:26.987590
# This file is part of PRAW. # # PRAW is free software: you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software # Foundation, either version 3 of the License, or (at your option) any later # version. # # PRAW is distributed in the hope that it will ...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/packages/praw/decorators.py
null
null
null
null
null
null
Python
2026-05-04T01:56:27.007325
# This file is part of PRAW. # # PRAW is free software: you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software # Foundation, either version 3 of the License, or (at your option) any later # version. # # PRAW is distributed in the hope that it will ...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/packages/praw/internal.py
null
null
null
null
null
null
Python
2026-05-04T01:56:27.037283
# This file is part of PRAW. # # PRAW is free software: you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software # Foundation, either version 3 of the License, or (at your option) any later # version. # # PRAW is distributed in the hope that it will ...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/packages/praw/objects.py
null
null
null
null
null
null
Python
2026-05-04T01:56:27.611645
# This file is part of PRAW. # # PRAW is free software: you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software # Foundation, either version 3 of the License, or (at your option) any later # version. # # PRAW is distributed in the hope that it will ...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/packages/praw/settings.py
null
null
null
null
null
null
Python
2026-05-04T01:56:27.711357
# This file is part of PRAW. # # PRAW is free software: you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software # Foundation, either version 3 of the License, or (at your option) any later # version. # # PRAW is distributed in the hope that it will ...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/page.py
null
null
null
null
null
null
Python
2026-05-04T01:56:27.781219
# -*- coding: utf-8 -*- from __future__ import unicode_literals import re import os import sys import time import logging from functools import wraps import six from kitchen.text.display import textual_width from . import docs from .clipboard import copy as clipboard_copy from .objects import Controller, Command fro...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/submission_page.py
null
null
null
null
null
null
Python
2026-05-04T01:56:27.791862
# -*- coding: utf-8 -*- from __future__ import unicode_literals from . import docs from .content import SubmissionContent from .page import Page, PageController, logged_in from .objects import Navigator, Command class SubmissionController(PageController): character_map = {} class SubmissionPage(Page): BANN...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
scripts/build_authors.py
null
null
null
null
null
null
Python
2026-05-04T01:56:27.792854
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Scrape the project contributors list from Github and update AUTHORS.rst """ from __future__ import unicode_literals import os import time import logging import requests _filepath = os.path.dirname(os.path.relpath(__file__)) FILENAME = os.path.abspath(os.path.join(_...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/subreddit_page.py
null
null
null
null
null
null
Python
2026-05-04T01:56:27.807650
# -*- coding: utf-8 -*- from __future__ import unicode_literals import time from . import docs from .content import SubredditContent from .page import Page, PageController, logged_in from .objects import Navigator, Command from .exceptions import TemporaryFileError class SubredditController(PageController): cha...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/subscription_page.py
null
null
null
null
null
null
Python
2026-05-04T01:56:27.815567
# -*- coding: utf-8 -*- from __future__ import unicode_literals from . import docs from .content import SubscriptionContent from .page import Page, PageController, logged_in from .objects import Navigator, Command class SubscriptionController(PageController): character_map = {} class SubscriptionPage(Page): ...
michael-lazar/rtv
https://github.com/michael-lazar/rtv
null
null
null
null
4,647
null
null
mit
null
null
null
null
null
null
null
rtv/terminal.py
null
null
null
null
null
null
Python
2026-05-04T01:56:27.843359
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os import re import sys import time import shlex import codecs import curses import logging import threading import webbrowser import subprocess import curses.ascii from curses import textpad import multiprocessing from multiprocessing import Proce...