repo stringlengths 8 51 | unit stringlengths 0 34 | subject stringlengths 8 200 | granularity stringclasses 2
values | spec_source stringclasses 2
values | spec stringlengths 20 2.13k | source_before stringlengths 78 58.2k | source_after stringlengths 123 58.4k | test_file stringlengths 7 75 | fail_to_pass listlengths 1 36 | committed_at stringdate 2010-06-13 00:00:00 2026-08-17 00:00:00 | parent_at stringdate 2010-06-12 00:00:00 2026-08-17 00:00:00 | license stringclasses 6
values | license_file stringclasses 8
values | also_in stringclasses 6
values | commit stringlengths 40 40 | parent stringlengths 40 40 | commit_url stringlengths 75 118 | repo_url stringlengths 27 70 | module stringlengths 2 75 | units_changed listlengths 1 6 | diff_lines int64 1 25 | n_tests int64 1 36 | fingerprint stringlengths 16 16 | id stringlengths 25 119 | language stringclasses 1
value | validated_at stringdate 2026-08-17 00:00:00 2026-08-18 00:00:00 | validator stringclasses 1
value | schema_version int64 1 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gepa-ai/gepa | Add tests and fix issue | file | commit | Add tests and fix issue | from typing import Any, TypedDict
import litellm
from gepa import EvaluationBatch, GEPAAdapter
# DataInst, Trajectory, RolloutOutput
class DefaultDataInst(TypedDict):
input: str
additional_context: dict[str, str]
answer: str
class DefaultTrajectory(TypedDict):
data: DefaultDataInst
full_assista... | from typing import Any, TypedDict
from gepa.core.adapter import EvaluationBatch, GEPAAdapter
# DataInst, Trajectory, RolloutOutput
class DefaultDataInst(TypedDict):
input: str
additional_context: dict[str, str]
answer: str
class DefaultTrajectory(TypedDict):
data: DefaultDataInst
full_assistant_... | tests/test_import.py | [
"tests/test_import.py::test_package_import"
] | 2025-08-13 | 2025-08-13 | MIT | LICENSE | 55cac0c44c0df3472cdd93996ef9fd925624440d | 86ab821046632df3e8600f5e15279ad20da59cf8 | https://github.com/gepa-ai/gepa/commit/55cac0c44c0df3472cdd93996ef9fd925624440d | https://github.com/gepa-ai/gepa | gepa.adapters.default_adapter | [
"DefaultAdapter"
] | 8 | 1 | 07800ed0dfa23347 | gepa-ai/gepa@55cac0c44#src/gepa/adapters/default_adapter.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
jawah/charset_normalizer | :bug: automatically fallback on valid UTF-16 or UTF-32 even if the md says it's noisy | file | commit | :bug: automatically fallback on valid UTF-16 or UTF-32 even if the md says it's noisy | from __future__ import annotations
import logging
from os import PathLike
from typing import BinaryIO
from .cd import (
coherence_ratio,
encoding_languages,
mb_encoding_languages,
merge_coherence_ratios,
)
from .constant import IANA_SUPPORTED, TOO_BIG_SEQUENCE, TOO_SMALL_SEQUENCE, TRACE
from .md impor... | from __future__ import annotations
import logging
from os import PathLike
from typing import BinaryIO
from .cd import (
coherence_ratio,
encoding_languages,
mb_encoding_languages,
merge_coherence_ratios,
)
from .constant import IANA_SUPPORTED, TOO_BIG_SEQUENCE, TOO_SMALL_SEQUENCE, TRACE
from .md impor... | tests/test_base_detection.py | [
"tests/test_base_detection.py::test_md_triggered_but_with_bom_or_sig[\\xff\\xfe\\x00\\x00\\xb6%\\x00\\x00h\\x00\\x00\\x00e\\x00\\x00\\x00l\\x00\\x00\\x00l\\x00\\x00\\x00o\\x00\\x00\\x00-utf_32]"
] | 2025-08-09 | 2025-08-09 | MIT | LICENSE | 15ae2411072b5e026f2c9d6ec81b55f75af7dcf2 | 37397c1799a05454ab42fbbc94a7643cdb277924 | https://github.com/jawah/charset_normalizer/commit/15ae2411072b5e026f2c9d6ec81b55f75af7dcf2 | https://github.com/jawah/charset_normalizer | charset_normalizer.api | [
"from_bytes"
] | 5 | 1 | c2891bf2fdd12b40 | jawah/charset_normalizer@15ae24110#src/charset_normalizer/api.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
Krukov/cashews | Fix decode dict in a key template #352 | file | commit | Fix decode dict in a key template #352 | from __future__ import annotations
import base64
import json
import re
from collections.abc import Iterable
from contextlib import contextmanager
from hashlib import md5, sha1, sha256
from re import Pattern
from string import Formatter
from typing import Any, Callable
from . import key_context
from ._typing import Ke... | from __future__ import annotations
import base64
import json
import re
from collections.abc import Iterable
from contextlib import contextmanager
from hashlib import md5, sha1, sha256
from re import Pattern
from string import Formatter
from typing import Any, Callable
from . import key_context
from ._typing import Ke... | tests/test_key.py | [
"tests/test_key.py::test_cache_key_args_kwargs[args21-kwargs21-{@:get(context_value)}:{kwarg}-context:1:1]"
] | 2025-08-03 | 2025-08-03 | MIT | LICENSE | d4fa79bae6c81dc7feaf419b645623bde433a31b | 2bea1f504fef763a7cbab8fb2a6c7f14d94015fc | https://github.com/Krukov/cashews/commit/d4fa79bae6c81dc7feaf419b645623bde433a31b | https://github.com/Krukov/cashews | cashews.formatter | [
"_get_decoded_dict",
"default_format"
] | 13 | 1 | 28c0be47807339a7 | Krukov/cashews@d4fa79bae#cashews/formatter.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
defnull/multipart | fix: Hardened header parsing. | file | commit | fix: Hardened header parsing. | # -*- coding: utf-8 -*-
"""
This module provides multiple parsers for RFC-7578 `multipart/form-data`, both
low-level for framework authors and high-level for WSGI or ASGI application
developers.
https://multipart.readthedocs.io/
Copyright (c) 2010-2025, Marcel Hellkamp
License: MIT (see LICENSE file)
"""
__author__... | # -*- coding: utf-8 -*-
"""
This module provides multiple parsers for RFC-7578 `multipart/form-data`, both
low-level for framework authors and high-level for WSGI or ASGI application
developers.
https://multipart.readthedocs.io/
Copyright (c) 2010-2025, Marcel Hellkamp
License: MIT (see LICENSE file)
"""
__author__... | test/test_push_parser.py | [
"test/test_push_parser.py::TestPushParser::test_header_empty_name"
] | 2025-07-26 | 2025-07-26 | MIT | LICENSE | a6cdc6d4a9aba7ed7cd001f41bfee1925113cbfa | 90a72973f179c3b327007e4c8ca6b955d8739b57 | https://github.com/defnull/multipart/commit/a6cdc6d4a9aba7ed7cd001f41bfee1925113cbfa | https://github.com/defnull/multipart | multipart | [
"PushMultipartParser"
] | 16 | 1 | 89ee7ed6e1d9f09c | defnull/multipart@a6cdc6d4a#multipart.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
colcon/colcon-core | Fix a regression in recursive dependency enumeration (#693) | file | commit | Fix a regression in recursive dependency enumeration (#693) | # Copyright 2016-2018 Dirk Thomas
# Licensed under the Apache License, Version 2.0
from collections import defaultdict
from collections.abc import Mapping
from copy import deepcopy
import os
from pathlib import Path
from colcon_core.dependency_descriptor import DependencyDescriptor
class PackageDescriptor:
"""
... | # Copyright 2016-2018 Dirk Thomas
# Licensed under the Apache License, Version 2.0
from collections import defaultdict
from collections.abc import Mapping
from copy import deepcopy
import os
from pathlib import Path
from colcon_core.dependency_descriptor import DependencyDescriptor
from colcon_core.feature_flags impo... | test/test_package_descriptor.py | [
"test/test_package_descriptor.py::test_get_recursive_dependencies",
"test/test_package_descriptor.py::test_get_recursive_dependencies_map"
] | 2025-07-25 | 2025-07-23 | Apache-2.0 | LICENSE | afd1de18abe0300af1063941fc4b33543e8f909f | 250164b8e3a88497deb68d5168a11c5e7707a04f | https://github.com/colcon/colcon-core/commit/afd1de18abe0300af1063941fc4b33543e8f909f | https://github.com/colcon/colcon-core | colcon_core.package_descriptor | [
"PackageDescriptor"
] | 9 | 2 | baec56fe355bfaea | colcon/colcon-core@afd1de18a#colcon_core/package_descriptor.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
more-itertools/more-itertools | last | fix last() when __reversed__ is None | function | docstring | Return the last item of *iterable*, or *default* if *iterable* is
empty.
If *default* is not provided and there are no items in the iterable,
raise `ValueError`. | def last(iterable, default=_marker):
"""Return the last item of *iterable*, or *default* if *iterable* is
empty.
>>> last([0, 1, 2, 3])
3
>>> last([], 'some default')
'some default'
If *default* is not provided and there are no items in the iterable,
raise ``ValueError`... | def last(iterable, default=_marker):
"""Return the last item of *iterable*, or *default* if *iterable* is
empty.
>>> last([0, 1, 2, 3])
3
>>> last([], 'some default')
'some default'
If *default* is not provided and there are no items in the iterable,
raise ``ValueError`... | tests/test_more.py | [
"tests/test_more.py::LastTests::test_reversed_is_none"
] | 2025-07-14 | 2025-07-07 | MIT | LICENSE | cca32949f12d473fd823e37a5530c30d2faa1332 | c834d6e4a0c4280b7b7750cb0de8dd8acb3d4c2c | https://github.com/more-itertools/more-itertools/commit/cca32949f12d473fd823e37a5530c30d2faa1332 | https://github.com/more-itertools/more-itertools | more_itertools.more | [
"last"
] | 2 | 1 | d2509b7ca26e23a0 | more-itertools/more-itertools@cca32949f#last | python | 2026-08-17 | goldset/0.1 | 1 | |
swar/nba_api | fix: add missing PlayIn season type to parameters (#544) | file | commit | fix: add missing PlayIn season type to parameters (#544) | from datetime import datetime
class _NotRequired:
none = ""
default = none
class _ContextMeasure:
pts = "PTS"
fgm = "FGM"
fga = "FGA"
fg_pct = "FG_PCT"
fg3m = "FG3M"
fg3a = "FG3A"
fg3_pct = "FG3_PCT"
pts_fb = "PTS_FB"
pts_off_tov = "PTS_OFF_TOV"
pts_2nd_chance = "PTS... | from datetime import datetime
class _NotRequired:
none = ""
default = none
class _ContextMeasure:
pts = "PTS"
fgm = "FGM"
fga = "FGA"
fg_pct = "FG_PCT"
fg3m = "FG3M"
fg3a = "FG3A"
fg3_pct = "FG3_PCT"
pts_fb = "PTS_FB"
pts_off_tov = "PTS_OFF_TOV"
pts_2nd_chance = "PTS... | tests/unit/test_parameters.py | [
"tests/unit/test_parameters.py::test_season_type_all_star",
"tests/unit/test_parameters.py::test_season_type_all_star_nullable",
"tests/unit/test_parameters.py::test_season_type_base",
"tests/unit/test_parameters.py::test_season_type_nullable",
"tests/unit/test_parameters.py::test_season_type_playoffs"
] | 2025-06-17 | 2025-06-17 | MIT | LICENSE | 095d224e13e3074a9426f7d6c10fe9a4d0f3f7c4 | a0a3cc9500fdb97904303672bf2e4615157b9056 | https://github.com/swar/nba_api/commit/095d224e13e3074a9426f7d6c10fe9a4d0f3f7c4 | https://github.com/swar/nba_api | nba_api.stats.library.parameters | [
"SeasonType"
] | 1 | 5 | 4986f0364e5cf943 | swar/nba_api@095d224e1#src/nba_api/stats/library/parameters.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
ilevkivskyi/com2ann | split_function_comment | Fix crash on invalid type comment (#65) | function | docstring | Split function type comment into argument types and return types.
This also removes any additional sub-comment. For example:
# type: (int, str) -> None # some explanation
is transformed into: ['int', 'str'], 'None'. | def split_function_comment(
comment: str, silent: bool = False
) -> tuple[list[str], str] | None:
"""Split function type comment into argument types and return types.
This also removes any additional sub-comment. For example:
# type: (int, str) -> None # some explanation
is transformed into:... | def split_function_comment(
comment: str, silent: bool = False
) -> tuple[list[str], str] | None:
"""Split function type comment into argument types and return types.
This also removes any additional sub-comment. For example:
# type: (int, str) -> None # some explanation
is transformed into:... | src/test_com2ann.py | [
"src/test_com2ann.py::FunctionTestCase::test_invalid_return_type"
] | 2025-06-02 | 2025-06-02 | MIT | LICENSE | 24a47720d48fc597e1e008856fb625d9607e1a52 | 5497d7aa77190c05331bf8ba205b94904d34d010 | https://github.com/ilevkivskyi/com2ann/commit/24a47720d48fc597e1e008856fb625d9607e1a52 | https://github.com/ilevkivskyi/com2ann | com2ann | [
"split_function_comment"
] | 2 | 1 | 1f881a956841fe4f | ilevkivskyi/com2ann@24a47720d#split_function_comment | python | 2026-08-18 | goldset/0.1 | 1 | |
ernestofgonzalez/epub-utils | Manifest | Fix missing namespace for manifest | function | docstring | Represents the manifest section of an EPUB package document.
The manifest element provides an exhaustive list of the publication resources. | class Manifest:
"""
Represents the manifest section of an EPUB package document.
The manifest element provides an exhaustive list of the publication resources.
"""
def __init__(self, xml_content: str):
self.xml_content = xml_content
self.items = []
self._parse(xml_content)
... | class Manifest:
"""
Represents the manifest section of an EPUB package document.
The manifest element provides an exhaustive list of the publication resources.
"""
NAMESPACE = "http://www.idpf.org/2007/opf"
ITEM_XPATH = f".//{{{NAMESPACE}}}item"
def __init__(self, xml_content: str):
... | tests/test_doc.py | [
"tests/test_doc.py::test_document_package"
] | 2025-05-11 | 2025-05-11 | Apache-2.0 | LICENSE | f276869ee6ff410b423b38ab4105b79994c206a0 | 99bbacf036c7ea0c266d86aa252542a1d5fd8a81 | https://github.com/ernestofgonzalez/epub-utils/commit/f276869ee6ff410b423b38ab4105b79994c206a0 | https://github.com/ernestofgonzalez/epub-utils | epub_utils.package.manifest | [
"Manifest"
] | 5 | 1 | 033320a7212b6c36 | ernestofgonzalez/epub-utils@f276869ee#Manifest | python | 2026-08-18 | goldset/0.1 | 1 | |
dynaconf/dynaconf | fix: `-k` must exit code 1 when key do not exist (#1293) | file | commit | fix: `-k` must exit code 1 when key do not exist (#1293) | from __future__ import annotations
import importlib
import inspect as python_inspect
import json
import os
import pprint
import sys
import warnings
import webbrowser
from contextlib import redirect_stdout
from contextlib import suppress
from pathlib import Path
from typing import TYPE_CHECKING
from dynaconf import co... | from __future__ import annotations
import importlib
import inspect as python_inspect
import json
import os
import pprint
import sys
import warnings
import webbrowser
from contextlib import redirect_stdout
from contextlib import suppress
from pathlib import Path
from typing import TYPE_CHECKING
from dynaconf import co... | tests/test_cli.py | [
"tests/test_cli.py::test_not_found_key_exit_error[list]"
] | 2025-05-06 | 2025-05-06 | MIT | LICENSE | 82a3f61d1798a0048a2af76d5ea747d116765b62 | 934a8f833bd2a9648d7bbb0174a00c83f8577675 | https://github.com/dynaconf/dynaconf/commit/82a3f61d1798a0048a2af76d5ea747d116765b62 | https://github.com/dynaconf/dynaconf | dynaconf.cli | [
"_list",
"init"
] | 4 | 1 | af98119f4a4c88ae | dynaconf/dynaconf@82a3f61d1#dynaconf/cli.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
Textualize/rich | fix(panel): fix title missing panel background | file | commit | fix(panel): fix title missing panel background | from typing import TYPE_CHECKING, Optional
from .align import AlignMethod
from .box import ROUNDED, Box
from .cells import cell_len
from .jupyter import JupyterMixin
from .measure import Measurement, measure_renderables
from .padding import Padding, PaddingDimensions
from .segment import Segment
from .style import Sty... | from typing import TYPE_CHECKING, Optional
from .align import AlignMethod
from .box import ROUNDED, Box
from .cells import cell_len
from .jupyter import JupyterMixin
from .measure import Measurement, measure_renderables
from .padding import Padding, PaddingDimensions
from .segment import Segment
from .style import Sty... | tests/test_panel.py | [
"tests/test_panel.py::test_title_text_with_panel_background"
] | 2025-05-01 | 2025-05-01 | MIT | LICENSE | 30e5ed61a6064220fe2ff40f4713463488ee6d07 | 69e1618f1f3aae6589cd6210d9d318ab0cdf91da | https://github.com/Textualize/rich/commit/30e5ed61a6064220fe2ff40f4713463488ee6d07 | https://github.com/Textualize/rich | rich.panel | [
"Panel"
] | 7 | 1 | 2f7d616e8fdae568 | Textualize/rich@30e5ed61a#rich/panel.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
alecthomas/voluptuous | Fix bug with Any validator and REMOVE_EXTRA (#524) | file | commit | Fix bug with Any validator and REMOVE_EXTRA (#524) | # fmt: off
from __future__ import annotations
import collections
import inspect
import itertools
import re
import sys
import typing
from collections.abc import Generator
from contextlib import contextmanager
from functools import cache, wraps
from voluptuous import error as er
from voluptuous.error import Error
# fm... | # fmt: off
from __future__ import annotations
import collections
import inspect
import itertools
import re
import sys
import typing
from collections.abc import Generator
from contextlib import contextmanager
from functools import cache, wraps
from voluptuous import error as er
from voluptuous.error import Error
# fm... | voluptuous/tests/tests.py | [
"voluptuous/tests/tests.py::test_any_with_extra_remove"
] | 2025-04-30 | 2024-07-22 | BSD-3-Clause | COPYING | 4a9c8f8efba20622afdc68e4721787efb4f17472 | a7a55f83b9fa7ba68b0669b3d78a61de703e0a16 | https://github.com/alecthomas/voluptuous/commit/4a9c8f8efba20622afdc68e4721787efb4f17472 | https://github.com/alecthomas/voluptuous | voluptuous.schema_builder | [
"Schema"
] | 6 | 1 | 0c53d23bd8e3ff7e | alecthomas/voluptuous@4a9c8f8ef#voluptuous/schema_builder.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
pypa/auditwheel | InTemporaryDirectory | fix: resolve path of InTemporaryDirectory name (#569) | function | docstring | Create, return, and change directory to a temporary directory
Examples
-------- | class InTemporaryDirectory:
"""Create, return, and change directory to a temporary directory
Examples
--------
>>> from pathlib import Path
>>> my_cwd = Path.cwd()
>>> with InTemporaryDirectory() as tmpdir:
... _ = open('test.txt', 'wt').write('some text')
... assert os.path.isf... | class InTemporaryDirectory:
"""Create, return, and change directory to a temporary directory
Examples
--------
>>> from pathlib import Path
>>> my_cwd = Path.cwd()
>>> with InTemporaryDirectory() as tmpdir:
... _ = open('test.txt', 'wt').write('some text')
... assert os.path.isf... | tests/unit/test_wheeltools.py | [
"tests/unit/test_wheeltools.py::test_inwheel_tmpdir"
] | 2025-04-05 | 2025-04-05 | MIT | LICENSE | a6f2bd70b85470d6a4e73c8f5baf2f599b752033 | a67aa872656c49b87867a9e89d8d0de832e108cd | https://github.com/pypa/auditwheel/commit/a6f2bd70b85470d6a4e73c8f5baf2f599b752033 | https://github.com/pypa/auditwheel | auditwheel.tmpdirs | [
"InTemporaryDirectory"
] | 10 | 1 | ff52d8f130b93d63 | pypa/auditwheel@a6f2bd70b#InTemporaryDirectory | python | 2026-08-18 | goldset/0.1 | 1 | |
gaogaotiantian/objprint | Fix printing built-in methods that miss signatures (#121) | file | commit | Fix printing built-in methods that miss signatures (#121) | # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/gaogaotiantian/objprint/blob/master/NOTICE.txt
from collections import namedtuple
import inspect
import itertools
import json
import re
from types import FunctionType, FrameType
from typing import Any, Ca... | # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/gaogaotiantian/objprint/blob/master/NOTICE.txt
from collections import namedtuple
import inspect
import itertools
import json
import re
from types import FunctionType, FrameType
from typing import Any, Ca... | tests/test_objstr.py | [
"tests/test_objstr.py::TestObjStr::test_builtin_method"
] | 2025-04-02 | 2024-11-09 | Apache-2.0 | LICENSE | 297932d68d336305111a084819ac5a48c2434da3 | 89a9cf8b347ea724cdefe96d01b5017e2c6a4b9f | https://github.com/gaogaotiantian/objprint/commit/297932d68d336305111a084819ac5a48c2434da3 | https://github.com/gaogaotiantian/objprint | objprint.objprint | [
"ObjPrint"
] | 12 | 1 | 8b6f90883fd8edef | gaogaotiantian/objprint@297932d68#src/objprint/objprint.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kellyjonbrazil/jc | Fix broken controller parser schema to include power state prop (#652) | file | commit | Fix broken controller parser schema to include power state prop (#652) | r"""jc - JSON Convert `bluetoothctl` command output parser
Supports the following `bluetoothctl` subcommands:
- `bluetoothctl list`
- `bluetoothctl show`
- `bluetoothctl show <ctrl>`
- `bluetoothctl devices`
- `bluetoothctl info <dev>`
Usage (cli):
$ bluetoothctl info <dev> | jc --bluetoothctl
or
$ jc bluet... | r"""jc - JSON Convert `bluetoothctl` command output parser
Supports the following `bluetoothctl` subcommands:
- `bluetoothctl list`
- `bluetoothctl show`
- `bluetoothctl show <ctrl>`
- `bluetoothctl devices`
- `bluetoothctl info <dev>`
Usage (cli):
$ bluetoothctl info <dev> | jc --bluetoothctl
or
$ jc bluet... | tests/test_bluetoothctl.py | [
"tests/test_bluetoothctl.py::BluetoothctlTests::test_bluetoothctl_controller_2"
] | 2025-04-02 | 2025-03-31 | MIT | LICENSE.md | ebbd4e932047468c8fb4bffd06b7647e0d7488bb | 834acfb2d63f957fc67ad4273ba97b16a59b6325 | https://github.com/kellyjonbrazil/jc/commit/ebbd4e932047468c8fb4bffd06b7647e0d7488bb | https://github.com/kellyjonbrazil/jc | jc.parsers.bluetoothctl | [
"_parse_controller"
] | 5 | 1 | af1b830dce201196 | kellyjonbrazil/jc@ebbd4e932#jc/parsers/bluetoothctl.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kellyjonbrazil/jc | parse | fix for missing dB value | function | docstring | Main text parsing function
Parameters:
data: (string) text data to parse
raw: (boolean) unprocessed output if True
quiet: (boolean) suppress warning messages if True
Returns:
Dictionary. Raw or processed structured data. | def parse(
data: str,
raw: bool = False,
quiet: bool = False
) -> Dict:
"""
Main text parsing function
Parameters:
data: (string) text data to parse
raw: (boolean) unprocessed output if True
quiet: (boolean) suppress warning messages if True
Re... | def parse(
data: str,
raw: bool = False,
quiet: bool = False
) -> Dict:
"""
Main text parsing function
Parameters:
data: (string) text data to parse
raw: (boolean) unprocessed output if True
quiet: (boolean) suppress warning messages if True
Re... | tests/test_amixer.py | [
"tests/test_amixer.py::AmixerTests::test_amixer_missing_db"
] | 2025-03-31 | 2025-03-31 | MIT | LICENSE.md | 1182c9f2635a2814549b1dd4b4bc6af24ed1e499 | ed3046bb1b362bc2dc2503e23444e3ffebd2c1b5 | https://github.com/kellyjonbrazil/jc/commit/1182c9f2635a2814549b1dd4b4bc6af24ed1e499 | https://github.com/kellyjonbrazil/jc | jc.parsers.amixer | [
"parse"
] | 10 | 1 | 72dff605a85bcac5 | kellyjonbrazil/jc@1182c9f26#parse | python | 2026-08-18 | goldset/0.1 | 1 | |
kellyjonbrazil/jc | fix time parser for missing centiseconds | file | commit | fix time parser for missing centiseconds | r"""jc - JSON Convert `/usr/bin/time` command output parser
Output from `/usr/bin/time` is sent to `STDERR`, so the `-o` option can be
used to redirect the output to a file that can be read by `jc`.
Alternatively, the output from `/usr/bin/time` can be redirected to `STDOUT`
so `jc` can receive it.
> Note: `/usr/bin... | r"""jc - JSON Convert `/usr/bin/time` command output parser
Output from `/usr/bin/time` is sent to `STDERR`, so the `-o` option can be
used to redirect the output to a file that can be read by `jc`.
Alternatively, the output from `/usr/bin/time` can be redirected to `STDOUT`
so `jc` can receive it.
> Note: `/usr/bin... | tests/test_time.py | [
"tests/test_time.py::MyTests::test_time_no_centiseconds"
] | 2025-03-31 | 2025-03-30 | MIT | LICENSE.md | 1c09289d95bf13917025ec66bacc0a863f267119 | e9ccedf0d7a745a41f4101199433378a26cb1e38 | https://github.com/kellyjonbrazil/jc/commit/1c09289d95bf13917025ec66bacc0a863f267119 | https://github.com/kellyjonbrazil/jc | jc.parsers.time | [
"_process",
"info"
] | 13 | 1 | 60308fb45e8463f5 | kellyjonbrazil/jc@1c09289d9#jc/parsers/time.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
fabfuel/circuitbreaker | fix TypeError raised when calling str(cb) on unnamed CircuitBreaker | file | commit | fix TypeError raised when calling str(cb) on unnamed CircuitBreaker | from asyncio import iscoroutinefunction
from datetime import datetime, timedelta, timezone
from functools import wraps
from inspect import isgeneratorfunction, isasyncgenfunction, isclass
from math import ceil, floor
from time import monotonic
from typing import AnyStr, Iterable
STRING_TYPES = (bytes, str)
STATE_CLOSE... | from asyncio import iscoroutinefunction
from datetime import datetime, timedelta, timezone
from functools import wraps
from inspect import isgeneratorfunction, isasyncgenfunction, isclass
from math import ceil, floor
from time import monotonic
from typing import AnyStr, Iterable
STRING_TYPES = (bytes, str)
STATE_CLOSE... | tests/test_unit.py | [
"tests/test_unit.py::test_circuitbreaker_unnamed__str__"
] | 2025-03-29 | 2025-03-12 | BSD-3-Clause | LICENSE.rst | 050a3202378879d0c88156916aa859a61288e989 | 646651337a3034062b2cf4889e2090c1ba19b61c | https://github.com/fabfuel/circuitbreaker/commit/050a3202378879d0c88156916aa859a61288e989 | https://github.com/fabfuel/circuitbreaker | circuitbreaker | [
"CircuitBreaker"
] | 2 | 1 | 5928ff2056a50234 | fabfuel/circuitbreaker@050a32023#circuitbreaker.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
python-validators/validators | email | Fix email regex issue 140 (#411) | function | docstring | Validate an email address.
This was inspired from [Django's email validator][1].
Also ref: [RFC 1034][2], [RFC 5321][3] and [RFC 5322][4].
[1]: https://github.com/django/django/blob/main/django/core/validators.py#L174
[2]: https://www.rfc-editor.org/rfc/rfc1034
[3]: https://www.rfc-editor.org/rfc/rfc5321
[4]: https:/... | def email(
value: str,
/,
*,
ipv6_address: bool = False,
ipv4_address: bool = False,
simple_host: bool = False,
rfc_1034: bool = False,
rfc_2782: bool = False,
):
"""Validate an email address.
This was inspired from [Django's email validator][1].
Also ref: [RFC 1034][2], [RF... | def email(
value: str,
/,
*,
ipv6_address: bool = False,
ipv4_address: bool = False,
simple_host: bool = False,
rfc_1034: bool = False,
rfc_2782: bool = False,
):
"""Validate an email address.
This was inspired from [Django's email validator][1].
Also ref: [RFC 1034][2], [RF... | tests/test_email.py | [
"tests/test_email.py::test_returns_failed_validation_on_invalid_email[stephen"
] | 2025-03-28 | 2025-03-28 | MIT | LICENSE.txt | 25fcef05c293def421fd3f6714403a54fce993cf | 9dac863b452253f3ae1b7fd3370e509c52c46b85 | https://github.com/python-validators/validators/commit/25fcef05c293def421fd3f6714403a54fce993cf | https://github.com/python-validators/validators | validators.email | [
"email"
] | 10 | 1 | 8d98f61c510a8ae9 | python-validators/validators@25fcef05c#email | python | 2026-08-18 | goldset/0.1 | 1 | |
bharel/asynciolimiter | Fix: LeakyBucket will now schedule tasks correctly after fully emptying (#20) | file | commit | Fix: LeakyBucket will now schedule tasks correctly after fully emptying (#20) | # SPDX-License-Identifier: MIT
# Copyright (c) 2022 Bar Harel
# Licensed under the MIT license as detailed in LICENSE.txt
"""AsyncIO rate limiters.
This module provides different rate limiters for asyncio.
- `Limiter`: Limits by requests per second and takes into account CPU heavy
tasks or other delays that c... | # SPDX-License-Identifier: MIT
# Copyright (c) 2022 Bar Harel
# Licensed under the MIT license as detailed in LICENSE.txt
"""AsyncIO rate limiters.
This module provides different rate limiters for asyncio.
- `Limiter`: Limits by requests per second and takes into account CPU heavy
tasks or other delays that c... | tests/test_limiter.py | [
"tests/test_limiter.py::LeakyBucketLimiterTestCase::test_gh17"
] | 2025-03-17 | 2024-12-16 | MIT | LICENSE | 68ac31d661038c83b9e631f0b30c80db7a7c121d | 8d2fd8c0772cd95cef8426b573c1952a265e8b1c | https://github.com/bharel/asynciolimiter/commit/68ac31d661038c83b9e631f0b30c80db7a7c121d | https://github.com/bharel/asynciolimiter | asynciolimiter.__init__ | [
"LeakyBucketLimiter"
] | 1 | 1 | 2c67e516ee2a7182 | bharel/asynciolimiter@68ac31d66#asynciolimiter/__init__.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
keleshev/schema | fix: JSON Schema missing title in subschemas | file | commit | fix: JSON Schema missing title in subschemas | """schema is a library for validating Python data structures, such as those
obtained from config-files, forms, external services or command-line
parsing, converted from JSON/YAML (or something else) to Python data-types."""
import inspect
import re
from typing import (
TYPE_CHECKING,
Any,
Callable,
Dic... | """schema is a library for validating Python data structures, such as those
obtained from config-files, forms, external services or command-line
parsing, converted from JSON/YAML (or something else) to Python data-types."""
import inspect
import re
from typing import (
TYPE_CHECKING,
Any,
Callable,
Dic... | test_schema.py | [
"test_schema.py::test_json_schema_title_in_or"
] | 2025-02-27 | 2025-02-24 | MIT | LICENSE-MIT | 481f2ee0b1e3ec394c97a9800a1e6aa48b6d302d | c3aea90689f7adbc14f6eec8a39bc653d3f7ae41 | https://github.com/keleshev/schema/commit/481f2ee0b1e3ec394c97a9800a1e6aa48b6d302d | https://github.com/keleshev/schema | schema.__init__ | [
"Schema"
] | 3 | 1 | 7c98b5e6009b2c45 | keleshev/schema@481f2ee0b#schema/__init__.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
leapfrogonline/rstr | Xeger | Fix issue #38: Resolve bug exceeding STAR_PLUS_LIMIT" (#39) | function | docstring | Inspired by the Java library Xeger: http://code.google.com/p/xeger/
This class adds functionality to Rstr allowing users to generate a
semi-random string from a regular expression. | class Xeger(RstrBase):
'''Inspired by the Java library Xeger: http://code.google.com/p/xeger/
This class adds functionality to Rstr allowing users to generate a
semi-random string from a regular expression.'''
def __init__(
self, _random: 'Random' = typing.cast('Random', random), **custom_alpha... | class Xeger(RstrBase):
'''Inspired by the Java library Xeger: http://code.google.com/p/xeger/
This class adds functionality to Rstr allowing users to generate a
semi-random string from a regular expression.'''
def __init__(
self, _random: 'Random' = typing.cast('Random', random), **custom_alpha... | tests/test_xeger.py | [
"tests/test_xeger.py::TestXeger::test_handle_repeat_exceeds_limit"
] | 2025-02-17 | 2023-11-16 | BSD-3-Clause | LICENSE.txt | 487b85766909752ce1d06feeafb33cc7ff799e5f | d12a8151f13e68cf3b190fcee3e839b3a87f958c | https://github.com/leapfrogonline/rstr/commit/487b85766909752ce1d06feeafb33cc7ff799e5f | https://github.com/leapfrogonline/rstr | rstr.xeger | [
"Xeger"
] | 2 | 1 | f39fa3805acc57a4 | leapfrogonline/rstr@487b85766#Xeger | python | 2026-08-18 | goldset/0.1 | 1 | |
pypa/distlib | Fix #238: Add build tag to wheel metadata if specified. | file | commit | Fix #238: Add build tag to wheel metadata if specified. | # -*- coding: utf-8 -*-
#
# Copyright (C) 2013-2023 Vinay Sajip.
# Licensed to the Python Software Foundation under a contributor agreement.
# See LICENSE.txt and CONTRIBUTORS.txt.
#
from __future__ import unicode_literals
import base64
import codecs
import datetime
from email import message_from_file
import hashlib
i... | # -*- coding: utf-8 -*-
#
# Copyright (C) 2013-2023 Vinay Sajip.
# Licensed to the Python Software Foundation under a contributor agreement.
# See LICENSE.txt and CONTRIBUTORS.txt.
#
from __future__ import unicode_literals
import base64
import codecs
import datetime
from email import message_from_file
import hashlib
i... | tests/test_wheel.py | [
"tests/test_wheel.py::WheelTestCase::test_build_tags"
] | 2025-02-08 | 2024-10-28 | PSF-2.0 | LICENSE.txt | c768e366656c9d965d5e964cbf4353d8205e3f2f | c6fc08e9fbc81c4350ecc5c7e9729c5b2711c422 | https://github.com/pypa/distlib/commit/c768e366656c9d965d5e964cbf4353d8205e3f2f | https://github.com/pypa/distlib | distlib.wheel | [
"Wheel"
] | 2 | 1 | 231222fe6760c9ea | pypa/distlib@c768e3666#distlib/wheel.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | fix: https://github.com/terryyin/lizard/issues/296 | file | commit | fix: https://github.com/terryyin/lizard/issues/296 | '''
Language parser for Go lang
'''
from .code_reader import CodeReader
from .clike import CCppCommentsMixin
from .golike import GoLikeStates
class GoReader(CodeReader, CCppCommentsMixin):
# pylint: disable=R0903
ext = ['go']
language_names = ['go']
def __init__(self, context):
super(GoRead... | '''
Language parser for Go lang
'''
from .code_reader import CodeReader
from .clike import CCppCommentsMixin
from .golike import GoLikeStates
class GoReader(CodeReader, CCppCommentsMixin):
# pylint: disable=R0903
ext = ['go']
language_names = ['go']
def __init__(self, context):
super(GoRead... | test/test_languages/testGo.py | [
"test/test_languages/testGo.py::Test_parser_for_Go::test_sql_query_with_question_marks"
] | 2025-02-04 | 2025-02-04 | MIT | LICENSE.txt | bcbf2e28f6ad3f77ba8e0b10823a287cf29b66d1 | fed797ce7095c73a6d1f8ac0b609e2f314fda85f | https://github.com/terryyin/lizard/commit/bcbf2e28f6ad3f77ba8e0b10823a287cf29b66d1 | https://github.com/terryyin/lizard | lizard_languages.go | [
"GoReader"
] | 23 | 1 | ed39445e85ddf067 | terryyin/lizard@bcbf2e28f#lizard_languages/go.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | fix: https://github.com/terryyin/lizard/issues/295 | file | commit | fix: https://github.com/terryyin/lizard/issues/295 | '''
Language parser for C, C++ -like languages.
'''
import re
import itertools
from .code_reader import CodeStateMachine, CodeReader
class CCppCommentsMixin(object): # pylint: disable=R0903
@staticmethod
def get_comment_from_token(token):
if token.startswith("/*") or token.startswith("//"):
... | '''
Language parser for C, C++ -like languages.
'''
import re
import itertools
from .code_reader import CodeStateMachine, CodeReader
class CCppCommentsMixin(object): # pylint: disable=R0903
@staticmethod
def get_comment_from_token(token):
if token.startswith("/*") or token.startswith("//"):
... | test/test_languages/testCAndCPP.py | [
"test/test_languages/testCAndCPP.py::Test_c_cpp_lizard::test_aggregate_initialization_with_double"
] | 2025-02-04 | 2025-02-04 | MIT | LICENSE.txt | fed797ce7095c73a6d1f8ac0b609e2f314fda85f | cece7909d9eb884622d23896eb7db60ad7a7fca9 | https://github.com/terryyin/lizard/commit/fed797ce7095c73a6d1f8ac0b609e2f314fda85f | https://github.com/terryyin/lizard | lizard_languages.clike | [
"CLikeReader"
] | 8 | 1 | 8eb2b650f72a49a3 | terryyin/lizard@fed797ce7#lizard_languages/clike.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
fla9ua/markdown_to_mrkdwn | SlackMarkdownConverter | Fix code block conversion issue #5\n\n- Add code block state tracking\n- Skip conversion inside code blocks\n- Add related test cases | function | docstring | A converter class to transform Markdown text into Slack's mrkdwn format.
Attributes:
encoding (str): The character encoding used for the conversion.
patterns (List[Tuple[str, str]]): A list of regex patterns and their replacements. | class SlackMarkdownConverter:
"""
A converter class to transform Markdown text into Slack's mrkdwn format.
Attributes:
encoding (str): The character encoding used for the conversion.
patterns (List[Tuple[str, str]]): A list of regex patterns and their replacements.
"""
def __init__... | class SlackMarkdownConverter:
"""
A converter class to transform Markdown text into Slack's mrkdwn format.
Attributes:
encoding (str): The character encoding used for the conversion.
patterns (List[Tuple[str, str]]): A list of regex patterns and their replacements.
"""
def __init__... | tests/test_converter.py | [
"tests/test_converter.py::TestSlackMarkdownConverter::test_code_block_with_cron"
] | 2025-01-25 | 2025-01-03 | MIT | LICENSE | 9902c72dc822712c8e742dfa40a3eb05a275d6b8 | a016004e39578d9c1405ae12f002833f7eaf15c5 | https://github.com/fla9ua/markdown_to_mrkdwn/commit/9902c72dc822712c8e742dfa40a3eb05a275d6b8 | https://github.com/fla9ua/markdown_to_mrkdwn | markdown_to_mrkdwn.converter | [
"SlackMarkdownConverter"
] | 10 | 1 | 238968471d3cb282 | fla9ua/markdown_to_mrkdwn@9902c72dc#SlackMarkdownConverter | python | 2026-08-18 | goldset/0.1 | 1 | |
defnull/multipart | MultipartPart | fix: Closing a MultipartPart should set its file to None, not False. | function | docstring | A :class:`MultipartPart` represents a fully parsed multipart part
and provides convenient access to part headers and other details (e.g.
:attr:`name` and :attr:`filename`) as well as its memory- or disk-buffered
binary or text content. | class MultipartPart(object):
""" A :class:`MultipartPart` represents a fully parsed multipart part
and provides convenient access to part headers and other details (e.g.
:attr:`name` and :attr:`filename`) as well as its memory- or disk-buffered
binary or text content.
"""
def __init... | class MultipartPart(object):
""" A :class:`MultipartPart` represents a fully parsed multipart part
and provides convenient access to part headers and other details (e.g.
:attr:`name` and :attr:`filename`) as well as its memory- or disk-buffered
binary or text content.
"""
def __init... | test/test_legacy_parser.py | [
"test/test_legacy_parser.py::TestMultipartParser::test_segment_close"
] | 2025-01-21 | 2024-12-02 | MIT | LICENSE | f6ad3a7cad315fe8bde6fae3d5aaf5fca93729b1 | 093a60b0a83f8a3339d38faa30c2cdccb94558ff | https://github.com/defnull/multipart/commit/f6ad3a7cad315fe8bde6fae3d5aaf5fca93729b1 | https://github.com/defnull/multipart | multipart | [
"MultipartPart"
] | 2 | 1 | 036836da9ce9f239 | defnull/multipart@f6ad3a7ca#MultipartPart | python | 2026-08-18 | goldset/0.1 | 1 | |
RightTyper/RightTyper | generalize | - fixed bug not checking first TypeInfo for a string argument; | function | docstring | Processes a sequence of samples observed for function parameters and return values, looking
for patterns that can be replaced with type variables. If no pattern is detected, the
union of those types (per union_typeset_str) is built.
samples: a sequence of tuples with type information. Each type in a tuple corresponds... | def generalize(samples: Sequence[tuple[TypeInfo, ...]]) -> list[TypeInfo]|None:
"""
Processes a sequence of samples observed for function parameters and return values, looking
for patterns that can be replaced with type variables. If no pattern is detected, the
union of those types (per union_typeset_s... | def generalize(samples: Sequence[tuple[TypeInfo, ...]]) -> list[TypeInfo]|None:
"""
Processes a sequence of samples observed for function parameters and return values, looking
for patterns that can be replaced with type variables. If no pattern is detected, the
union of those types (per union_typeset_s... | tests/test_typeinfo.py | [
"tests/test_typeinfo.py::test_generic_with_string"
] | 2025-01-10 | 2025-01-10 | Apache-2.0 | LICENSE | 2048b95c3af88738ebe36e6b7ded8985128b49a7 | 5c6490473d8bd262c2324932a6f628d57783d8ce | https://github.com/RightTyper/RightTyper/commit/2048b95c3af88738ebe36e6b7ded8985128b49a7 | https://github.com/RightTyper/RightTyper | righttyper.typeinfo | [
"generalize"
] | 18 | 1 | ddd0841b268a6802 | RightTyper/RightTyper@2048b95c3#generalize | python | 2026-08-18 | goldset/0.1 | 1 | |
python-babel/babel | Raise a more specific error if `Locale.parse()` is passed an empty value | file | commit | Raise a more specific error if `Locale.parse()` is passed an empty value | """
babel.core
~~~~~~~~~~
Core locale representation and locale data access.
:copyright: (c) 2013-2024 by the Babel Team.
:license: BSD, see LICENSE for more details.
"""
from __future__ import annotations
import os
import pickle
from collections.abc import Iterable, Mapping
from typing import T... | """
babel.core
~~~~~~~~~~
Core locale representation and locale data access.
:copyright: (c) 2013-2024 by the Babel Team.
:license: BSD, see LICENSE for more details.
"""
from __future__ import annotations
import os
import pickle
from collections.abc import Iterable, Mapping
from typing import T... | tests/test_core.py | [
"tests/test_core.py::test_locale_parse_empty"
] | 2025-01-09 | 2025-01-09 | BSD-3-Clause | LICENSE | ed4595bb6a60dec283491d3176f1e4c8c3a892ba | 4d1c8825e80ec91534c4c1ccc0108a323c23638c | https://github.com/python-babel/babel/commit/ed4595bb6a60dec283491d3176f1e4c8c3a892ba | https://github.com/python-babel/babel | babel.core | [
"Locale",
"parse_locale"
] | 21 | 1 | f845f427beaaeb7b | python-babel/babel@ed4595bb6#babel/core.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
google/etils | StrEnum | Fix ne method for StrEnum. | function | docstring | Like `Enum`, but `enum.auto()` assigns `str` rather than `int`.
``python
class MyEnum(epy.StrEnum):
SOME_ATTR = enum.auto()
OTHER_ATTR = enum.auto()
assert MyEnum('some_attr') is MyEnum.SOME_ATTR
assert MyEnum.SOME_ATTR == 'some_attr'
``
`StrEnum` is case insensitive. | class StrEnum(*_StrEnum):
"""Like `Enum`, but `enum.auto()` assigns `str` rather than `int`.
```python
class MyEnum(epy.StrEnum):
SOME_ATTR = enum.auto()
OTHER_ATTR = enum.auto()
assert MyEnum('some_attr') is MyEnum.SOME_ATTR
assert MyEnum.SOME_ATTR == 'some_attr'
```
`StrEnum` is case insensit... | class StrEnum(*_StrEnum):
"""Like `Enum`, but `enum.auto()` assigns `str` rather than `int`.
```python
class MyEnum(epy.StrEnum):
SOME_ATTR = enum.auto()
OTHER_ATTR = enum.auto()
assert MyEnum('some_attr') is MyEnum.SOME_ATTR
assert MyEnum.SOME_ATTR == 'some_attr'
```
`StrEnum` is case insensit... | etils/epy/py_utils_test.py | [
"etils/epy/py_utils_test.py::test_equality"
] | 2025-01-02 | 2024-12-18 | Apache-2.0 | LICENSE | 452e14159b49594211c82346d051de9aeab48d5a | cec372a253623be16dbfe015cdf0b12904d4faa3 | https://github.com/google/etils/commit/452e14159b49594211c82346d051de9aeab48d5a | https://github.com/google/etils | etils.epy.py_utils | [
"StrEnum"
] | 3 | 1 | cbafae4011f8117b | google/etils@452e14159#StrEnum | python | 2026-08-18 | goldset/0.1 | 1 | |
erikrose/parsimonious | Fix multiple terms as part of `/` expressions (#250) | file | commit | Fix multiple terms as part of `/` expressions (#250) | """A convenience which constructs expression trees from an easy-to-read syntax
Use this unless you have a compelling reason not to; it performs some
optimizations that would be tedious to do when constructing an expression tree
by hand.
"""
from collections import OrderedDict
from textwrap import dedent
from parsimo... | """A convenience which constructs expression trees from an easy-to-read syntax
Use this unless you have a compelling reason not to; it performs some
optimizations that would be tedious to do when constructing an expression tree
by hand.
"""
from collections import OrderedDict
from textwrap import dedent
from parsimo... | parsimonious/tests/test_grammar.py | [
"parsimonious/tests/test_grammar.py::GrammarTests::test_sequence_choice_bug"
] | 2025-01-02 | 2024-08-02 | MIT | LICENSE | 7d67c8231becca2f957bc32e2603f7ee930394df | 0d3f5f93c98ae55707f0958366900275d1ce094f | https://github.com/erikrose/parsimonious/commit/7d67c8231becca2f957bc32e2603f7ee930394df | https://github.com/erikrose/parsimonious | parsimonious.grammar | [
"BootstrappingGrammar",
"RuleVisitor"
] | 19 | 1 | 4e210790188a0356 | erikrose/parsimonious@7d67c8231#parsimonious/grammar.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
desgeeko/pdfsyntax | parse_stream_content | Fix bug in content parsing and add test for graphics | function | docstring | Break down stream content into a list of commands.
A command is a list made of operands followed by an operator, like [1, 0, 0, 1, 0, 0, 'cm'] | def parse_stream_content(content_stream: bytes) -> list:
"""Break down stream content into a list of commands.
A command is a list made of operands followed by an operator, like [1, 0, 0, 1, 0, 0, 'cm']
"""
ret = []
tokens = parse_obj(b'[' + content_stream + b']')
i = len(tokens) - 1
sectio... | def parse_stream_content(content_stream: bytes) -> list:
"""Break down stream content into a list of commands.
A command is a list made of operands followed by an operator, like [1, 0, 0, 1, 0, 0, 'cm']
"""
ret = []
tokens = parse_obj(b'[' + content_stream + b']')
i = len(tokens) - 1
sectio... | tests/test_graphics.py | [
"tests/test_graphics.py::Unicode::test_stream_parsing"
] | 2024-12-29 | 2024-12-28 | MIT | LICENSE | c585d817f5ca3a40c716cfa61a2cbc2de5d305ae | d0a398fd50d590bd40cb56024b68c297b515d546 | https://github.com/desgeeko/pdfsyntax/commit/c585d817f5ca3a40c716cfa61a2cbc2de5d305ae | https://github.com/desgeeko/pdfsyntax | pdfsyntax.graphics | [
"parse_stream_content"
] | 2 | 1 | 2229bf578d0bd979 | desgeeko/pdfsyntax@c585d817f#parse_stream_content | python | 2026-08-18 | goldset/0.1 | 1 | |
miguelgrinberg/python-engineio | Fix incorrect disconnection reason reported when browser page is closed | file | commit | Fix incorrect disconnection reason reported when browser page is closed | import sys
import time
from . import base_socket
from . import exceptions
from . import packet
from . import payload
class Socket(base_socket.BaseSocket):
"""An Engine.IO socket."""
def poll(self):
"""Wait for packets to send to the client."""
queue_empty = self.server.get_queue_empty_excepti... | import sys
import time
from . import base_socket
from . import exceptions
from . import packet
from . import payload
class Socket(base_socket.BaseSocket):
"""An Engine.IO socket."""
def poll(self):
"""Wait for packets to send to the client."""
queue_empty = self.server.get_queue_empty_excepti... | tests/common/test_socket.py | [
"tests/common/test_socket.py::TestSocket::test_websocket_read_write"
] | 2024-12-29 | 2024-12-24 | MIT | LICENSE | 132fbd9b2728c342fb989d559fa8c24b324c3cf3 | d13e9efec1343bb609679943a5d3ce60f8089c14 | https://github.com/miguelgrinberg/python-engineio/commit/132fbd9b2728c342fb989d559fa8c24b324c3cf3 | https://github.com/miguelgrinberg/python-engineio | engineio.socket | [
"Socket"
] | 3 | 1 | d762a60589310ac6 | miguelgrinberg/python-engineio@132fbd9b2#src/engineio/socket.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
jawah/charset_normalizer | :bug: output(...) replace declarative mark using non iana compliant encoding name | file | commit | :bug: output(...) replace declarative mark using non iana compliant encoding name | from __future__ import annotations
from encodings.aliases import aliases
from hashlib import sha256
from json import dumps
from re import sub
from typing import Any, Iterator, List, Tuple
from .constant import RE_POSSIBLE_ENCODING_INDICATION, TOO_BIG_SEQUENCE
from .utils import iana_name, is_multi_byte_encoding, unic... | from __future__ import annotations
from encodings.aliases import aliases
from hashlib import sha256
from json import dumps
from re import sub
from typing import Any, Iterator, List, Tuple
from .constant import RE_POSSIBLE_ENCODING_INDICATION, TOO_BIG_SEQUENCE
from .utils import iana_name, is_multi_byte_encoding, unic... | tests/test_preemptive_detection.py | [
"tests/test_preemptive_detection.py::test_preemptive_mark_replacement[<?xml"
] | 2024-12-24 | 2024-12-24 | MIT | LICENSE | 14b4649fa24ee0d58e351c106011fb1bace4a9bc | 1b06bc0407dc0f47e9629cbc802977711d0ffc7b | https://github.com/jawah/charset_normalizer/commit/14b4649fa24ee0d58e351c106011fb1bace4a9bc | https://github.com/jawah/charset_normalizer | charset_normalizer.models | [
"CharsetMatch"
] | 2 | 1 | d19a6a8ffe774109 | jawah/charset_normalizer@14b4649fa#src/charset_normalizer/models.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
fla9ua/markdown_to_mrkdwn | SlackMarkdownConverter | bug fix for bold in lists | function | docstring | A converter class to transform Markdown text into Slack's mrkdwn format.
Attributes:
encoding (str): The character encoding used for the conversion.
patterns (List[Tuple[str, str]]): A list of regex patterns and their replacements. | class SlackMarkdownConverter:
"""
A converter class to transform Markdown text into Slack's mrkdwn format.
Attributes:
encoding (str): The character encoding used for the conversion.
patterns (List[Tuple[str, str]]): A list of regex patterns and their replacements.
"""
def __init__... | class SlackMarkdownConverter:
"""
A converter class to transform Markdown text into Slack's mrkdwn format.
Attributes:
encoding (str): The character encoding used for the conversion.
patterns (List[Tuple[str, str]]): A list of regex patterns and their replacements.
"""
def __init__... | tests/test_converter.py | [
"tests/test_converter.py::TestSlackMarkdownConverter::test_convert_bold_in_list"
] | 2024-12-12 | 2024-12-05 | MIT | LICENSE | 19c20b40c0241e3fe53a7de7813c0a5c3b363ba5 | c44c03d12cc8bb745a941e28708b051e90160945 | https://github.com/fla9ua/markdown_to_mrkdwn/commit/19c20b40c0241e3fe53a7de7813c0a5c3b363ba5 | https://github.com/fla9ua/markdown_to_mrkdwn | markdown_to_mrkdwn.converter | [
"SlackMarkdownConverter"
] | 14 | 1 | 2808c9de80b3195c | fla9ua/markdown_to_mrkdwn@19c20b40c#SlackMarkdownConverter | python | 2026-08-18 | goldset/0.1 | 1 | |
authlib/joserfc | fix: throw an error on non-valid base64 strings | file | commit | fix: throw an error on non-valid base64 strings | from __future__ import annotations
from typing import Any
import base64
import struct
import json
def to_bytes(x: Any, charset: str = "utf-8", errors: str = "strict") -> bytes:
if isinstance(x, bytes):
return x
if isinstance(x, str):
return x.encode(charset, errors)
if isinstance(x, (int, ... | from __future__ import annotations
from typing import Any
import base64
import struct
import binascii
import json
def to_bytes(x: Any, charset: str = "utf-8", errors: str = "strict") -> bytes:
if isinstance(x, bytes):
return x
if isinstance(x, str):
return x.encode(charset, errors)
if isin... | tests/test_util.py | [
"tests/test_util.py::TestUtil::test_urlsafe_b64decode"
] | 2024-12-03 | 2024-09-25 | BSD-3-Clause | LICENSE | 2b95926d21bfedb89b7775f9d973fcf98d9121d6 | 6329b74edb21c0eac9b707bc07d990515ca98ab1 | https://github.com/authlib/joserfc/commit/2b95926d21bfedb89b7775f9d973fcf98d9121d6 | https://github.com/authlib/joserfc | joserfc.util | [
"urlsafe_b64decode"
] | 5 | 1 | 2153253a372f5a83 | authlib/joserfc@2b95926d2#src/joserfc/util.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
bastikr/boolean.py | Fix absorption issue #113 #112 #111 | file | commit | Fix absorption issue #113 #112 #111 | """
Boolean expressions algebra.
This module defines a Boolean algebra over the set {TRUE, FALSE} with boolean
variables called Symbols and the boolean functions AND, OR, NOT.
Some basic logic comparison is supported: two expressions can be
compared for equivalence or containment. Furthermore you can simplify
an expr... | """
Boolean expressions algebra.
This module defines a Boolean algebra over the set {TRUE, FALSE} with boolean
variables called Symbols and the boolean functions AND, OR, NOT.
Some basic logic comparison is supported: two expressions can be
compared for equivalence or containment. Furthermore you can simplify
an expr... | boolean/test_boolean.py | [
"boolean/test_boolean.py::DualBaseTestCase::test_absorption_invariant_to_order"
] | 2024-11-15 | 2022-06-04 | BSD-2-Clause | LICENSE.txt | 228f005f27b8f68156dfd4e56dfdb3c424941141 | 431e5226c269e4c863cc851b971ca5e89fda04d7 | https://github.com/bastikr/boolean.py/commit/228f005f27b8f68156dfd4e56dfdb3c424941141 | https://github.com/bastikr/boolean.py | boolean.boolean | [
"DualBase"
] | 7 | 1 | 327ccfcf29deb3e4 | bastikr/boolean.py@228f005f2#boolean/boolean.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | fix the elseif statement for fortran | file | commit | fix the elseif statement for fortran | '''
Language parser for Fortran.
'''
import re
from .code_reader import CodeStateMachine, CodeReader
# pylint: disable=R0903
class FortranCommentsMixin(object):
@staticmethod
def get_comment_from_token(token):
if token.startswith('!'):
return token[1:]
# pylint: disable=R0903
class Fort... | '''
Language parser for Fortran.
'''
import re
from .code_reader import CodeStateMachine, CodeReader
# pylint: disable=R0903
class FortranCommentsMixin(object):
@staticmethod
def get_comment_from_token(token):
if token.startswith('!'):
return token[1:]
# pylint: disable=R0903
class Fort... | test/test_languages/testFortran.py | [
"test/test_languages/testFortran.py::TestFortran::test_case_insensitive_tokens"
] | 2024-10-31 | 2024-10-08 | MIT | LICENSE.txt | ff1928bd96607deb70396e268b6b54dbbe9967e7 | 00e10094f57b65b538855a717a2412201cc18a97 | https://github.com/terryyin/lizard/commit/ff1928bd96607deb70396e268b6b54dbbe9967e7 | https://github.com/terryyin/lizard | lizard_languages.fortran | [
"FortranReader",
"FortranStates"
] | 7 | 1 | d0c977c89fd10608 | terryyin/lizard@ff1928bd9#lizard_languages/fortran.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
lark-parser/lark | Adjust behaviour in #1481 to raise a NotImplementedError | file | commit | Adjust behaviour in #1481 to raise a NotImplementedError | from typing import Optional, Tuple, ClassVar, Sequence
from .utils import Serialize
###{standalone
TOKEN_DEFAULT_PRIORITY = 0
class Symbol(Serialize):
__slots__ = ('name',)
name: str
is_term: ClassVar[bool] = NotImplemented
def __init__(self, name: str) -> None:
self.name = name
def _... | from typing import Optional, Tuple, ClassVar, Sequence
from .utils import Serialize
###{standalone
TOKEN_DEFAULT_PRIORITY = 0
class Symbol(Serialize):
__slots__ = ('name',)
name: str
is_term: ClassVar[bool] = NotImplemented
def __init__(self, name: str) -> None:
self.name = name
def _... | tests/test_grammar.py | [
"tests/test_grammar.py::TestGrammar::test_symbol_eq"
] | 2024-10-25 | 2024-10-25 | MIT | LICENSE | 3ac48c1cd547a1971c83db15f1c285145a6fc3de | da118c3c7e4b114ed3dbe546171145b52808c261 | https://github.com/lark-parser/lark/commit/3ac48c1cd547a1971c83db15f1c285145a6fc3de | https://github.com/lark-parser/lark | lark.grammar | [
"Symbol"
] | 6 | 1 | 61618994ef29a641 | lark-parser/lark@3ac48c1cd#lark/grammar.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
lark-parser/lark | Fix Symbol.__eq__ (fixes #1476) | file | commit | Fix Symbol.__eq__ (fixes #1476) | from typing import Optional, Tuple, ClassVar, Sequence
from .utils import Serialize
###{standalone
TOKEN_DEFAULT_PRIORITY = 0
class Symbol(Serialize):
__slots__ = ('name',)
name: str
is_term: ClassVar[bool] = NotImplemented
def __init__(self, name: str) -> None:
self.name = name
def _... | from typing import Optional, Tuple, ClassVar, Sequence
from .utils import Serialize
###{standalone
TOKEN_DEFAULT_PRIORITY = 0
class Symbol(Serialize):
__slots__ = ('name',)
name: str
is_term: ClassVar[bool] = NotImplemented
def __init__(self, name: str) -> None:
self.name = name
def _... | tests/test_grammar.py | [
"tests/test_grammar.py::TestGrammar::test_symbol_eq"
] | 2024-10-25 | 2024-09-23 | MIT | LICENSE | da118c3c7e4b114ed3dbe546171145b52808c261 | 24d0cf7b5b56db77203dbbe794e50958433130ea | https://github.com/lark-parser/lark/commit/da118c3c7e4b114ed3dbe546171145b52808c261 | https://github.com/lark-parser/lark | lark.grammar | [
"Symbol"
] | 3 | 1 | b20260bd5ab1045d | lark-parser/lark@da118c3c7#lark/grammar.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
python-babel/babel | Fix extracted lineno with nested calls (#1126) | file | commit | Fix extracted lineno with nested calls (#1126) | """
babel.messages.extract
~~~~~~~~~~~~~~~~~~~~~~
Basic infrastructure for extracting localizable messages from source files.
This module defines an extensible system for collecting localizable message
strings from a variety of sources. A native extractor for Python source
files is builtin, ex... | """
babel.messages.extract
~~~~~~~~~~~~~~~~~~~~~~
Basic infrastructure for extracting localizable messages from source files.
This module defines an extensible system for collecting localizable message
strings from a variety of sources. A native extractor for Python source
files is builtin, ex... | tests/messages/test_extract.py | [
"tests/messages/test_extract.py::ExtractPythonTestCase::test_comments_with_calls_that_spawn_multiple_lines",
"tests/messages/test_extract.py::ExtractPythonTestCase::test_nested_calls"
] | 2024-10-19 | 2024-10-19 | BSD-3-Clause | LICENSE | bef3a734fbdf1da4d1058d25a5eed785bec43a63 | ea84d9d5f0bd2859f3281e4dac812ae05d33f466 | https://github.com/python-babel/babel/commit/bef3a734fbdf1da4d1058d25a5eed785bec43a63 | https://github.com/python-babel/babel | babel.messages.extract | [
"extract_python"
] | 10 | 2 | a56f40ffd63c40ba | python-babel/babel@bef3a734f#babel/messages/extract.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kellyjonbrazil/jc | Fix broken controller regexp scheme in the bluetoothctl parser (#599) | file | commit | Fix broken controller regexp scheme in the bluetoothctl parser (#599) | r"""jc - JSON Convert `bluetoothctl` command output parser
Supports the following `bluetoothctl` subcommands:
- `bluetoothctl list`
- `bluetoothctl show`
- `bluetoothctl show <ctrl>`
- `bluetoothctl devices`
- `bluetoothctl info <dev>`
Usage (cli):
$ bluetoothctl info <dev> | jc --bluetoothctl
or
$ jc bluet... | r"""jc - JSON Convert `bluetoothctl` command output parser
Supports the following `bluetoothctl` subcommands:
- `bluetoothctl list`
- `bluetoothctl show`
- `bluetoothctl show <ctrl>`
- `bluetoothctl devices`
- `bluetoothctl info <dev>`
Usage (cli):
$ bluetoothctl info <dev> | jc --bluetoothctl
or
$ jc bluet... | tests/test_bluetoothctl.py | [
"tests/test_bluetoothctl.py::BluetoothctlTests::test_bluetoothctl_controller_with_manufacturer"
] | 2024-10-18 | 2024-10-17 | MIT | LICENSE.md | c5e0642b0b38b5b7bee01e492ed93a72c879c09e | 78150ded70d1068fc0f5a138e8704c57df7c97f9 | https://github.com/kellyjonbrazil/jc/commit/c5e0642b0b38b5b7bee01e492ed93a72c879c09e | https://github.com/kellyjonbrazil/jc | jc.parsers.bluetoothctl | [
"_parse_controller"
] | 16 | 1 | 036dfc0fa9bb5924 | kellyjonbrazil/jc@c5e0642b0#jc/parsers/bluetoothctl.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | Fix func keyword usage in Golike structs and interfaces | file | commit | Fix func keyword usage in Golike structs and interfaces | '''
Language parser for Go lang
'''
from .code_reader import CodeStateMachine
class GoLikeStates(CodeStateMachine): # pylint: disable=R0903
FUNC_KEYWORD = 'func'
def _state_global(self, token):
if token == self.FUNC_KEYWORD:
self._state = self._function_name
self.context.pu... | '''
Language parser for Go lang
'''
from .code_reader import CodeStateMachine
class GoLikeStates(CodeStateMachine): # pylint: disable=R0903
FUNC_KEYWORD = 'func'
def _state_global(self, token):
if token == self.FUNC_KEYWORD:
self._state = self._function_name
self.context.pu... | test/test_languages/testGo.py | [
"test/test_languages/testGo.py::Test_parser_for_Go::test_interface_with_func_followed_by_function_with_receiver",
"test/test_languages/testGo.py::Test_parser_for_Go::test_struct_with_func_followed_by_function_with_receiver"
] | 2024-10-07 | 2024-04-25 | MIT | LICENSE.txt | 214288237c850f20540c746b9d8a9f596ca41b4a | 7b47f8885eb694e6ec82df21e024f2b5265ffba9 | https://github.com/terryyin/lizard/commit/214288237c850f20540c746b9d8a9f596ca41b4a | https://github.com/terryyin/lizard | lizard_languages.golike | [
"GoLikeStates"
] | 21 | 2 | 765b0cb7f166f834 | terryyin/lizard@214288237#lizard_languages/golike.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
dynaconf/dynaconf | _get_data_by_key | fix(inspect): Fixed an error that would raise when using get_history() with lazy values (#1184) | function | docstring | Returns value found in data[key] using dot-path str (e.g, "path.to.key").
Raises KeyError if not found | def _get_data_by_key(
data: dict,
key_dotted_path: str,
default: Any = None,
sep="__",
):
"""
Returns value found in data[key] using dot-path str (e.g, "path.to.key").
Raises KeyError if not found
"""
if not isinstance(data, DynaBox):
data = DynaBox(data) # DynaBox can handl... | def _get_data_by_key(
data: dict,
key_dotted_path: str,
default: Any = None,
sep="__",
):
"""
Returns value found in data[key] using dot-path str (e.g, "path.to.key").
Raises KeyError if not found
"""
if not isinstance(data, DynaBox):
data = DynaBox(data) # DynaBox can handl... | tests/test_inspect.py | [
"tests/test_inspect.py::tests_get_history_with_variable_interpolation"
] | 2024-10-04 | 2024-08-09 | MIT | LICENSE | b23dac456fbc382b6b9f58624c44162c0fd957d8 | 285c4f958d4ca16541a66791857cdf6ccaa9962f | https://github.com/dynaconf/dynaconf/commit/b23dac456fbc382b6b9f58624c44162c0fd957d8 | https://github.com/dynaconf/dynaconf | dynaconf.utils.inspect | [
"_get_data_by_key"
] | 10 | 1 | 5cc5a2688dd86ab8 | dynaconf/dynaconf@b23dac456#_get_data_by_key | python | 2026-08-18 | goldset/0.1 | 1 | |
Textualize/rich | fix(table): highlight columns added by add_row | file | commit | fix(table): highlight columns added by add_row | from dataclasses import dataclass, field, replace
from typing import (
TYPE_CHECKING,
Dict,
Iterable,
List,
NamedTuple,
Optional,
Sequence,
Tuple,
Union,
)
from . import box, errors
from ._loop import loop_first_last, loop_last
from ._pick import pick_bool
from ._ratio import ratio_... | from dataclasses import dataclass, field, replace
from typing import (
TYPE_CHECKING,
Dict,
Iterable,
List,
NamedTuple,
Optional,
Sequence,
Tuple,
Union,
)
from . import box, errors
from ._loop import loop_first_last, loop_last
from ._pick import pick_bool
from ._ratio import ratio_... | tests/test_table.py | [
"tests/test_table.py::test_columns_highlight_added_by_add_row"
] | 2024-10-03 | 2024-10-01 | MIT | LICENSE | 16b3830408df98db41967774e59175a1f919ce25 | 5ba9cb56e68dcdf2db50c214d8f1412c8a50761b | https://github.com/Textualize/rich/commit/16b3830408df98db41967774e59175a1f919ce25 | https://github.com/Textualize/rich | rich.table | [
"Table"
] | 2 | 1 | 83142c0b0ea26cd8 | Textualize/rich@16b383040#rich/table.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
defnull/multipart | fix: Allow empty segment names | file | commit | fix: Allow empty segment names | # -*- coding: utf-8 -*-
"""
This module provides multiple parsers for RFC-7578 `multipart/form-data`,
both low-level for framework authors and high-level for WSGI application
developers.
Copyright (c) 2010-2024, Marcel Hellkamp
License: MIT (see LICENSE file)
"""
__author__ = "Marcel Hellkamp"
__version__ = '1.0.0'
... | # -*- coding: utf-8 -*-
"""
This module provides multiple parsers for RFC-7578 `multipart/form-data`,
both low-level for framework authors and high-level for WSGI application
developers.
Copyright (c) 2010-2024, Marcel Hellkamp
License: MIT (see LICENSE file)
"""
__author__ = "Marcel Hellkamp"
__version__ = '1.0.0'
... | test/test_push_parser.py | [
"test/test_push_parser.py::TestPushParser::test_header_wrong_segment_subtype"
] | 2024-09-28 | 2024-09-28 | MIT | LICENSE | 6756044c99344a7eb7ab38f04f82932f89218e24 | e80c30a13ffb4183b1d90d42eec84d0ce53d0fcf | https://github.com/defnull/multipart/commit/6756044c99344a7eb7ab38f04f82932f89218e24 | https://github.com/defnull/multipart | multipart | [
"MultipartSegment"
] | 19 | 1 | ae6f9c83668deb64 | defnull/multipart@6756044c9#multipart.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
microsoft/FeatureManagement-Python | Assignment Fix (#42) | file | commit | Assignment Fix (#42) | # ------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# -------------------------------------------------------------------------
import hashl... | # ------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# -------------------------------------------------------------------------
import hashl... | tests/test_feature_variants.py | [
"tests/test_feature_variants.py::TestFeatureVariants::test_user_and_group_allocation"
] | 2024-09-27 | 2024-09-10 | MIT | LICENSE | 577987cf7b5687742f53133d33bf3402b48f8815 | d26463d3221498e03c24e7eff984d6d65b4be665 | https://github.com/microsoft/FeatureManagement-Python/commit/577987cf7b5687742f53133d33bf3402b48f8815 | https://github.com/microsoft/FeatureManagement-Python | featuremanagement._featuremanagerbase | [
"FeatureManagerBase"
] | 4 | 1 | b91c935bd1f32328 | microsoft/FeatureManagement-Python@577987cf7#featuremanagement/_featuremanagerbase.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kellyjonbrazil/jc | fix uptime for "user" instead of "users" | file | commit | fix uptime for "user" instead of "users" | r"""jc - JSON Convert `uptime` command output parser
Usage (cli):
$ uptime | jc --uptime
or
$ jc uptime
Usage (module):
import jc
result = jc.parse('uptime', uptime_command_output)
Schema:
{
"time": string,
"time_hour": integer,
"time_minute":... | r"""jc - JSON Convert `uptime` command output parser
Usage (cli):
$ uptime | jc --uptime
or
$ jc uptime
Usage (module):
import jc
result = jc.parse('uptime', uptime_command_output)
Schema:
{
"time": string,
"time_hour": integer,
"time_minute":... | tests/test_uptime.py | [
"tests/test_uptime.py::MyTests::test_uptime_user"
] | 2024-09-07 | 2024-09-06 | MIT | LICENSE.md | 40eb2b7ef60184a049c34c4f423585f31e42fd99 | 71af0c55553e17c598c9f43b8271bfb069795af5 | https://github.com/kellyjonbrazil/jc/commit/40eb2b7ef60184a049c34c4f423585f31e42fd99 | https://github.com/kellyjonbrazil/jc | jc.parsers.uptime | [
"info",
"parse"
] | 4 | 1 | b7f55d49838d18c7 | kellyjonbrazil/jc@40eb2b7ef#jc/parsers/uptime.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
defnull/multipart | parse_form_data | fix: Handle ValueError in invalid content length headers | function | docstring | Parses both types of form data (multipart and url-encoded) from a WSGI
environment and returns a (forms, files) tuple. Both are instances of
:class:`MultiDict` and may contain multiple values per key.
The forms MultiDict contains text values as strings.
The files MultiDict contains :class:`MultipartPart` instances, e... | def parse_form_data(environ, charset="utf8", strict=False, **kwargs):
""" Parses both types of form data (multipart and url-encoded) from a WSGI
environment and returns a (forms, files) tuple. Both are instances of
:class:`MultiDict` and may contain multiple values per key.
The forms Multi... | def parse_form_data(environ, charset="utf8", strict=False, **kwargs):
""" Parses both types of form data (multipart and url-encoded) from a WSGI
environment and returns a (forms, files) tuple. Both are instances of
:class:`MultiDict` and may contain multiple values per key.
The forms Multi... | test/test_multipart.py | [
"test/test_multipart.py::TestBrokenMultipart::test_invalid_content_length"
] | 2024-08-26 | 2024-08-26 | MIT | LICENSE | e4e1f3f97cf90494e2d99223bbc61f33e45addcb | 53cf784d8539ae489c0e697feaca616c4cbbb106 | https://github.com/defnull/multipart/commit/e4e1f3f97cf90494e2d99223bbc61f33e45addcb | https://github.com/defnull/multipart | multipart | [
"parse_form_data"
] | 9 | 1 | bc4963194f3729d2 | defnull/multipart@e4e1f3f97#parse_form_data | python | 2026-08-18 | goldset/0.1 | 1 | |
defnull/multipart | fix: Properly handle completely empty input stream. | file | commit | fix: Properly handle completely empty input stream. | # -*- coding: utf-8 -*-
"""
Parser for multipart/form-data
==============================
This module provides a parser for the multipart/form-data format. It can read
from a file, a socket or a WSGI environment. The parser can be used to replace
cgi.FieldStorage to work around its limitations.
"""
__author__ = "Mar... | # -*- coding: utf-8 -*-
"""
Parser for multipart/form-data
==============================
This module provides a parser for the multipart/form-data format. It can read
from a file, a socket or a WSGI environment. The parser can be used to replace
cgi.FieldStorage to work around its limitations.
"""
__author__ = "Mar... | test/test_multipart.py | [
"test/test_multipart.py::TestBrokenMultipart::test_empty"
] | 2024-08-26 | 2024-08-26 | MIT | LICENSE | 8039d663b5130208c3f68e2ef7c693945eccc8b1 | 0be4b9ba11c88d9f51115932dcb975feb15deb15 | https://github.com/defnull/multipart/commit/8039d663b5130208c3f68e2ef7c693945eccc8b1 | https://github.com/defnull/multipart | multipart | [
"MultipartParser"
] | 16 | 1 | 5001424f6ca838ff | defnull/multipart@8039d663b#multipart.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | CodeReader | Fix parsing of C++14 ' separator with 0x and 0b | function | docstring | CodeReaders are used to parse function structures from
code of different
language. Each language will need a subclass of CodeReader. | class CodeReader:
""" CodeReaders are used to parse function structures from
code of different
language. Each language will need a subclass of CodeReader. """
ext = []
languages = None
extra_subclasses = set()
_conditions = {'if', 'for', 'while', '&&', '||', '?', 'catch', 'case'}
def ... | class CodeReader:
""" CodeReaders are used to parse function structures from
code of different
language. Each language will need a subclass of CodeReader. """
ext = []
languages = None
extra_subclasses = set()
_conditions = {'if', 'for', 'while', '&&', '||', '?', 'catch', 'case'}
def ... | test/test_languages/testCAndCPP.py | [
"test/test_languages/testCAndCPP.py::Test_c_cpp_lizard::test_bin_number_with_thousands_separator_since_cpp14",
"test/test_languages/testCAndCPP.py::Test_c_cpp_lizard::test_hex_number_with_thousands_separator_since_cpp14"
] | 2024-08-24 | 2024-04-25 | MIT | LICENSE.txt | c17ccbbe5203c34236fb52aa5f288ed2a96d55c0 | 7b47f8885eb694e6ec82df21e024f2b5265ffba9 | https://github.com/terryyin/lizard/commit/c17ccbbe5203c34236fb52aa5f288ed2a96d55c0 | https://github.com/terryyin/lizard | lizard_languages.code_reader | [
"CodeReader"
] | 2 | 2 | e64e26e2753ec281 | terryyin/lizard@c17ccbbe5#CodeReader | python | 2026-08-18 | goldset/0.1 | 1 | |
lark-parser/lark | Bugfix: Earley now respects ambiguity='resolve' again. Bug was introduced in a previous bugfix. | file | commit | Bugfix: Earley now respects ambiguity='resolve' again. Bug was introduced in a previous bugfix. | """This module implements an Earley parser.
The core Earley algorithm used here is based on Elizabeth Scott's implementation, here:
https://www.sciencedirect.com/science/article/pii/S1571066108001497
That is probably the best reference for understanding the algorithm here.
The Earley parser outputs an SPPF-tree ... | """This module implements an Earley parser.
The core Earley algorithm used here is based on Elizabeth Scott's implementation, here:
https://www.sciencedirect.com/science/article/pii/S1571066108001497
That is probably the best reference for understanding the algorithm here.
The Earley parser outputs an SPPF-tree ... | tests/test_parser.py | [
"tests/test_parser.py::TestFullEarleyBasic::test_multiple_start_solutions",
"tests/test_parser.py::TestFullEarleyDynamic::test_multiple_start_solutions",
"tests/test_parser.py::TestFullEarleyDynamic_complete::test_multiple_start_solutions"
] | 2024-08-13 | 2024-08-13 | MIT | LICENSE | e6cf5708247c363d285adb42e211e44e9bb725ce | ae207df1bbf6e2a7d11c7288a168090ba93f0abb | https://github.com/lark-parser/lark/commit/e6cf5708247c363d285adb42e211e44e9bb725ce | https://github.com/lark-parser/lark | lark.parsers.earley | [
"Parser"
] | 2 | 3 | 74b13dc4b7e51343 | lark-parser/lark@e6cf57082#lark/parsers/earley.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
desgeeko/pdfsyntax | next_token | Fix #2 with support for balanced parentheses inside literals | function | docstring | Find next token in raw string starting at some index. | def next_token(text: bytes, i=0) -> tuple:
"""Find next token in raw string starting at some index."""
search = "TBD"
nested = 1
text_in_array = 0
h = i
while i < len(text):
single = text[i:i+1]
double = text[i:i+2]
if search == "TBD":
if single == b']':
... | def next_token(text: bytes, i=0) -> tuple:
"""Find next token in raw string starting at some index."""
search = "TBD"
nested = 1
text_in_array = 0
h = i
while i < len(text):
single = text[i:i+1]
double = text[i:i+2]
if search == "TBD":
if single == b']':
... | tests/test_tokenization.py | [
"tests/test_tokenization.py::Tokenization::test_literal_string_with_parentheses"
] | 2024-07-20 | 2024-06-16 | MIT | LICENSE | 96385155e10a07d8e49664bdf24d441bb06e6906 | 28b9d9c9cc74b38c1566ad82bcbd85701f074e3c | https://github.com/desgeeko/pdfsyntax/commit/96385155e10a07d8e49664bdf24d441bb06e6906 | https://github.com/desgeeko/pdfsyntax | pdfsyntax.objects | [
"next_token"
] | 9 | 1 | 09410f97ca9161cd | desgeeko/pdfsyntax@96385155e#next_token | python | 2026-08-18 | goldset/0.1 | 1 | |
tkem/cachetools | mru_cache | Fix #256: Deprecate @mru_cache decorator. | function | docstring | Decorator to wrap a function with a memoizing callable that saves
up to `maxsize` results based on a Most Recently Used (MRU)
algorithm. | def mru_cache(maxsize=128, typed=False):
"""Decorator to wrap a function with a memoizing callable that saves
up to `maxsize` results based on a Most Recently Used (MRU)
algorithm.
"""
if maxsize is None:
return _cache({}, None, typed)
elif callable(maxsize):
return _cache(MRUCac... | def mru_cache(maxsize=128, typed=False):
"""Decorator to wrap a function with a memoizing callable that saves
up to `maxsize` results based on a Most Recently Used (MRU)
algorithm.
"""
from warnings import warn
warn("@mru_cache is deprecated", DeprecationWarning, stacklevel=2)
if maxsize i... | tests/test_func.py | [
"tests/test_func.py::MRUDecoratorTest::test_decorator"
] | 2024-07-15 | 2024-07-15 | MIT | LICENSE | d3598664ca921b11a35e42087b46a4686fa10f37 | 8f0d74a145f90e2672371b61aa8f82614adeefd7 | https://github.com/tkem/cachetools/commit/d3598664ca921b11a35e42087b46a4686fa10f37 | https://github.com/tkem/cachetools | cachetools.func | [
"mru_cache"
] | 4 | 1 | 89441cdef5acb15b | tkem/cachetools@d3598664c#mru_cache | python | 2026-08-17 | goldset/0.1 | 1 | |
andialbrecht/sqlparse | StatementSplitter | Fix error when splitting statements that contain multiple CASE clauses within a BEGIN block (fixes #784). | function | docstring | Filter that split stream at individual statements | class StatementSplitter:
"""Filter that split stream at individual statements"""
def __init__(self):
self._reset()
def _reset(self):
"""Set the filter attributes to its default values"""
self._in_declare = False
self._is_create = False
self._begin_depth = 0
... | class StatementSplitter:
"""Filter that split stream at individual statements"""
def __init__(self):
self._reset()
def _reset(self):
"""Set the filter attributes to its default values"""
self._in_declare = False
self._in_case = False
self._is_create = False
... | tests/test_split.py | [
"tests/test_split.py::test_split_multiple_case_in_begin"
] | 2024-07-15 | 2024-07-12 | BSD-3-Clause | LICENSE | 791e25de46f443597d99314cfd1a68217bcaf970 | 073099d963e904ca45817e85d10bd81bf2b4373a | https://github.com/andialbrecht/sqlparse/commit/791e25de46f443597d99314cfd1a68217bcaf970 | https://github.com/andialbrecht/sqlparse | sqlparse.engine.statement_splitter | [
"StatementSplitter"
] | 13 | 1 | 5da0c7403f813402 | andialbrecht/sqlparse@791e25de4#StatementSplitter | python | 2026-08-18 | goldset/0.1 | 1 | |
rhasspy/unicode-rbnf | Fix zero remainder rules | file | commit | Fix zero remainder rules | import logging
from abc import ABC
from bisect import bisect_left
from collections import defaultdict
from dataclasses import dataclass, field
from decimal import Decimal
from enum import Enum
from math import ceil, floor, isinf, isnan, log, modf
from pathlib import Path
from typing import Dict, Final, Iterable, List, ... | import logging
from abc import ABC
from bisect import bisect_left
from collections import defaultdict
from dataclasses import dataclass, field
from decimal import Decimal
from enum import Enum
from math import ceil, floor, isinf, isnan, log, modf
from pathlib import Path
from typing import Dict, Final, Iterable, List, ... | tests/test_en.py | [
"tests/test_en.py::test_english"
] | 2024-07-10 | 2024-02-06 | MIT | LICENSE.md | 9b64edcff68f81e888117fdd599a7e7d3b2a8711 | f0010272f1076cfc5abc179e21c418ed689857d5 | https://github.com/rhasspy/unicode-rbnf/commit/9b64edcff68f81e888117fdd599a7e7d3b2a8711 | https://github.com/rhasspy/unicode-rbnf | unicode_rbnf.engine | [
"ParseState",
"RbnfEngine",
"RbnfRule",
"SubType"
] | 22 | 1 | 0620089ccc4e8646 | rhasspy/unicode-rbnf@9b64edcff#unicode_rbnf/engine.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
microsoft/sarif-tools | combine_code_and_description | Avoid word wrap crash when issue code long (#52) | function | docstring | Combine code and description into one string, keeping total length under 120 characters. | def combine_code_and_description(code: str, description: str) -> str:
"""
Combine code and description into one string, keeping total length under 120 characters.
"""
length_budget = 120
if code:
code = code.strip()
length_budget -= len(code) + 1
# Allow extra space when truncati... | def combine_code_and_description(code: str, description: str) -> str:
"""
Combine code and description into one string, keeping total length under 120 characters.
"""
length_budget = 120
if code:
code = code.strip()
length_budget -= len(code) + 1 # Allow issue code and space charact... | tests/test_sarif_file_utils.py | [
"tests/test_sarif_file_utils.py::test_combine_code_and_description_long_desc"
] | 2024-07-04 | 2024-07-01 | MIT | LICENSE | 4bf8cad72e38966812b7d7fee6be4f27f5629444 | 1c158cbee8c4682c61e69fb5646f160af578bd16 | https://github.com/microsoft/sarif-tools/commit/4bf8cad72e38966812b7d7fee6be4f27f5629444 | https://github.com/microsoft/sarif-tools | sarif.sarif_file_utils | [
"combine_code_and_description"
] | 22 | 1 | c5604bfa0d83aa78 | microsoft/sarif-tools@4bf8cad72#combine_code_and_description | python | 2026-08-18 | goldset/0.1 | 1 | |
alecthomas/voluptuous | Fix vol.Remove not removing keys that do not validate (#515) | file | commit | Fix vol.Remove not removing keys that do not validate (#515) | # fmt: off
from __future__ import annotations
import collections
import inspect
import itertools
import re
import sys
import typing
from collections.abc import Generator
from contextlib import contextmanager
from functools import cache, wraps
from voluptuous import error as er
from voluptuous.error import Error
# fm... | # fmt: off
from __future__ import annotations
import collections
import inspect
import itertools
import re
import sys
import typing
from collections.abc import Generator
from contextlib import contextmanager
from functools import cache, wraps
from voluptuous import error as er
from voluptuous.error import Error
# fm... | voluptuous/tests/tests.py | [
"voluptuous/tests/tests.py::test_remove_with_error"
] | 2024-06-23 | 2024-06-23 | BSD-3-Clause | COPYING | ca4006a6838be83f682c594bc15f7ea3d79cc80f | 2232c0e556bc68343388fa8499bdbf13196a7514 | https://github.com/alecthomas/voluptuous/commit/ca4006a6838be83f682c594bc15f7ea3d79cc80f | https://github.com/alecthomas/voluptuous | voluptuous.schema_builder | [
"Schema"
] | 6 | 1 | d5a7018db652c48a | alecthomas/voluptuous@ca4006a68#voluptuous/schema_builder.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
erev0s/apkInspector | EndOfCentralDirectoryRecord | update eocd parse bug at offset | function | docstring | A class to provide details about the end of central directory record. | class EndOfCentralDirectoryRecord:
"""
A class to provide details about the end of central directory record.
"""
def __init__(self, signature, number_of_this_disk, disk_where_central_directory_starts,
number_of_central_directory_records_on_this_disk,
total_number_of_cen... | class EndOfCentralDirectoryRecord:
"""
A class to provide details about the end of central directory record.
"""
def __init__(self, signature, number_of_this_disk, disk_where_central_directory_starts,
number_of_central_directory_records_on_this_disk,
total_number_of_cen... | tests/test_base.py | [
"tests/test_base.py::ApkInspectorTestCase::test_find_eocd_at_offset_1026"
] | 2024-06-05 | 2024-05-05 | Apache-2.0 | LICENSE | 7a203a892841d6f8e885d1aaca7d49f1bd5bc22a | 4d26bfa473897446e32518d2a1faeb628aedc0af | https://github.com/erev0s/apkInspector/commit/7a203a892841d6f8e885d1aaca7d49f1bd5bc22a | https://github.com/erev0s/apkInspector | apkInspector.headers | [
"EndOfCentralDirectoryRecord"
] | 12 | 1 | 5697e69585b0f70f | erev0s/apkInspector@7a203a892#EndOfCentralDirectoryRecord | python | 2026-08-18 | goldset/0.1 | 1 | |
ekalinin/nodeenv | parse_version | Fix version discovery; #356, #357 (#358) | function | docstring | Parse version string to a tuple of integer parts | def parse_version(version_str):
"""
Parse version string to a tuple of integer parts
"""
return tuple(map(int, version_str.replace('v', '').split('.'))) | def parse_version(version_str):
"""
Parse version string to a tuple of integer parts
"""
v = version_str.replace('v', '').split('.')[:3]
# remove all after '+' in the PATCH part of the version
if len(v) >= 3:
v[2] = v[2].split('+')[0]
return tuple(map(int, v)) | tests/nodeenv_test.py | [
"tests/nodeenv_test.py::test_parse_version"
] | 2024-06-04 | 2024-05-28 | BSD-2-Clause | LICENSE | 69e310af9b8de6d8398b69c8c9a3c902663c928c | 9d74cd8f083ceeb546a33052683f8df083d54b1e | https://github.com/ekalinin/nodeenv/commit/69e310af9b8de6d8398b69c8c9a3c902663c928c | https://github.com/ekalinin/nodeenv | nodeenv | [
"parse_version"
] | 6 | 1 | 062e6d4d39c96087 | ekalinin/nodeenv@69e310af9#parse_version | python | 2026-08-18 | goldset/0.1 | 1 | |
colcon/colcon-core | add_file_handler | Fix modified logger in add_file_handler, add tests (#649) | function | docstring | Add a file handler to the logger which logs messages of all levels.
:param logger: The logger to add the file handler to
:param path: The path of the generated log file
:returns: The added file handler
:rtype: logging.FileHandler | def add_file_handler(logger, path):
"""
Add a file handler to the logger which logs messages of all levels.
:param logger: The logger to add the file handler to
:param path: The path of the generated log file
:returns: The added file handler
:rtype: logging.FileHandler
"""
class Filter(... | def add_file_handler(logger, path):
"""
Add a file handler to the logger which logs messages of all levels.
:param logger: The logger to add the file handler to
:param path: The path of the generated log file
:returns: The added file handler
:rtype: logging.FileHandler
"""
class Filter(... | test/test_logging.py | [
"test/test_logging.py::test_add_file_handler"
] | 2024-05-24 | 2024-05-24 | Apache-2.0 | LICENSE | a067589ebe6c36c0ab62abb379caeafef9c39763 | b174608650a3521203e10d7950aa35a3c6d63dcc | https://github.com/colcon/colcon-core/commit/a067589ebe6c36c0ab62abb379caeafef9c39763 | https://github.com/colcon/colcon-core | colcon_core.logging | [
"add_file_handler"
] | 10 | 1 | 6de85c38ed94d078 | colcon/colcon-core@a067589eb#add_file_handler | python | 2026-08-18 | goldset/0.1 | 1 | |
glut23/webvtt-py | write | Fix save SRT to not include cue tags #56 | function | docstring | Write captions to an output.
:param f: file or file-like object
:param captions: Iterable of `Caption` objects | def write(
f: typing.IO[str],
captions: typing.Iterable[Caption]
):
"""
Write captions to an output.
:param f: file or file-like object
:param captions: Iterable of `Caption` objects
"""
output = []
for index, caption in enumerate(captions, start=1):
output.e... | def write(
f: typing.IO[str],
captions: typing.Iterable[Caption]
):
"""
Write captions to an output.
:param f: file or file-like object
:param captions: Iterable of `Caption` objects
"""
output = []
for index, caption in enumerate(captions, start=1):
output.e... | tests/test_webvtt.py | [
"tests/test_webvtt.py::TestWebVTT::test_write_captions_in_srt_no_cuetags"
] | 2024-05-17 | 2024-05-15 | MIT | LICENSE | 1ee4049653cbdf8714193cd22569a0c163ba217e | 14e1ab82e95df71b338282b4454693880952f483 | https://github.com/glut23/webvtt-py/commit/1ee4049653cbdf8714193cd22569a0c163ba217e | https://github.com/glut23/webvtt-py | webvtt.srt | [
"write"
] | 2 | 1 | 34f6aa8f80e2c469 | glut23/webvtt-py@1ee404965#write | python | 2026-08-18 | goldset/0.1 | 1 | |
fabiocaccamo/python-fsutil | join_path | Fix `join_path` with absolute paths on Windows. | function | docstring | Create a path joining path and paths.
If path is __file__ (or a .py file), the resulting path will be relative
to the directory path of the module in which it's used. | def join_path(path: PathIn, *paths: PathIn) -> str:
"""
Create a path joining path and paths.
If path is __file__ (or a .py file), the resulting path will be relative
to the directory path of the module in which it's used.
"""
path = _get_path(path)
basepath = path
if get_file_extension(... | def join_path(path: PathIn, *paths: PathIn) -> str:
"""
Create a path joining path and paths.
If path is __file__ (or a .py file), the resulting path will be relative
to the directory path of the module in which it's used.
"""
path = _get_path(path)
basepath = path
if get_file_extension(... | tests/test.py | [
"tests/test.py::fsutil_test_case::test_join_path_with_absolute_path_on_windows"
] | 2024-05-16 | 2024-05-14 | MIT | LICENSE.txt | b278e8ee42f83791eb1c342e6c5ffbf4eee1ab29 | 1352ee6351437d80c07fc3e40c9914dd282acd8b | https://github.com/fabiocaccamo/python-fsutil/commit/b278e8ee42f83791eb1c342e6c5ffbf4eee1ab29 | https://github.com/fabiocaccamo/python-fsutil | fsutil.__init__ | [
"join_path"
] | 2 | 1 | 014f50dc670bf55a | fabiocaccamo/python-fsutil@b278e8ee4#join_path | python | 2026-08-18 | goldset/0.1 | 1 | |
python-validators/validators | fix(ip_address): properly handle private is false | file | commit | fix(ip_address): properly handle private is false | """IP Address."""
# standard
from ipaddress import (
AddressValueError,
IPv4Address,
IPv4Network,
IPv6Address,
IPv6Network,
NetmaskValueError,
)
import re
from typing import Optional
# local
from .utils import validator
def _check_private_ip(value: str, is_private: Optional[bool]):
if is... | """IP Address."""
# standard
from ipaddress import (
AddressValueError,
IPv4Address,
IPv4Network,
IPv6Address,
IPv6Network,
NetmaskValueError,
)
import re
from typing import Optional
# local
from .utils import validator
def _check_private_ip(value: str, is_private: Optional[bool]):
if is... | tests/test_ip_address.py | [
"tests/test_ip_address.py::test_returns_valid_on_private_ipv4_address[1.1.1.1-False]"
] | 2024-05-09 | 2024-05-07 | MIT | LICENSE.txt | 7c0e605392040d7413621584f1d544b24a6a83df | d46cd586bdd6b9946d5d421f009794a25650f72e | https://github.com/python-validators/validators/commit/7c0e605392040d7413621584f1d544b24a6a83df | https://github.com/python-validators/validators | validators.ip_address | [
"_check_private_ip"
] | 7 | 1 | 2ff85b21a7bd416f | python-validators/validators@7c0e60539#src/validators/ip_address.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
solaluset/i18nice | fix funcs without positional args (#57) | file | commit | fix funcs without positional args (#57) | __all__ = ("TranslationFormatter", "StaticFormatter", "FilenameFormat", "expand_static_refs")
from re import compile, escape
try:
from re import Match
except ImportError:
# Python 3.6 doesn't have this
Match = type(compile("").match("")) # type: ignore
from string import Template, Formatter as _Fmt
from t... | __all__ = ("TranslationFormatter", "StaticFormatter", "FilenameFormat", "expand_static_refs")
from re import compile, escape
try:
from re import Match
except ImportError:
# Python 3.6 doesn't have this
Match = type(compile("").match("")) # type: ignore
from string import Template, Formatter as _Fmt
from t... | i18n/tests/translation_tests.py | [
"i18n/tests/translation_tests.py::TestTranslationFormat::test_function_without_args"
] | 2024-05-06 | 2024-05-06 | MIT | LICENSE | 19de827e19c3ca1d6b6ab7e379935edc5cacee47 | d4630f330c6649f88dc448e970ed0f3b5041b785 | https://github.com/solaluset/i18nice/commit/19de827e19c3ca1d6b6ab7e379935edc5cacee47 | https://github.com/solaluset/i18nice | i18n.formatters | [
"TranslationFormatter"
] | 6 | 1 | 19a9fd2c9ef7b8e6 | solaluset/i18nice@19de827e1#i18n/formatters.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
pre-commit/pre-commit-hooks | Continues processing JSONs even if hook fails (fixes #1038) | file | commit | Continues processing JSONs even if hook fails (fixes #1038) | from __future__ import annotations
import argparse
import json
import sys
from difflib import unified_diff
from typing import Mapping
from typing import Sequence
def _get_pretty_format(
contents: str,
indent: str,
ensure_ascii: bool = True,
sort_keys: bool = True,
top_keys: Se... | from __future__ import annotations
import argparse
import json
import sys
from difflib import unified_diff
from typing import Mapping
from typing import Sequence
def _get_pretty_format(
contents: str,
indent: str,
ensure_ascii: bool = True,
sort_keys: bool = True,
top_keys: Se... | tests/pretty_format_json_test.py | [
"tests/pretty_format_json_test.py::test_invalid_main"
] | 2024-04-20 | 2024-04-20 | MIT | LICENSE | 25cdd5457b6548ecf02d6935f52f86c446e6a2d4 | 8c24e2c2e6b964feb04e1a93a72200ee84bd115a | https://github.com/pre-commit/pre-commit-hooks/commit/25cdd5457b6548ecf02d6935f52f86c446e6a2d4 | https://github.com/pre-commit/pre-commit-hooks | pre_commit_hooks.pretty_format_json | [
"main"
] | 22 | 1 | 9bb2919ab75858e1 | pre-commit/pre-commit-hooks@25cdd5457#pre_commit_hooks/pretty_format_json.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
python-validators/validators | domain | fix: rfc cases in the `domain` validator | function | docstring | Return whether or not given value is a valid domain.
Examples:
Args:
value:
Domain string to validate.
consider_tld:
Restrict domain to TLDs allowed by IANA.
rfc_1034:
Allows optional trailing dot in the domain name.
Ref: [RFC 1034](https://www.rfc-editor.org/rfc/rfc1034).
... | def domain(
value: str, /, *, consider_tld: bool = False, rfc_1034: bool = False, rfc_2782: bool = False
):
"""Return whether or not given value is a valid domain.
Examples:
>>> domain('example.com')
# Output: True
>>> domain('example.com/')
# Output: ValidationError(func=do... | def domain(
value: str, /, *, consider_tld: bool = False, rfc_1034: bool = False, rfc_2782: bool = False
):
"""Return whether or not given value is a valid domain.
Examples:
>>> domain('example.com')
# Output: True
>>> domain('example.com/')
# Output: ValidationError(func=do... | tests/test_domain.py | [
"tests/test_domain.py::test_returns_failed_validation_on_invalid_domain[example.com!-True-False]"
] | 2024-04-18 | 2024-04-12 | MIT | LICENSE.txt | 181f6dcdbcd0e25d0d5bf059744f765192a77f7b | f04a8c53ed3b6c2a6d678ead785015730409e4e9 | https://github.com/python-validators/validators/commit/181f6dcdbcd0e25d0d5bf059744f765192a77f7b | https://github.com/python-validators/validators | validators.domain | [
"domain"
] | 14 | 1 | 6e79f4d27c7b3112 | python-validators/validators@181f6dcdb#domain | python | 2026-08-18 | goldset/0.1 | 1 | |
kayak/pypika | fix `Field.__init__` (#742) | file | commit | fix `Field.__init__` (#742) | import inspect
import re
import uuid
from datetime import date
from enum import Enum
from typing import TYPE_CHECKING, Any, Iterable, Iterator, List, Optional, Sequence, Set, Type, TypeVar, Union
from pypika.enums import Arithmetic, Boolean, Comparator, Dialects, Equality, JSONOperators, Matching, Order
from pypika.ut... | import inspect
import re
import uuid
from datetime import date
from enum import Enum
from typing import TYPE_CHECKING, Any, Iterable, Iterator, List, Optional, Sequence, Set, Type, TypeVar, Union
from pypika.enums import Arithmetic, Boolean, Comparator, Dialects, Equality, JSONOperators, Matching, Order
from pypika.ut... | pypika/tests/test_terms.py | [
"pypika/tests/test_terms.py::FieldInitTests::test_init_with_str_table"
] | 2024-04-17 | 2024-04-17 | Apache-2.0 | LICENSE.txt | 822140eb806c67f3bdc7cc2d11bb346dddfee3fd | f1552da3663af0bcc3eac78ce8a34c08fad1a858 | https://github.com/kayak/pypika/commit/822140eb806c67f3bdc7cc2d11bb346dddfee3fd | https://github.com/kayak/pypika | pypika.terms | [
"Field"
] | 4 | 1 | 0d4945c6dd0a9df3 | kayak/pypika@822140eb8#pypika/terms.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
andialbrecht/sqlparse | Raise SQLParseError instead of RecursionError. | file | commit | Raise SQLParseError instead of RecursionError. | #
# Copyright (C) 2009-2020 the sqlparse authors and contributors
# <see AUTHORS file>
#
# This module is part of python-sqlparse and is released under
# the BSD License: https://opensource.org/licenses/BSD-3-Clause
"""This module contains classes representing syntactical elements of SQL."""
import re
from sqlparse ... | #
# Copyright (C) 2009-2020 the sqlparse authors and contributors
# <see AUTHORS file>
#
# This module is part of python-sqlparse and is released under
# the BSD License: https://opensource.org/licenses/BSD-3-Clause
"""This module contains classes representing syntactical elements of SQL."""
import re
from sqlparse ... | tests/test_regressions.py | [
"tests/test_regressions.py::test_max_recursion"
] | 2024-04-13 | 2024-04-13 | BSD-3-Clause | LICENSE | b4a39d9850969b4e1d6940d32094ee0b42a2cf03 | f1bcf2f8a7ddf6854c99990c56ff5394f4981d58 | https://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b42a2cf03 | https://github.com/andialbrecht/sqlparse | sqlparse.sql | [
"TokenList"
] | 14 | 1 | 44f25e3c8506e26f | andialbrecht/sqlparse@b4a39d985#sqlparse/sql.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
andialbrecht/sqlparse | Fix Function.get_parameters(), add Funtion.get_window() | file | commit | Fix Function.get_parameters(), add Funtion.get_window() | #
# Copyright (C) 2009-2020 the sqlparse authors and contributors
# <see AUTHORS file>
#
# This module is part of python-sqlparse and is released under
# the BSD License: https://opensource.org/licenses/BSD-3-Clause
"""This module contains classes representing syntactical elements of SQL."""
import re
from sqlparse ... | #
# Copyright (C) 2009-2020 the sqlparse authors and contributors
# <see AUTHORS file>
#
# This module is part of python-sqlparse and is released under
# the BSD License: https://opensource.org/licenses/BSD-3-Clause
"""This module contains classes representing syntactical elements of SQL."""
import re
from sqlparse ... | tests/test_grouping.py | [
"tests/test_grouping.py::test_grouping_function"
] | 2024-04-13 | 2024-04-13 | BSD-3-Clause | LICENSE | e03b74e608b71dd06824c2cb42421c0d790248e3 | 617b8f6cd3c55bacf2c80130901508518753f7e1 | https://github.com/andialbrecht/sqlparse/commit/e03b74e608b71dd06824c2cb42421c0d790248e3 | https://github.com/andialbrecht/sqlparse | sqlparse.sql | [
"Function"
] | 9 | 1 | c9c2bc1b1a19823e | andialbrecht/sqlparse@e03b74e60#sqlparse/sql.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
mrmaxguns/wonderwordsmodule | fix: sorted filter, which also ensures determinism #17 | file | commit | fix: sorted filter, which also ensures determinism #17 | """
The ``random_word`` module houses all classes and functions relating to the
generation of single random words.
"""
import random
import re
import enum
from types import ModuleType
from typing import (
Union,
Optional,
List,
Dict,
Any,
Type,
TextIO,
Tuple,
IO,
Iterable,
S... | """
The ``random_word`` module houses all classes and functions relating to the
generation of single random words.
"""
import random
import re
import enum
from types import ModuleType
from typing import (
Union,
Optional,
List,
Dict,
Any,
Type,
TextIO,
Tuple,
IO,
Iterable,
S... | tests/test_random_word.py | [
"tests/test_random_word.py::TestRandomWord::test_filter_sorting"
] | 2024-04-12 | 2024-04-12 | MIT | LICENSE | 46bd657516469033b6955331e44b21bb9ef8a6dc | 199c68f81506b316ac744c2aee4432204a2ea6d4 | https://github.com/mrmaxguns/wonderwordsmodule/commit/46bd657516469033b6955331e44b21bb9ef8a6dc | https://github.com/mrmaxguns/wonderwordsmodule | wonderwords.random_word | [
"RandomWord"
] | 6 | 1 | 04a365ae38c3df03 | mrmaxguns/wonderwordsmodule@46bd65751#wonderwords/random_word.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
mrmaxguns/wonderwordsmodule | fix: critical bug with return_less_if_necessary | file | commit | fix: critical bug with return_less_if_necessary | """
The ``random_word`` module houses all classes and functions relating to the
generation of single random words.
"""
import random
import re
import enum
from types import ModuleType
from typing import Union, Optional, List, Dict, Any, Type, TextIO, Tuple, IO, Iterable, Set
from . import assets
from . import _trie
... | """
The ``random_word`` module houses all classes and functions relating to the
generation of single random words.
"""
import random
import re
import enum
from types import ModuleType
from typing import Union, Optional, List, Dict, Any, Type, TextIO, Tuple, IO, Iterable, Set
from . import assets
from . import _trie
... | tests/test_random_word.py | [
"tests/test_random_word.py::TestRandomWord::test_random_words_enough_with_return_less_if_necessary"
] | 2024-04-10 | 2024-04-10 | MIT | LICENSE | 7741fd2e95011253db90597a3b9487e2f79b41aa | d22b07b0775dff5bede712cee82b951765721098 | https://github.com/mrmaxguns/wonderwordsmodule/commit/7741fd2e95011253db90597a3b9487e2f79b41aa | https://github.com/mrmaxguns/wonderwordsmodule | wonderwords.random_word | [
"RandomWord"
] | 17 | 1 | e3c17cc206acae28 | mrmaxguns/wonderwordsmodule@7741fd2e9#wonderwords/random_word.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kellyjonbrazil/jc | parse | fix for unhandled lines in xrandr output | function | docstring | Main text parsing function
Parameters:
data: (string) text data to parse
raw: (boolean) unprocessed output if True
quiet: (boolean) suppress warning messages if True
Returns:
Dictionary. Raw or processed structured data. | def parse(data: str, raw: bool = False, quiet: bool = False) -> Response:
"""
Main text parsing function
Parameters:
data: (string) text data to parse
raw: (boolean) unprocessed output if True
quiet: (boolean) suppress warning messages if True
Returns:
... | def parse(data: str, raw: bool = False, quiet: bool = False) -> Response:
"""
Main text parsing function
Parameters:
data: (string) text data to parse
raw: (boolean) unprocessed output if True
quiet: (boolean) suppress warning messages if True
Returns:
... | tests/test_xrandr.py | [
"tests/test_xrandr.py::XrandrTests::test_issue_549"
] | 2024-03-23 | 2024-03-19 | MIT | LICENSE.md | 1da080dc529b5618e305f061e1344a996096283a | 3ca8e1ef11bc011e726009f3e7db82869fbbd6b1 | https://github.com/kellyjonbrazil/jc/commit/1da080dc529b5618e305f061e1344a996096283a | https://github.com/kellyjonbrazil/jc | jc.parsers.xrandr | [
"parse"
] | 10 | 1 | 6127505f459637bb | kellyjonbrazil/jc@1da080dc5#parse | python | 2026-08-18 | goldset/0.1 | 1 | |
trailofbits/rfc8785.py | dump | rfc8785: raise CanonicalizationError on nonstr keys (#11) | function | docstring | Perform JCS serialization of `obj` into `sink`. | def dump(obj: _Value, sink: typing.IO[bytes]) -> None:
"""
Perform JCS serialization of `obj` into `sink`.
"""
if obj is None:
sink.write(b"null")
elif isinstance(obj, bool):
if obj is True:
sink.write(b"true")
else:
sink.write(b"false")
elif isin... | def dump(obj: _Value, sink: typing.IO[bytes]) -> None:
"""
Perform JCS serialization of `obj` into `sink`.
"""
if obj is None:
sink.write(b"null")
elif isinstance(obj, bool):
if obj is True:
sink.write(b"true")
else:
sink.write(b"false")
elif isin... | test/test_impl.py | [
"test/test_impl.py::test_dumps_nonstring_key"
] | 2024-03-20 | 2024-03-19 | Apache-2.0 | LICENSE | 1796ae7ba67a9eb464f7b52f7d3ce1fa72ee4628 | d8b4a6445f38c48b9137a8099706d9b8073146e4 | https://github.com/trailofbits/rfc8785.py/commit/1796ae7ba67a9eb464f7b52f7d3ce1fa72ee4628 | https://github.com/trailofbits/rfc8785.py | rfc8785._impl | [
"dump"
] | 6 | 1 | d7e1f81f41517880 | trailofbits/rfc8785.py@1796ae7ba#dump | python | 2026-08-18 | goldset/0.1 | 1 | |
lark-parser/lark | Transformer | Fix for issue #1394 | function | docstring | Transformers work bottom-up (or depth-first), starting with visiting the leaves and working
their way up until ending at the root of the tree.
For each node visited, the transformer will call the appropriate method (callbacks), according to the
node's `data`, and use the returned value to replace the node, thereby cre... | class Transformer(_Decoratable, ABC, Generic[_Leaf_T, _Return_T]):
"""Transformers work bottom-up (or depth-first), starting with visiting the leaves and working
their way up until ending at the root of the tree.
For each node visited, the transformer will call the appropriate method (callbacks), according... | class Transformer(_Decoratable, ABC, Generic[_Leaf_T, _Return_T]):
"""Transformers work bottom-up (or depth-first), starting with visiting the leaves and working
their way up until ending at the root of the tree.
For each node visited, the transformer will call the appropriate method (callbacks), according... | tests/test_trees.py | [
"tests/test_trees.py::TestTrees::test_transform_token"
] | 2024-02-25 | 2024-02-02 | MIT | LICENSE | 54489311549df8c7276471ecac76b1c266301f4d | 7646fb31609c6c83e0998b121eeffb908f5ec5ba | https://github.com/lark-parser/lark/commit/54489311549df8c7276471ecac76b1c266301f4d | https://github.com/lark-parser/lark | lark.visitors | [
"Transformer"
] | 6 | 1 | ddbb413f71e602a7 | lark-parser/lark@544893115#Transformer | python | 2026-08-18 | goldset/0.1 | 1 | |
fastavro/fastavro | Fix aliases in schema resolution (#751) | file | commit | Fix aliases in schema resolution (#751) | """Python code for reading AVRO files"""
# This code is a modified version of the code at
# http://svn.apache.org/viewvc/avro/trunk/lang/py/src/avro/ which is under
# Apache 2.0 license (http://www.apache.org/licenses/LICENSE-2.0)
import bz2
import json
import lzma
import zlib
from datetime import datetime, timezone
... | """Python code for reading AVRO files"""
# This code is a modified version of the code at
# http://svn.apache.org/viewvc/avro/trunk/lang/py/src/avro/ which is under
# Apache 2.0 license (http://www.apache.org/licenses/LICENSE-2.0)
import bz2
import json
import lzma
import zlib
from datetime import datetime, timezone
... | tests/test_aliases.py | [
"tests/test_aliases.py::test_alias_in_same_namespace"
] | 2024-02-13 | 2024-02-11 | MIT | LICENSE | 6606ccc8a7a5d0bb9aebb6a3d5a25576c9006eca | 7153d47a074856947305d8ef0819f3f4235cfe40 | https://github.com/fastavro/fastavro/commit/6606ccc8a7a5d0bb9aebb6a3d5a25576c9006eca | https://github.com/fastavro/fastavro | fastavro._read_py | [
"match_schemas"
] | 6 | 1 | 60a9f9b0391d06cd | fastavro/fastavro@6606ccc8a#fastavro/_read_py.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
protomaps/pmtiles | fix reader.py reading all the tiles (#357) | file | commit | fix reader.py reading all the tiles (#357) | import json
import mmap
from .tile import (
deserialize_header,
deserialize_directory,
zxy_to_tileid,
tileid_to_zxy,
find_tile,
Compression,
)
import gzip
def MmapSource(f):
mapping = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)
def get_bytes(offset, length):
return mappi... | import json
import mmap
from .tile import (
deserialize_header,
deserialize_directory,
zxy_to_tileid,
tileid_to_zxy,
find_tile,
Compression,
)
import gzip
def MmapSource(f):
mapping = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)
def get_bytes(offset, length):
return mappi... | python/test/test_reader_writer.py | [
"python/test/test_reader_writer.py::TestReaderWriter::test_all_tiles"
] | 2024-02-10 | 2024-02-07 | BSD-3-Clause | LICENSE | ea1657d8febf219608591eadf5ada266d8da7591 | 5b8627b0d8367c012d9864f1847f0c47558bb9c8 | https://github.com/protomaps/pmtiles/commit/ea1657d8febf219608591eadf5ada266d8da7591 | https://github.com/protomaps/pmtiles | python.pmtiles.reader | [
"traverse"
] | 7 | 1 | 9294ae25590ca0e6 | protomaps/pmtiles@ea1657d8f#python/pmtiles/reader.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
alecthomas/voluptuous | fix: allow unsortable containers in In and NotIn validators (fixes #451) (#506) | file | commit | fix: allow unsortable containers in In and NotIn validators (fixes #451) (#506) | # fmt: off
import datetime
import os
import re
import sys
import typing
from decimal import Decimal, InvalidOperation
from functools import wraps
from voluptuous.error import (
AllInvalid, AnyInvalid, BooleanInvalid, CoerceInvalid, ContainsInvalid, DateInvalid,
DatetimeInvalid, DirInvalid, EmailInvalid, ExactS... | # fmt: off
import datetime
import os
import re
import sys
import typing
from decimal import Decimal, InvalidOperation
from functools import wraps
from voluptuous.error import (
AllInvalid, AnyInvalid, BooleanInvalid, CoerceInvalid, ContainsInvalid, DateInvalid,
DatetimeInvalid, DirInvalid, EmailInvalid, ExactS... | voluptuous/tests/tests.py | [
"voluptuous/tests/tests.py::test_in_unsortable_container"
] | 2024-02-01 | 2024-01-31 | BSD-3-Clause | COPYING | 503dd346a1be9ac016c43b902a6601ddeaa9bda8 | 09d0f066a5f7b80973996c90c54a7bb00f62c905 | https://github.com/alecthomas/voluptuous/commit/503dd346a1be9ac016c43b902a6601ddeaa9bda8 | https://github.com/alecthomas/voluptuous | voluptuous.validators | [
"In",
"NotIn"
] | 24 | 1 | b9f87d90fa2f99f9 | alecthomas/voluptuous@503dd346a#voluptuous/validators.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
mherrmann/gitignore_parser | Fix ValueError for some symlinks | file | commit | Fix ValueError for some symlinks | import collections
import os
import re
from os.path import abspath, dirname
from pathlib import Path
from typing import Reversible, Union
def handle_negation(file_path, rules: Reversible["IgnoreRule"]):
for rule in reversed(rules):
if rule.match(file_path):
return not rule.negation
return ... | import collections
import os
import re
from os.path import abspath, dirname
from pathlib import Path
from typing import Reversible, Union
def handle_negation(file_path, rules: Reversible["IgnoreRule"]):
for rule in reversed(rules):
if rule.match(file_path):
return not rule.negation
return ... | tests.py | [
"tests.py::Test::test_symlink_to_symlink_directory"
] | 2024-01-19 | 2024-01-10 | MIT | LICENSE | 3861152b530e486ebb1a948207bd21d7e30138d5 | 6c8bd44695546269b0d1f8f41819fe480baea954 | https://github.com/mherrmann/gitignore_parser/commit/3861152b530e486ebb1a948207bd21d7e30138d5 | https://github.com/mherrmann/gitignore_parser | gitignore_parser | [
"parse_gitignore",
"rule_from_pattern"
] | 4 | 1 | 1a26ee0b3bc041b2 | mherrmann/gitignore_parser@3861152b5#gitignore_parser.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
fabiocaccamo/python-fsutil | Fix permissions lost when using `write_file` with `atomic=True`. #94 | file | commit | Fix permissions lost when using `write_file` with `atomic=True`. #94 | from __future__ import annotations
import glob
import hashlib
import json
import os
import pathlib
import re
import shutil
import tarfile
import tempfile
import uuid
import zipfile
from datetime import datetime
from typing import Any, Callable, Generator, Iterable, Union
from urllib.parse import urlsplit
try:
imp... | from __future__ import annotations
import glob
import hashlib
import json
import os
import pathlib
import re
import shutil
import tarfile
import tempfile
import uuid
import zipfile
from datetime import datetime
from typing import Any, Callable, Generator, Iterable, Union
from urllib.parse import urlsplit
try:
imp... | tests/test.py | [
"tests/test.py::fsutil_test_case::test_write_file_atomic_permissions_inheritance"
] | 2023-12-19 | 2023-12-19 | MIT | LICENSE.txt | 5c14e6f3a457cf8a3f590a6efda1d59af6e64a25 | 6bf89c87e2acc223c74be11b056886121599ab35 | https://github.com/fabiocaccamo/python-fsutil/commit/5c14e6f3a457cf8a3f590a6efda1d59af6e64a25 | https://github.com/fabiocaccamo/python-fsutil | fsutil.__init__ | [
"_write_file_atomic"
] | 6 | 1 | a5577242aed2c669 | fabiocaccamo/python-fsutil@5c14e6f3a#fsutil/__init__.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
toumorokoshi/deepmerge | Merger | fix: make predefined merge strategies work with primitive collections subtypes (#25) | function | docstring | :param type_strategies, List[Tuple]: a list of (Type, Strategy) pairs
that should be used against incoming types. For example: (dict, "override"). | class Merger(object):
"""
:param type_strategies, List[Tuple]: a list of (Type, Strategy) pairs
that should be used against incoming types. For example: (dict, "override").
"""
PROVIDED_TYPE_STRATEGIES = {
list: ListStrategies,
dict: DictStrategies,
set: SetStrategies... | class Merger(object):
"""
:param type_strategies, List[Tuple]: a list of (Type, Strategy) pairs
that should be used against incoming types. For example: (dict, "override").
"""
PROVIDED_TYPE_STRATEGIES = {
list: ListStrategies,
dict: DictStrategies,
set: SetStrategies... | deepmerge/tests/test_full.py | [
"deepmerge/tests/test_full.py::test_subtypes"
] | 2023-12-18 | 2023-12-18 | MIT | LICENSE | 98ec8c11a712d7791877cb3171eab0094ec5aab2 | 48cc8cbfc45dce7a5cacddcb835d938786100f2f | https://github.com/toumorokoshi/deepmerge/commit/98ec8c11a712d7791877cb3171eab0094ec5aab2 | https://github.com/toumorokoshi/deepmerge | deepmerge.merger | [
"Merger"
] | 6 | 1 | 2e8c626b03444801 | toumorokoshi/deepmerge@98ec8c11a#Merger | python | 2026-08-18 | goldset/0.1 | 1 | |
websocket-client/websocket-client | ABNF | fix tests for new ABNF mask_value variable name | function | docstring | ABNF frame class.
See http://tools.ietf.org/html/rfc5234
and http://tools.ietf.org/html/rfc6455#section-5.2 | class ABNF:
"""
ABNF frame class.
See http://tools.ietf.org/html/rfc5234
and http://tools.ietf.org/html/rfc6455#section-5.2
"""
# operation code values.
OPCODE_CONT = 0x0
OPCODE_TEXT = 0x1
OPCODE_BINARY = 0x2
OPCODE_CLOSE = 0x8
OPCODE_PING = 0x9
OPCODE_PONG = 0xA
# ... | class ABNF:
"""
ABNF frame class.
See http://tools.ietf.org/html/rfc5234
and http://tools.ietf.org/html/rfc6455#section-5.2
"""
# operation code values.
OPCODE_CONT = 0x0
OPCODE_TEXT = 0x1
OPCODE_BINARY = 0x2
OPCODE_CLOSE = 0x8
OPCODE_PING = 0x9
OPCODE_PONG = 0xA
# ... | websocket/tests/test_abnf.py | [
"websocket/tests/test_abnf.py::ABNFTest::testFormat"
] | 2023-12-03 | 2023-12-03 | Apache-2.0 | LICENSE | 811aa84f483f4eecd310844bab47b26601e4bcae | 9b51f7327d6dce01cce3dddc8e59f60f2a84189d | https://github.com/websocket-client/websocket-client/commit/811aa84f483f4eecd310844bab47b26601e4bcae | https://github.com/websocket-client/websocket-client | websocket._abnf | [
"ABNF"
] | 2 | 1 | 2a62cc570e95608c | websocket-client/websocket-client@811aa84f4#ABNF | python | 2026-08-18 | goldset/0.1 | 1 | |
allo-media/text2num | [DE] fix hundred addition | file | commit | [DE] fix hundred addition | # MIT License
# Copyright (c) 2018-2019 Groupe Allo-Media
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify... | # MIT License
# Copyright (c) 2018-2019 Groupe Allo-Media
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify... | tests/test_text_to_num_de.py | [
"tests/test_text_to_num_de.py::TestTextToNumDE::test_text2num_hundred_addition"
] | 2023-11-24 | 2023-11-23 | MIT | LICENSE | 079ea8cee51972aa98c0d8d7c14b11723d61deb3 | 7fea5d1deef15f2119c6236954fa9bd6d2dd2f58 | https://github.com/allo-media/text2num/commit/079ea8cee51972aa98c0d8d7c14b11723d61deb3 | https://github.com/allo-media/text2num | text_to_num.parsers | [
"WordStreamValueParserGerman"
] | 2 | 1 | 7c3d5625a66ea398 | allo-media/text2num@079ea8cee#text_to_num/parsers.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
geomet/geomet | esri: Fix geojson to esrijson conversion with custom SRID | file | commit | esri: Fix geojson to esrijson conversion with custom SRID | # Copyright 2013 Lars Butler & individual contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | # Copyright 2013 Lars Butler & individual contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | geomet/tests/esri_test.py | [
"geomet/tests/esri_test.py::TestGeoJSONtoEsriJSONCustomSRID::test_dumps_to_esrijson_multipoint_custom_srid"
] | 2023-11-12 | 2023-11-09 | Apache-2.0 | LICENSE | 6c8493d80743fc5b430a64b1b7f76389d70a877d | f4def96884c3c5f36fc9be98bc5e351e4aa5a3a6 | https://github.com/geomet/geomet/commit/6c8493d80743fc5b430a64b1b7f76389d70a877d | https://github.com/geomet/geomet | geomet.esri | [
"_dump_geojson_multipoint",
"_dump_geojson_point",
"_dump_geojson_polygon",
"_dump_geojson_polyline"
] | 12 | 1 | 880df8b1f59a96a3 | geomet/geomet@6c8493d80#geomet/esri.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
mahmoud/boltons | OneToOne | fix OneToOne.update behavior with empty iterables | function | docstring | Implements a one-to-one mapping dictionary. In addition to
inheriting from and behaving exactly like the builtin
:class:`dict`, all values are automatically added as keys on a
reverse mapping, available as the `inv` attribute. This
arrangement keeps key and value namespaces distinct.
Basic operations are intuitive:
O... | class OneToOne(dict):
"""Implements a one-to-one mapping dictionary. In addition to
inheriting from and behaving exactly like the builtin
:class:`dict`, all values are automatically added as keys on a
reverse mapping, available as the `inv` attribute. This
arrangement keeps key and value namespaces ... | class OneToOne(dict):
"""Implements a one-to-one mapping dictionary. In addition to
inheriting from and behaving exactly like the builtin
:class:`dict`, all values are automatically added as keys on a
reverse mapping, available as the `inv` attribute. This
arrangement keeps key and value namespaces ... | tests/test_dictutils.py | [
"tests/test_dictutils.py::test_one_to_one"
] | 2023-11-02 | 2023-11-01 | BSD-2-Clause | LICENSE | 6cac49ce4eba506a3582e8089bcc347c6b2fa70f | 985df86bbf511b244ce6acf7a9c3b8a0d09d0fb3 | https://github.com/mahmoud/boltons/commit/6cac49ce4eba506a3582e8089bcc347c6b2fa70f | https://github.com/mahmoud/boltons | boltons.dictutils | [
"OneToOne"
] | 1 | 1 | c77702065b99dcf9 | mahmoud/boltons@6cac49ce4#OneToOne | python | 2026-08-18 | goldset/0.1 | 1 | |
celery/billiard | fix(co_positions): resolve issue caused by absence `co_positions` (#395) | file | commit | fix(co_positions): resolve issue caused by absence `co_positions` (#395) | import sys
import traceback
__all__ = ['ExceptionInfo', 'Traceback']
DEFAULT_MAX_FRAMES = sys.getrecursionlimit() // 8
class _Code:
def __init__(self, code):
self.co_filename = code.co_filename
self.co_name = code.co_name
self.co_argcount = code.co_argcount
self.co_cellvars = ()... | import sys
import traceback
__all__ = ['ExceptionInfo', 'Traceback']
DEFAULT_MAX_FRAMES = sys.getrecursionlimit() // 8
class _Code:
def __init__(self, code):
self.co_filename = code.co_filename
self.co_name = code.co_name
self.co_argcount = code.co_argcount
self.co_cellvars = ()... | t/unit/test_einfo.py | [
"t/unit/test_einfo.py::test_object_co_positions"
] | 2023-10-29 | 2023-08-04 | BSD-3-Clause | LICENSE.txt | 17037e55c3bec0309d9ff008b76a8296b2da43e3 | 32e51b50aa3e6eaec597f5587c41951376554066 | https://github.com/celery/billiard/commit/17037e55c3bec0309d9ff008b76a8296b2da43e3 | https://github.com/celery/billiard | billiard.einfo | [
"_Frame",
"_Object",
"_Truncated"
] | 25 | 1 | 9f1b7671c37d7352 | celery/billiard@17037e55c#billiard/einfo.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
aws/aws-lambda-builders | SubprocessBundler | fix: streaming stderr from subprocess started by lambda-builders (#563) | function | docstring | Wrapper around the Bundler command line utility, encapsulating
execution results. | class SubprocessBundler(object):
"""
Wrapper around the Bundler command line utility, encapsulating
execution results.
"""
def __init__(self, osutils, bundler_exe=None):
self.osutils = osutils
if bundler_exe is None:
if osutils.is_windows():
bundler_exe =... | class SubprocessBundler(object):
"""
Wrapper around the Bundler command line utility, encapsulating
execution results.
"""
def __init__(self, osutils, bundler_exe=None):
self.osutils = osutils
if bundler_exe is None:
if osutils.is_windows():
bundler_exe =... | tests/unit/workflows/ruby_bundler/test_bundler.py | [
"tests/unit/workflows/ruby_bundler/test_bundler.py::TestSubprocessBundler::test_raises_BundlerExecutionError_with_both_stderr_and_stdout_text_if_retcode_is_not_0"
] | 2023-10-27 | 2023-10-25 | Apache-2.0 | LICENSE | awslabs/aws-lambda-builders | 934b2be6e492e973f8f72889bf9de668f75930f5 | ce114ae88617827614ad0b838c89277383853985 | https://github.com/aws/aws-lambda-builders/commit/934b2be6e492e973f8f72889bf9de668f75930f5 | https://github.com/aws/aws-lambda-builders | aws_lambda_builders.workflows.ruby_bundler.bundler | [
"SubprocessBundler"
] | 18 | 1 | 1f8d63d2352dfca3 | aws/aws-lambda-builders@934b2be6e#SubprocessBundler | python | 2026-08-18 | goldset/0.1 | 1 |
t3rn0/ast-comments | fix: ignore empty lines when searching for not-comment line | file | commit | fix: ignore empty lines when searching for not-comment line | import ast
import re
import sys
import tokenize
import typing as _t
from ast import * # noqa: F401,F403
from collections.abc import Iterable
class Comment(ast.AST):
value: str
inline: bool
_fields = (
"value",
"inline",
)
_CONTAINER_ATTRS = ["body", "handlers", "orelse", "finalbody"... | import ast
import re
import sys
import tokenize
import typing as _t
from ast import * # noqa: F401,F403
from collections.abc import Iterable
class Comment(ast.AST):
value: str
inline: bool
_fields = (
"value",
"inline",
)
_CONTAINER_ATTRS = ["body", "handlers", "orelse", "finalbody"... | test_parse.py | [
"test_parse.py::test_empty_line_not_affect_comment_placement"
] | 2023-10-25 | 2023-10-15 | MIT | LICENSE | f9b0221ae547aef84c11bd99785d2ff05104cbd9 | 61690928820e7446a4b76dd65d53fd88727cf0ce | https://github.com/t3rn0/ast-comments/commit/f9b0221ae547aef84c11bd99785d2ff05104cbd9 | https://github.com/t3rn0/ast-comments | ast_comments | [
"_get_first_line_not_comment"
] | 2 | 1 | daef96e607c66124 | t3rn0/ast-comments@f9b0221ae#ast_comments.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
mherrmann/gitignore_parser | Fix: do not resolve symlinks | file | commit | Fix: do not resolve symlinks | import collections
import os
import re
from os.path import dirname
from pathlib import Path
from typing import Reversible, Union
def handle_negation(file_path, rules: Reversible["IgnoreRule"]):
for rule in reversed(rules):
if rule.match(file_path):
return not rule.negation
return False
de... | import collections
import os
import re
from os.path import abspath, dirname
from pathlib import Path
from typing import Reversible, Union
def handle_negation(file_path, rules: Reversible["IgnoreRule"]):
for rule in reversed(rules):
if rule.match(file_path):
return not rule.negation
return ... | tests.py | [
"tests.py::Test::test_symlink_to_another_directory"
] | 2023-10-05 | 2023-10-04 | MIT | LICENSE | 721f804b0c448dfd7f3266879d29037f89a92c4a | 37ecfd558c4baf573f9df1efc61d5c3414b38764 | https://github.com/mherrmann/gitignore_parser/commit/721f804b0c448dfd7f3266879d29037f89a92c4a | https://github.com/mherrmann/gitignore_parser | gitignore_parser | [
"IgnoreRule",
"rule_from_pattern"
] | 18 | 1 | 151d27d7ec60dc4b | mherrmann/gitignore_parser@721f804b0#gitignore_parser.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
mherrmann/gitignore_parser | rule_from_pattern | Fix multi-asterisks that fall outside of the special cases | function | docstring | Take a .gitignore match pattern, such as "*.py[cod]" or "**/*.bak",
and return an IgnoreRule suitable for matching against files and
directories. Patterns which do not match files, such as comments
and blank lines, will return None.
Because git allows for nested .gitignore files, a base_path value
is required for corre... | def rule_from_pattern(pattern, base_path=None, source=None):
"""
Take a .gitignore match pattern, such as "*.py[cod]" or "**/*.bak",
and return an IgnoreRule suitable for matching against files and
directories. Patterns which do not match files, such as comments
and blank lines, will return None.
... | def rule_from_pattern(pattern, base_path=None, source=None):
"""
Take a .gitignore match pattern, such as "*.py[cod]" or "**/*.bak",
and return an IgnoreRule suitable for matching against files and
directories. Patterns which do not match files, such as comments
and blank lines, will return None.
... | tests.py | [
"tests.py::Test::test_double_asterisk_without_slashes_handled_like_single_asterisk"
] | 2023-10-04 | 2023-10-04 | MIT | LICENSE | a872df78d3ef481ff1f453b0419ad67fac82aa02 | cdf80b7b1e2efc15db3cbd2feb3a28775a76208e | https://github.com/mherrmann/gitignore_parser/commit/a872df78d3ef481ff1f453b0419ad67fac82aa02 | https://github.com/mherrmann/gitignore_parser | gitignore_parser | [
"rule_from_pattern"
] | 15 | 1 | 33c1bb996a1f4fa2 | mherrmann/gitignore_parser@a872df78d#rule_from_pattern | python | 2026-08-18 | goldset/0.1 | 1 | |
mherrmann/gitignore_parser | fnmatch_pathname_to_regex | Fix lack of implicit anchoring of patterns to directory separators | function | docstring | Implements fnmatch style-behavior, as though with FNM_PATHNAME flagged;
the path separator will not match shell-style '*' and '.' wildcards. | def fnmatch_pathname_to_regex(
pattern, directory_only: bool, negation: bool, anchored: bool = False
):
"""
Implements fnmatch style-behavior, as though with FNM_PATHNAME flagged;
the path separator will not match shell-style '*' and '.' wildcards.
"""
i, n = 0, len(pattern)
seps = [re.esca... | def fnmatch_pathname_to_regex(
pattern, directory_only: bool, negation: bool, anchored: bool = False
):
"""
Implements fnmatch style-behavior, as though with FNM_PATHNAME flagged;
the path separator will not match shell-style '*' and '.' wildcards.
"""
i, n = 0, len(pattern)
seps = [re.esca... | tests.py | [
"tests.py::Test::test_incomplete_filename"
] | 2023-10-04 | 2023-10-03 | MIT | LICENSE | cdf80b7b1e2efc15db3cbd2feb3a28775a76208e | 8ea4444243e79aa6a359d58b9e9196c15ae6d2d8 | https://github.com/mherrmann/gitignore_parser/commit/cdf80b7b1e2efc15db3cbd2feb3a28775a76208e | https://github.com/mherrmann/gitignore_parser | gitignore_parser | [
"fnmatch_pathname_to_regex"
] | 4 | 1 | 52d54b58932c2749 | mherrmann/gitignore_parser@cdf80b7b1#fnmatch_pathname_to_regex | python | 2026-08-18 | goldset/0.1 | 1 | |
mherrmann/gitignore_parser | rule_from_pattern | Fix patterns with leading exclamation marks (#54) | function | docstring | Take a .gitignore match pattern, such as "*.py[cod]" or "**/*.bak",
and return an IgnoreRule suitable for matching against files and
directories. Patterns which do not match files, such as comments
and blank lines, will return None.
Because git allows for nested .gitignore files, a base_path value
is required for corre... | def rule_from_pattern(pattern, base_path=None, source=None):
"""
Take a .gitignore match pattern, such as "*.py[cod]" or "**/*.bak",
and return an IgnoreRule suitable for matching against files and
directories. Patterns which do not match files, such as comments
and blank lines, will return None.
... | def rule_from_pattern(pattern, base_path=None, source=None):
"""
Take a .gitignore match pattern, such as "*.py[cod]" or "**/*.bak",
and return an IgnoreRule suitable for matching against files and
directories. Patterns which do not match files, such as comments
and blank lines, will return None.
... | tests.py | [
"tests.py::Test::test_literal_exclamation_mark"
] | 2023-10-03 | 2023-10-03 | MIT | LICENSE | 1040aa5473224b1b53705ce158b2b56f9f909328 | d45a0858926f8db2fe627fea9e99d794d264dabf | https://github.com/mherrmann/gitignore_parser/commit/1040aa5473224b1b53705ce158b2b56f9f909328 | https://github.com/mherrmann/gitignore_parser | gitignore_parser | [
"rule_from_pattern"
] | 5 | 1 | 0c0bd906f07400ce | mherrmann/gitignore_parser@1040aa547#rule_from_pattern | python | 2026-08-18 | goldset/0.1 | 1 | |
mherrmann/gitignore_parser | fnmatch_pathname_to_regex | Fix pattern with slash in range (#55) | function | docstring | Implements fnmatch style-behavior, as though with FNM_PATHNAME flagged;
the path separator will not match shell-style '*' and '.' wildcards. | def fnmatch_pathname_to_regex(
pattern, directory_only: bool, negation: bool, anchored: bool = False
):
"""
Implements fnmatch style-behavior, as though with FNM_PATHNAME flagged;
the path separator will not match shell-style '*' and '.' wildcards.
"""
i, n = 0, len(pattern)
seps = [re.esca... | def fnmatch_pathname_to_regex(
pattern, directory_only: bool, negation: bool, anchored: bool = False
):
"""
Implements fnmatch style-behavior, as though with FNM_PATHNAME flagged;
the path separator will not match shell-style '*' and '.' wildcards.
"""
i, n = 0, len(pattern)
seps = [re.esca... | tests.py | [
"tests.py::Test::test_slash_in_range_does_not_match_dirs"
] | 2023-10-03 | 2023-08-15 | MIT | LICENSE | d45a0858926f8db2fe627fea9e99d794d264dabf | ffbfd79ab4b96f88cd78322a91b6809ba8d97173 | https://github.com/mherrmann/gitignore_parser/commit/d45a0858926f8db2fe627fea9e99d794d264dabf | https://github.com/mherrmann/gitignore_parser | gitignore_parser | [
"fnmatch_pathname_to_regex"
] | 2 | 1 | 4492b68b920e0e12 | mherrmann/gitignore_parser@d45a08589#fnmatch_pathname_to_regex | python | 2026-08-18 | goldset/0.1 | 1 | |
kayak/pypika | Fix: Allow the usage of `frozenset` in the `isin(...)` and `notin(...)` functions (#744) | file | commit | Fix: Allow the usage of `frozenset` in the `isin(...)` and `notin(...)` functions (#744) | import inspect
import re
import uuid
from datetime import date
from enum import Enum
from typing import TYPE_CHECKING, Any, Iterable, Iterator, List, Optional, Sequence, Set, Type, TypeVar, Union
from pypika.enums import Arithmetic, Boolean, Comparator, Dialects, Equality, JSONOperators, Matching, Order
from pypika.ut... | import inspect
import re
import uuid
from datetime import date
from enum import Enum
from typing import TYPE_CHECKING, Any, Iterable, Iterator, List, Optional, Sequence, Set, Type, TypeVar, Union
from pypika.enums import Arithmetic, Boolean, Comparator, Dialects, Equality, JSONOperators, Matching, Order
from pypika.ut... | pypika/tests/test_criterions.py | [
"pypika/tests/test_criterions.py::IsInTests::test__function_isin"
] | 2023-09-26 | 2023-09-26 | Apache-2.0 | LICENSE.txt | 351981a695733668e122f2ded70a38e2dfb2320c | 5087884bba6e09bbc79c3c9228caf426d79e890b | https://github.com/kayak/pypika/commit/351981a695733668e122f2ded70a38e2dfb2320c | https://github.com/kayak/pypika | pypika.terms | [
"Term"
] | 6 | 1 | 5c69ae11b34f138b | kayak/pypika@351981a69#pypika/terms.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
t3rn0/ast-comments | fix: spaces at the end of a comment does not change its inlined value | file | commit | fix: spaces at the end of a comment does not change its inlined value | import ast
import sys
import tokenize
from ast import * # noqa: F401,F403
from collections.abc import Iterable
from typing import Dict, List, Tuple, Union
class Comment(ast.AST):
value: str
inline: bool
_fields = (
"value",
"inline",
)
_CONTAINER_ATTRS = ["body", "handlers", "orelse... | import ast
import sys
import tokenize
from ast import * # noqa: F401,F403
from collections.abc import Iterable
from typing import Dict, List, Tuple, Union
class Comment(ast.AST):
value: str
inline: bool
_fields = (
"value",
"inline",
)
_CONTAINER_ATTRS = ["body", "handlers", "orelse... | test_parse.py | [
"test_parse.py::test_comment_ends_with_space"
] | 2023-09-23 | 2023-06-24 | MIT | LICENSE | ed488312a613e16d435ae2c614e50df4000bb1a1 | 9db725c22bade2680147d760bfc2ff6e75d9a5f5 | https://github.com/t3rn0/ast-comments/commit/ed488312a613e16d435ae2c614e50df4000bb1a1 | https://github.com/t3rn0/ast-comments | ast_comments | [
"_enrich"
] | 2 | 1 | 8fd223012317ad44 | t3rn0/ast-comments@ed488312a#ast_comments.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kayak/pypika | fix(terms): fixed EmptyCriterion bug with ComplexCriterion (#732) | file | commit | fix(terms): fixed EmptyCriterion bug with ComplexCriterion (#732) | import inspect
import re
import uuid
from datetime import date
from enum import Enum
from typing import TYPE_CHECKING, Any, Iterable, Iterator, List, Optional, Sequence, Set, Type, TypeVar, Union
from pypika.enums import Arithmetic, Boolean, Comparator, Dialects, Equality, JSONOperators, Matching, Order
from pypika.ut... | import inspect
import re
import uuid
from datetime import date
from enum import Enum
from typing import TYPE_CHECKING, Any, Iterable, Iterator, List, Optional, Sequence, Set, Type, TypeVar, Union
from pypika.enums import Arithmetic, Boolean, Comparator, Dialects, Equality, JSONOperators, Matching, Order
from pypika.ut... | pypika/tests/test_criterions.py | [
"pypika/tests/test_criterions.py::EmptyCriterionTests::test_different_operations_with_empty_criterion"
] | 2023-09-22 | 2023-09-22 | Apache-2.0 | LICENSE.txt | 12a8f336e78382817fcddd3c0812da4fc8977bfc | ea9cc5b222dd9f056d072ceebce25f5980d4c2dd | https://github.com/kayak/pypika/commit/12a8f336e78382817fcddd3c0812da4fc8977bfc | https://github.com/kayak/pypika | pypika.terms | [
"Criterion",
"EmptyCriterion"
] | 9 | 1 | f2f8f24411b29dd3 | kayak/pypika@12a8f336e#pypika/terms.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
python-validators/validators | fix: Valid URLs failing validation - query and fragment parts (#297) | file | commit | fix: Valid URLs failing validation - query and fragment parts (#297) | """URL."""
# standard
from functools import lru_cache
import re
from urllib.parse import unquote, urlsplit
# local
from .hostname import hostname
from .utils import validator
@lru_cache
def _username_regex():
return re.compile(
# dot-atom
r"(^[-!#$%&'*+/=?^_`{}|~0-9A-Z]+(\.[-!#$%&'*+/=?^_`{}|~0-... | """URL."""
# standard
from functools import lru_cache
import re
from urllib.parse import parse_qs, unquote, urlsplit
# local
from .hostname import hostname
from .utils import validator
@lru_cache
def _username_regex():
return re.compile(
# dot-atom
r"(^[-!#$%&'*+/=?^_`{}|~0-9A-Z]+(\.[-!#$%&'*+/=... | tests/test_url.py | [
"tests/test_url.py::test_returns_true_on_valid_url[https://www.foo.com/bar#/baz/test]"
] | 2023-09-17 | 2023-09-02 | MIT | LICENSE.txt | 960b48b8a548fa5b104f1999ef0c18923a232c52 | 71b40bd54ecf88de792b15acc831801903cc6bc0 | https://github.com/python-validators/validators/commit/960b48b8a548fa5b104f1999ef0c18923a232c52 | https://github.com/python-validators/validators | validators.url | [
"_validate_optionals",
"url"
] | 22 | 1 | 44f504539f1a9e4a | python-validators/validators@960b48b8a#src/validators/url.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
da4089/simplefix | Fix #58: Checksum is not always 3 ASCII characters | file | commit | Fix #58: Checksum is not always 3 ASCII characters | #! /usr/bin/env python
########################################################################
# SimpleFIX
# Copyright (C) 2016-2023, David Arnold.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the S... | #! /usr/bin/env python
########################################################################
# SimpleFIX
# Copyright (C) 2016-2023, David Arnold.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the S... | test/test_message.py | [
"test/test_message.py::MessageTests::test_cooked_checksum"
] | 2023-09-12 | 2023-09-08 | MIT | LICENSE | 0aef214f6c13ba92e78fc35366ea3a051aeb1a6d | e46841b1514accc6d772a385800d7a8dabd0b43b | https://github.com/da4089/simplefix/commit/0aef214f6c13ba92e78fc35366ea3a051aeb1a6d | https://github.com/da4089/simplefix | simplefix.message | [
"FixMessage"
] | 2 | 1 | 6fbab365e1f57722 | da4089/simplefix@0aef214f6#simplefix/message.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
erezsh/runtype | Fix: Added support for typing.Mutable* and more | file | commit | Fix: Added support for typing.Mutable* and more | """
Python Types - contains an implementation of a Runtype type system that is parallel to the Python type system.
"""
import types
from abc import abstractmethod, ABC
from contextlib import suppress
import collections
from collections import abc
import sys
import typing
from datetime import datetime, date, time, time... | """
Python Types - contains an implementation of a Runtype type system that is parallel to the Python type system.
"""
import types
from abc import abstractmethod, ABC
from contextlib import suppress
import collections
from collections import abc
import sys
import typing
from datetime import datetime, date, time, time... | tests/test_basic.py | [
"tests/test_basic.py::TestIsa::test_issubclass_mutable"
] | 2023-09-12 | 2023-09-07 | MIT | LICENSE | e42c0a8db3b7dae1a5774260dc248c8154d8b93a | 49b4abfa594ffee264a67ca48c70c5e40bb6e2b5 | https://github.com/erezsh/runtype/commit/e42c0a8db3b7dae1a5774260dc248c8154d8b93a | https://github.com/erezsh/runtype | runtype.pytypes | [
"TypeCaster",
"_String"
] | 24 | 1 | 5d96a221dd5912eb | erezsh/runtype@e42c0a8db#runtype/pytypes.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
solaluset/i18nice | fix bug when static refs aren't expanded | file | commit | fix bug when static refs aren't expanded | import os.path
from typing import Type, Iterable, Optional, List
from . import config
from .loaders import Loader, I18nFileLoadError
from . import translations, formatters
loaders = {}
PLURALS = {"zero", "one", "few", "many"}
def register_loader(loader_class: Type[Loader], supported_extensions: Iterable[str]):
... | import os.path
from typing import Type, Iterable, Optional, List
from . import config
from .loaders import Loader, I18nFileLoadError
from . import translations, formatters
loaders = {}
PLURALS = {"zero", "one", "few", "many"}
def register_loader(loader_class: Type[Loader], supported_extensions: Iterable[str]):
... | i18n/tests/loader_tests.py | [
"i18n/tests/loader_tests.py::TestFileLoader::test_load_everything"
] | 2023-08-11 | 2023-08-11 | MIT | LICENSE | a23a5eefed57a87e651a075332acec202c60c3d6 | 292d9d633d2781798a7f752382c3884dbf334674 | https://github.com/solaluset/i18nice/commit/a23a5eefed57a87e651a075332acec202c60c3d6 | https://github.com/solaluset/i18nice | i18n.resource_loader | [
"recursive_load_everything"
] | 3 | 1 | 50c3a1a20d94cc8d | solaluset/i18nice@a23a5eefe#i18n/resource_loader.py | python | 2026-08-18 | goldset/0.1 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.