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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
asottile/tokenize-rt | fix token offsets following multiline string | file | commit | fix token offsets following multiline string | import argparse
import io
import keyword
import re
import sys
import tokenize
from typing import Generator
from typing import Iterable
from typing import List
from typing import NamedTuple
from typing import Optional
from typing import Pattern
from typing import Sequence
from typing import Tuple
# this is a performanc... | import argparse
import io
import keyword
import re
import sys
import tokenize
from typing import Generator
from typing import Iterable
from typing import List
from typing import NamedTuple
from typing import Optional
from typing import Pattern
from typing import Sequence
from typing import Tuple
# this is a performanc... | tests/tokenize_rt_test.py | [
"tests/tokenize_rt_test.py::test_src_to_tokens_multiline_string"
] | 2021-10-21 | 2021-10-21 | MIT | LICENSE | 0c1b2131766c88619923ed392875d1f85eb97835 | cc52eed143799d7b3d3b300aa7a9b0db10d6ed95 | https://github.com/asottile/tokenize-rt/commit/0c1b2131766c88619923ed392875d1f85eb97835 | https://github.com/asottile/tokenize-rt | tokenize_rt | [
"src_to_tokens"
] | 5 | 1 | e0b95c7d7d4eee6b | asottile/tokenize-rt@0c1b21317#tokenize_rt.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
asottile/tokenize-rt | fix position of empty NEWLINE at no-eol eof | file | commit | fix position of empty NEWLINE at no-eol eof | import argparse
import io
import keyword
import re
import sys
import tokenize
from typing import Generator
from typing import Iterable
from typing import List
from typing import NamedTuple
from typing import Optional
from typing import Pattern
from typing import Sequence
from typing import Tuple
# this is a performanc... | import argparse
import io
import keyword
import re
import sys
import tokenize
from typing import Generator
from typing import Iterable
from typing import List
from typing import NamedTuple
from typing import Optional
from typing import Pattern
from typing import Sequence
from typing import Tuple
# this is a performanc... | tests/tokenize_rt_test.py | [
"tests/tokenize_rt_test.py::test_src_to_tokens_no_eol_eof"
] | 2021-10-21 | 2021-10-21 | MIT | LICENSE | 0d214dc28105c35d866e98212e9953221a652d19 | 7f89433be049d73e189a903485a93bdf3e56f1a0 | https://github.com/asottile/tokenize-rt/commit/0d214dc28105c35d866e98212e9953221a652d19 | https://github.com/asottile/tokenize-rt | tokenize_rt | [
"src_to_tokens"
] | 14 | 1 | 20a8147ed00206e8 | asottile/tokenize-rt@0d214dc28#tokenize_rt.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
asottile/tokenize-rt | fix UNIMPORTANT_WS offsets for implicit continuation | file | commit | fix UNIMPORTANT_WS offsets for implicit continuation | import argparse
import io
import keyword
import re
import sys
import tokenize
from typing import Generator
from typing import Iterable
from typing import List
from typing import NamedTuple
from typing import Optional
from typing import Pattern
from typing import Sequence
from typing import Tuple
# this is a performanc... | import argparse
import io
import keyword
import re
import sys
import tokenize
from typing import Generator
from typing import Iterable
from typing import List
from typing import NamedTuple
from typing import Optional
from typing import Pattern
from typing import Sequence
from typing import Tuple
# this is a performanc... | tests/tokenize_rt_test.py | [
"tests/tokenize_rt_test.py::test_src_to_tokens_implicit_continue"
] | 2021-10-21 | 2021-10-21 | MIT | LICENSE | 00b1b27f1b2c78bef19a76e3a6de68c6e3ac3381 | 92fa4712eea44db57b3b3543d0fde8bbe3bf0315 | https://github.com/asottile/tokenize-rt/commit/00b1b27f1b2c78bef19a76e3a6de68c6e3ac3381 | https://github.com/asottile/tokenize-rt | tokenize_rt | [
"src_to_tokens"
] | 4 | 1 | 773a25fe5574c2b7 | asottile/tokenize-rt@00b1b27f1#tokenize_rt.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
sarugaku/resolvelib | added extended test and applied PoC fix | file | commit | added extended test and applied PoC fix | import collections
import operator
from .providers import AbstractResolver
from .structs import DirectedGraph, IteratorMapping, build_iter_view
RequirementInformation = collections.namedtuple(
"RequirementInformation", ["requirement", "parent"]
)
class ResolverException(Exception):
"""A base class for all e... | import collections
import operator
from .providers import AbstractResolver
from .structs import DirectedGraph, IteratorMapping, build_iter_view
RequirementInformation = collections.namedtuple(
"RequirementInformation", ["requirement", "parent"]
)
class ResolverException(Exception):
"""A base class for all e... | tests/test_poc.py | [
"tests/test_poc.py::test_poc"
] | 2021-10-16 | 2021-10-11 | ISC | LICENSE | 8931c6dbc31dbddd075208d9ac607e27ec20ab39 | 62c56b587c69a42c8f006e032bbf17a63df54d45 | https://github.com/sarugaku/resolvelib/commit/8931c6dbc31dbddd075208d9ac607e27ec20ab39 | https://github.com/sarugaku/resolvelib | resolvelib.resolvers | [
"Resolution"
] | 18 | 1 | b2b257a409d3853c | sarugaku/resolvelib@8931c6dbc#src/resolvelib/resolvers.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
erezsh/runtype | Fix tuple validation (Issue #6) | file | commit | Fix tuple validation (Issue #6) | """
Python Types - contains an implementation of a Runtype type system that is parallel to the Python type system.
"""
from contextlib import suppress
import collections
from collections import abc
import sys
import typing
from datetime import datetime
from .base_types import AnyType, DataType, GenericType, ProductTy... | """
Python Types - contains an implementation of a Runtype type system that is parallel to the Python type system.
"""
from contextlib import suppress
import collections
from collections import abc
import sys
import typing
from datetime import datetime
from .base_types import AnyType, DataType, GenericType, ProductTy... | tests/test_basic.py | [
"tests/test_basic.py::TestIsa::test_basic"
] | 2021-10-09 | 2021-10-09 | MIT | LICENSE | b251aff31bcc249d901898f4e4c092c6a6c2f5a4 | 61a6f2f11390de053eb75247ec809fe642a53282 | https://github.com/erezsh/runtype/commit/b251aff31bcc249d901898f4e4c092c6a6c2f5a4 | https://github.com/erezsh/runtype | runtype.pytypes | [
"ProductType"
] | 6 | 1 | 19d21d8918bf657a | erezsh/runtype@b251aff31#runtype/pytypes.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
lark-parser/lark | Transformer_NonRecursive | Transformer_NonRecursive should respond as documented to a Discard exception being raised | function | docstring | Same as Transformer but non-recursive.
Like Transformer, it doesn't change the original tree.
Useful for huge trees. | class Transformer_NonRecursive(Transformer):
"""Same as Transformer but non-recursive.
Like Transformer, it doesn't change the original tree.
Useful for huge trees.
"""
def transform(self, tree):
# Tree to postfix
rev_postfix = []
q = [tree]
while q:
t ... | class Transformer_NonRecursive(Transformer):
"""Same as Transformer but non-recursive.
Like Transformer, it doesn't change the original tree.
Useful for huge trees.
"""
def transform(self, tree):
# Tree to postfix
rev_postfix = []
q = [tree]
while q:
t ... | tests/test_trees.py | [
"tests/test_trees.py::TestTrees::test_transformer_variants"
] | 2021-10-04 | 2021-09-24 | MIT | LICENSE | 50e789ab9d225cb2a5a07d4246473578f43cdf3d | 1f56497de8d90c6136dcda0ce71f4de3b298a07e | https://github.com/lark-parser/lark/commit/50e789ab9d225cb2a5a07d4246473578f43cdf3d | https://github.com/lark-parser/lark | lark.visitors | [
"Transformer_NonRecursive"
] | 10 | 1 | 6a8a9b799ac862e3 | lark-parser/lark@50e789ab9#Transformer_NonRecursive | python | 2026-08-18 | goldset/0.1 | 1 | |
erezsh/runtype | Fix: Constraint type now works with casting | file | commit | Fix: Constraint type now works with casting | """
Python Types - contains an implementation of a Runtype type system that is parallel to the Python type system.
"""
import collections
from collections import abc
import sys
import typing
from .base_types import AnyType, DataType, GenericType, ProductType, SumType, Type, PhantomType
py38 = sys.version_info >= (3,... | """
Python Types - contains an implementation of a Runtype type system that is parallel to the Python type system.
"""
import collections
from collections import abc
import sys
import typing
from .base_types import AnyType, DataType, GenericType, ProductType, SumType, Type, PhantomType
py38 = sys.version_info >= (3,... | tests/test_basic.py | [
"tests/test_basic.py::TestDataclass::test_typing"
] | 2021-09-24 | 2021-09-23 | MIT | LICENSE | 419041e9917e944132539e6c8a4b4bd574c5377d | 93fda03b9f1e8420e5f5356662619d540f423685 | https://github.com/erezsh/runtype/commit/419041e9917e944132539e6c8a4b4bd574c5377d | https://github.com/erezsh/runtype | runtype.pytypes | [
"Constraint"
] | 5 | 1 | c18f8273f6540e99 | erezsh/runtype@419041e99#runtype/pytypes.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
leapfrogonline/rstr | RstrBase | Fix a bug where setting end_range but not start_range would fail | function | docstring | Create random strings from a variety of alphabets.
The alphabets for printable(), uppercase(), lowercase(), digits(), and
punctuation() are equivalent to the constants by those same names in the
standard library string module.
nondigits() uses an alphabet of string.letters + string.punctuation
nonletters() uses an a... | class RstrBase(object):
'''Create random strings from a variety of alphabets.
The alphabets for printable(), uppercase(), lowercase(), digits(), and
punctuation() are equivalent to the constants by those same names in the
standard library string module.
nondigits() uses an alphabet of string.lette... | class RstrBase(object):
'''Create random strings from a variety of alphabets.
The alphabets for printable(), uppercase(), lowercase(), digits(), and
punctuation() are equivalent to the constants by those same names in the
standard library string module.
nondigits() uses an alphabet of string.lette... | rstr/tests/test_rstr.py | [
"rstr/tests/test_rstr.py::TestRstr::test_end_range_no_start_range"
] | 2021-09-18 | 2021-08-01 | BSD-3-Clause | LICENSE.txt | a7951e352e84e4c53639684aca6e3dbee73ef36d | b2253a2bc900df3079498bbc10ff0e33f608347a | https://github.com/leapfrogonline/rstr/commit/a7951e352e84e4c53639684aca6e3dbee73ef36d | https://github.com/leapfrogonline/rstr | rstr.rstr_base | [
"RstrBase"
] | 2 | 1 | 47bdc35269add804 | leapfrogonline/rstr@a7951e352#RstrBase | python | 2026-08-18 | goldset/0.1 | 1 | |
joke2k/django-environ | Fix db_url_config to work the same for all postgres-like schemes | file | commit | Fix db_url_config to work the same for all postgres-like schemes | # This file is part of the django-environ.
#
# Copyright (c) 2021, Serghei Iakovlev <egrep@protonmail.ch>
# Copyright (c) 2013-2021, Daniele Faraglia <daniele.faraglia@gmail.com>
#
# For the full copyright and license information, please view
# the LICENSE.txt file that was distributed with this source code.
"""
Djang... | # This file is part of the django-environ.
#
# Copyright (c) 2021, Serghei Iakovlev <egrep@protonmail.ch>
# Copyright (c) 2013-2021, Daniele Faraglia <daniele.faraglia@gmail.com>
#
# For the full copyright and license information, please view
# the LICENSE.txt file that was distributed with this source code.
"""
Djang... | tests/test_db.py | [
"tests/test_db.py::test_postgres_like_scheme_parsing[postgresql]"
] | 2021-09-01 | 2021-09-01 | MIT | LICENSE.txt | f8ba4f6c62bca74d91ecfcae1decef681ef9c9a9 | 3e02a644584e6dda44b2fa9176ad4c759d169916 | https://github.com/joke2k/django-environ/commit/f8ba4f6c62bca74d91ecfcae1decef681ef9c9a9 | https://github.com/joke2k/django-environ | environ.environ | [
"Env"
] | 4 | 1 | dbd41592be038427 | joke2k/django-environ@f8ba4f6c6#environ/environ.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kayak/pypika | MySQLQuery | fix: mysql create/drop tables | function | docstring | Defines a query class for use with MySQL. | class MySQLQuery(Query):
"""
Defines a query class for use with MySQL.
"""
@classmethod
def _builder(cls, **kwargs: Any) -> "MySQLQueryBuilder":
return MySQLQueryBuilder(**kwargs)
@classmethod
def load(cls, fp: str) -> "MySQLLoadQueryBuilder":
return MySQLLoadQueryBuilder()... | class MySQLQuery(Query):
"""
Defines a query class for use with MySQL.
"""
@classmethod
def _builder(cls, **kwargs: Any) -> "MySQLQueryBuilder":
return MySQLQueryBuilder(**kwargs)
@classmethod
def load(cls, fp: str) -> "MySQLLoadQueryBuilder":
return MySQLLoadQueryBuilder()... | pypika/tests/dialects/test_mysql.py | [
"pypika/tests/dialects/test_mysql.py::TableTests::test_create_table"
] | 2021-08-26 | 2021-07-21 | Apache-2.0 | LICENSE.txt | 71ea7c39aaea395ce9c655a3bb34039f2e20e921 | 920a4cdd99cbcd85d55af2d8d2c601d8bef8bfc2 | https://github.com/kayak/pypika/commit/71ea7c39aaea395ce9c655a3bb34039f2e20e921 | https://github.com/kayak/pypika | pypika.dialects | [
"MySQLQuery"
] | 12 | 1 | 68771ea302360a97 | kayak/pypika@71ea7c39a#MySQLQuery | python | 2026-08-18 | goldset/0.1 | 1 | |
wbond/asn1crypto | _parse | Fix indefinite-length parsing | function | docstring | Parses a byte string into component parts
:param encoded_data:
A byte string that contains BER-encoded data
:param data_len:
The integer length of the encoded data
:param pointer:
The index in the byte string to parse from
:param lengths_only:
A boolean to cause the call to return a 2-element tuple ... | def _parse(encoded_data, data_len, pointer=0, lengths_only=False, depth=0):
"""
Parses a byte string into component parts
:param encoded_data:
A byte string that contains BER-encoded data
:param data_len:
The integer length of the encoded data
:param pointer:
The index in ... | def _parse(encoded_data, data_len, pointer=0, lengths_only=False, depth=0):
"""
Parses a byte string into component parts
:param encoded_data:
A byte string that contains BER-encoded data
:param data_len:
The integer length of the encoded data
:param pointer:
The index in ... | tests/test_parser.py | [
"tests/test_parser.py::ParserTests::test_parser_indef_long_zero_length"
] | 2021-08-14 | 2021-08-14 | MIT | LICENSE | 65554db7c534c4470e7ed9a03d7b0119783a3edd | d9866902fc4aea3ef38df3765f5ab91f7e7b8af7 | https://github.com/wbond/asn1crypto/commit/65554db7c534c4470e7ed9a03d7b0119783a3edd | https://github.com/wbond/asn1crypto | asn1crypto.parser | [
"_parse"
] | 7 | 1 | e140918aa34f41bd | wbond/asn1crypto@65554db7c#_parse | python | 2026-08-18 | goldset/0.1 | 1 | |
bwhmather/ssort | _get_bindings_for_named_expr | Fix support for recursive walrus bindings | function | docstring | ..code:: python
NamedExpr(expr target, expr value) | def _get_bindings_for_named_expr(node):
"""
..code:: python
NamedExpr(expr target, expr value)
"""
yield from _flatten_target(node.target)
yield from get_bindings(node.value) | def _get_bindings_for_named_expr(node):
"""
..code:: python
NamedExpr(expr target, expr value)
"""
yield from get_bindings(node.value)
yield from _flatten_target(node.target) | tests/test_bindings.py | [
"tests/test_bindings.py::test_named_expr_bindings_recursive"
] | 2021-08-08 | 2021-08-08 | MIT | LICENSE | 52bd7de17ee581ae3a8bc20095346fd56f4bd3c6 | 89b8f33d119b6fb93b03d64330237349ad2e3ab6 | https://github.com/bwhmather/ssort/commit/52bd7de17ee581ae3a8bc20095346fd56f4bd3c6 | https://github.com/bwhmather/ssort | ssort._bindings | [
"_get_bindings_for_named_expr"
] | 2 | 1 | bf1f915fc37d5771 | bwhmather/ssort@52bd7de17#_get_bindings_for_named_expr | python | 2026-08-18 | goldset/0.1 | 1 | |
pallets/markupsafe | Markup | raise error on missing single placeholder | function | docstring | A string that is ready to be safely inserted into an HTML or XML
document, either because it was escaped or because it was marked
safe.
Passing an object to the constructor converts it to text and wraps
it to mark it safe without escaping. To escape the text, use the
:meth:`escape` class method instead.
This implemen... | class Markup(str):
"""A string that is ready to be safely inserted into an HTML or XML
document, either because it was escaped or because it was marked
safe.
Passing an object to the constructor converts it to text and wraps
it to mark it safe without escaping. To escape the text, use the
:meth... | class Markup(str):
"""A string that is ready to be safely inserted into an HTML or XML
document, either because it was escaped or because it was marked
safe.
Passing an object to the constructor converts it to text and wraps
it to mark it safe without escaping. To escape the text, use the
:meth... | tests/test_markupsafe.py | [
"tests/test_markupsafe.py::test_missing_interpol[foo]"
] | 2021-08-05 | 2021-08-03 | BSD-3-Clause | LICENSE.txt | 3d809aed7b7b6af5c371bab68666857087335af9 | 37c44e554b1b05f8cec09424ad6057b79a0d88b0 | https://github.com/pallets/markupsafe/commit/3d809aed7b7b6af5c371bab68666857087335af9 | https://github.com/pallets/markupsafe | markupsafe.__init__ | [
"Markup"
] | 7 | 1 | d7669ca73a610c01 | pallets/markupsafe@3d809aed7#Markup | python | 2026-08-18 | goldset/0.1 | 1 | |
JeffLIrion/adb_shell | UsbReadFailedError | fix: Ensure `UsbReadFailedError` can be pickled (#183) | function | docstring | TODO
Parameters
----------
msg : str
The error message
usb_error : libusb1.USBError
An exception from `libusb1`
Attributes
----------
usb_error : libusb1.USBError
An exception from `libusb1` | class UsbReadFailedError(Exception):
"""TODO
Parameters
----------
msg : str
The error message
usb_error : libusb1.USBError
An exception from ``libusb1``
Attributes
----------
usb_error : libusb1.USBError
An exception from ``libusb1``
"""
def __init__(s... | class UsbReadFailedError(Exception):
"""TODO
Parameters
----------
msg : str
The error message
usb_error : libusb1.USBError
An exception from ``libusb1``
Attributes
----------
usb_error : libusb1.USBError
An exception from ``libusb1``
"""
def __init__(s... | tests/test_exceptions.py | [
"tests/test_exceptions.py::TestExceptionSerialization::test_serialize_UsbReadFailedError"
] | 2021-08-03 | 2021-07-30 | Apache-2.0 | LICENSE | 4fb4b2e4f838b1642abdafc8511abd8450440328 | e7d8b59e3547cc44d8764608b5da470197d66ab1 | https://github.com/JeffLIrion/adb_shell/commit/4fb4b2e4f838b1642abdafc8511abd8450440328 | https://github.com/JeffLIrion/adb_shell | adb_shell.exceptions | [
"UsbReadFailedError"
] | 4 | 1 | d1a13f76532807f3 | JeffLIrion/adb_shell@4fb4b2e4f#UsbReadFailedError | python | 2026-08-18 | goldset/0.1 | 1 | |
geographiclib/geographiclib-python | Fix bug where a geodesic with lat1 = 0 and lat2 = nan was treated as equatorial (bug found 2021-07-26). | file | commit | Fix bug where a geodesic with lat1 = 0 and lat2 = nan was treated as equatorial (bug found 2021-07-26). | """Define the :class:`~geographiclib.geodesic.Geodesic` class
The ellipsoid parameters are defined by the constructor. The direct and
inverse geodesic problems are solved by
* :meth:`~geographiclib.geodesic.Geodesic.Inverse` Solve the inverse
geodesic problem
* :meth:`~geographiclib.geodesic.Geodesic.Direct`... | """Define the :class:`~geographiclib.geodesic.Geodesic` class
The ellipsoid parameters are defined by the constructor. The direct and
inverse geodesic problems are solved by
* :meth:`~geographiclib.geodesic.Geodesic.Inverse` Solve the inverse
geodesic problem
* :meth:`~geographiclib.geodesic.Geodesic.Direct`... | geographiclib/test/test_geodesic.py | [
"geographiclib/test/test_geodesic.py::GeodSolveTest::test_GeodSolve94"
] | 2021-07-28 | 2021-07-14 | MIT | LICENSE | 08745ea3558aa0f8c2b50e58a403e4b0bcc658b2 | 62fe5d3a19643ca08661be2a739eb46689af7396 | https://github.com/geographiclib/geographiclib-python/commit/08745ea3558aa0f8c2b50e58a403e4b0bcc658b2 | https://github.com/geographiclib/geographiclib-python | geographiclib.geodesic | [
"Geodesic"
] | 2 | 1 | 5d8cc7d139926824 | geographiclib/geographiclib-python@08745ea35#geographiclib/geodesic.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
jaraco/path | Add tests covering walk. Fix bug in walk when errors are ignored. | file | commit | Add tests covering walk. Fix bug in walk when errors are ignored. | """
Path Pie
Implements ``path.Path`` - An object representing a
path to a file or directory.
Example::
from path import Path
d = Path('/home/guido/bin')
# Globbing
for f in d.files('*.py'):
f.chmod(0o755)
# Changing the working directory:
with Path("somewhere"):
# cwd in no... | """
Path Pie
Implements ``path.Path`` - An object representing a
path to a file or directory.
Example::
from path import Path
d = Path('/home/guido/bin')
# Globbing
for f in d.files('*.py'):
f.chmod(0o755)
# Changing the working directory:
with Path("somewhere"):
# cwd in no... | test_path.py | [
"test_path.py::TestBasics::test_walk_child_error"
] | 2021-07-24 | 2021-07-24 | MIT | a1356defc93708c6de9969d19447cc7ad5bc0a0d | 7922165de86055fa8f6291dcafc9344188085349 | https://github.com/jaraco/path/commit/a1356defc93708c6de9969d19447cc7ad5bc0a0d | https://github.com/jaraco/path | path.__init__ | [
"Path"
] | 1 | 1 | 300c6f40051a8a25 | jaraco/path@a1356defc#path/__init__.py | python | 2026-08-18 | goldset/0.1 | 1 | |||
David-Wobrock/sqlvalidator | Fix #23 -- Handle escaped strings in formatting | file | commit | Fix #23 -- Handle escaped strings in formatting | from typing import Optional
STRING_SPLIT_TOKENS = ("'", '"', "`")
WHITESPACE_SPLIT_TOKENS = (" ", "\n")
KEPT_SPLIT_TOKENS = (
",",
";",
"(",
")",
"[",
"]",
"+",
"-",
"*",
"/",
"=",
"<",
">",
".",
)
MERGE_TOKENS = ("<>", "<=", ">=", "<<", ">>", "||", "!=")
def l... | from typing import Optional
STRING_SPLIT_TOKENS = ("'", '"', "`")
WHITESPACE_SPLIT_TOKENS = (" ", "\n")
KEPT_SPLIT_TOKENS = (
",",
";",
"(",
")",
"[",
"]",
"+",
"-",
"*",
"/",
"=",
"<",
">",
".",
)
MERGE_TOKENS = ("<>", "<=", ">=", "<<", ">>", "||", "!=")
def l... | tests/integration/test_formatting.py | [
"tests/integration/test_formatting.py::test_escaped_char"
] | 2021-07-14 | 2021-06-13 | MIT | LICENSE | 079e317ff5a16d7695d668102c62570a7c0dffe6 | fb512610c3aeed66a053e7307022f69aa547885d | https://github.com/David-Wobrock/sqlvalidator/commit/079e317ff5a16d7695d668102c62570a7c0dffe6 | https://github.com/David-Wobrock/sqlvalidator | sqlvalidator.grammar.tokeniser | [
"split_with_sep"
] | 19 | 1 | c01a69f564d7363a | David-Wobrock/sqlvalidator@079e317ff#sqlvalidator/grammar/tokeniser.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
Textualize/rich | render | fix for markup span sorting | function | docstring | Render console markup in to a Text instance.
Args:
markup (str): A string containing console markup.
emoji (bool, optional): Also render emoji code. Defaults to True.
Raises:
MarkupError: If there is a syntax error in the markup.
Returns:
Text: A test instance. | def render(markup: str, style: Union[str, Style] = "", emoji: bool = True) -> Text:
"""Render console markup in to a Text instance.
Args:
markup (str): A string containing console markup.
emoji (bool, optional): Also render emoji code. Defaults to True.
Raises:
MarkupError: If ther... | def render(markup: str, style: Union[str, Style] = "", emoji: bool = True) -> Text:
"""Render console markup in to a Text instance.
Args:
markup (str): A string containing console markup.
emoji (bool, optional): Also render emoji code. Defaults to True.
Raises:
MarkupError: If ther... | tests/test_markup.py | [
"tests/test_markup.py::test_adjoint"
] | 2021-07-09 | 2021-07-09 | MIT | LICENSE | d04a8123721b27764b48fadc1e37430f0d568146 | 0c0c90a66d606b21c6f7a18da33a3786d89e0edb | https://github.com/Textualize/rich/commit/d04a8123721b27764b48fadc1e37430f0d568146 | https://github.com/Textualize/rich | rich.markup | [
"render"
] | 3 | 1 | 400159104216b323 | Textualize/rich@d04a81237#render | python | 2026-08-17 | goldset/0.1 | 1 | |
daggaz/json-stream | re #3 - Fixed bug if first item in a list is another list or dict | file | commit | re #3 - Fixed bug if first item in a list is another list or dict | import collections
from abc import ABC
from collections import OrderedDict
from itertools import chain
from typing import Optional, Iterator, Any
from json_stream.tokenizer import TokenType
class TransientAccessException(Exception):
pass
class StreamingJSONBase(ABC):
@classmethod
def factory(cls, token... | import collections
from abc import ABC
from collections import OrderedDict
from itertools import chain
from typing import Optional, Iterator, Any
from json_stream.tokenizer import TokenType
class TransientAccessException(Exception):
pass
class StreamingJSONBase(ABC):
@classmethod
def factory(cls, token... | src/json_stream/tests/test_loader.py | [
"src/json_stream/tests/test_loader.py::TestLoader::test_load_nested_transient_first_list_item_list"
] | 2021-07-05 | 2021-07-05 | MIT | LICENSE.txt | a1b8c0f99348bf8ce79e026d2d5f3204cbce873e | 2829a5ddf9a78006c7191a0186c3c811a9107729 | https://github.com/daggaz/json-stream/commit/a1b8c0f99348bf8ce79e026d2d5f3204cbce873e | https://github.com/daggaz/json-stream | json_stream.base | [
"StreamingJSONList",
"TransientStreamingJSONObject"
] | 6 | 1 | 485f6fd15526669f | daggaz/json-stream@a1b8c0f99#src/json_stream/base.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
lark-parser/lark | fix tree_matcher when keep_all_tokens=True by setting sym.filter_out correctly. | file | commit | fix tree_matcher when keep_all_tokens=True by setting sym.filter_out correctly. | """Parses and creates Grammar objects"""
import hashlib
import os.path
import sys
from collections import namedtuple
from copy import copy, deepcopy
from io import open
import pkgutil
from ast import literal_eval
from numbers import Integral
from .utils import bfs, Py36, logger, classify_bool, is_id_continue, is_id_st... | """Parses and creates Grammar objects"""
import hashlib
import os.path
import sys
from collections import namedtuple
from copy import copy, deepcopy
from io import open
import pkgutil
from ast import literal_eval
from numbers import Integral
from .utils import bfs, Py36, logger, classify_bool, is_id_continue, is_id_st... | tests/test_reconstructor.py | [
"tests/test_reconstructor.py::TestReconstructor::test_keep_all_tokens"
] | 2021-06-29 | 2021-06-05 | MIT | LICENSE | bdcd2e0011bc0cd4fa3c35f59f28c78a1fa61a78 | e4904b32da24cf37f04b79672953e6ce3351bb67 | https://github.com/lark-parser/lark/commit/bdcd2e0011bc0cd4fa3c35f59f28c78a1fa61a78 | https://github.com/lark-parser/lark | lark.load_grammar | [
"Grammar"
] | 5 | 1 | a4a640f081144418 | lark-parser/lark@bdcd2e001#lark/load_grammar.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
lark-parser/lark | Fix #696 now providing the correct amount of placeholders | file | commit | Fix #696 now providing the correct amount of placeholders | """Parses and creates Grammar objects"""
import hashlib
import os.path
import sys
from collections import namedtuple
from copy import copy, deepcopy
from io import open
import pkgutil
from ast import literal_eval
from numbers import Integral
from .utils import bfs, Py36, logger, classify_bool, is_id_continue, is_id_st... | """Parses and creates Grammar objects"""
import hashlib
import os.path
import sys
from collections import namedtuple
from copy import copy, deepcopy
from io import open
import pkgutil
from ast import literal_eval
from numbers import Integral
from .utils import bfs, Py36, logger, classify_bool, is_id_continue, is_id_st... | tests/test_parser.py | [
"tests/test_parser.py::TestEarleyCustom_old::test_maybe_placeholders",
"tests/test_parser.py::TestEarleyDynamic::test_maybe_placeholders",
"tests/test_parser.py::TestEarleyDynamic_complete::test_maybe_placeholders",
"tests/test_parser.py::TestEarleyStandard::test_maybe_placeholders",
"tests/test_parser.py::... | 2021-06-26 | 2021-06-26 | MIT | LICENSE | c3fc2266e199e72f8b0ba892d87fd66ea7f93fc9 | 44a20c850ea7e0945a9db663a763abdcf1f86b88 | https://github.com/lark-parser/lark/commit/c3fc2266e199e72f8b0ba892d87fd66ea7f93fc9 | https://github.com/lark-parser/lark | lark.load_grammar | [
"EBNF_to_BNF"
] | 11 | 7 | 8fac87f1c3bd7f56 | lark-parser/lark@c3fc2266e#lark/load_grammar.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
lark-parser/lark | Raise a GrammarError on empty string literal. | file | commit | Raise a GrammarError on empty string literal. | """Parses and creates Grammar objects"""
import hashlib
import os.path
import sys
from collections import namedtuple
from copy import copy, deepcopy
from io import open
import pkgutil
from ast import literal_eval
from numbers import Integral
from .utils import bfs, Py36, logger, classify_bool, is_id_continue, is_id_st... | """Parses and creates Grammar objects"""
import hashlib
import os.path
import sys
from collections import namedtuple
from copy import copy, deepcopy
from io import open
import pkgutil
from ast import literal_eval
from numbers import Integral
from .utils import bfs, Py36, logger, classify_bool, is_id_continue, is_id_st... | tests/test_grammar.py | [
"tests/test_grammar.py::TestGrammar::test_empty_literal"
] | 2021-06-22 | 2021-05-23 | MIT | LICENSE | c44bb3e0cda6c4c45c1df68fe70ae513a4d8de67 | f7cde8766de619fc4490d914c8b9cfe1c97e2479 | https://github.com/lark-parser/lark/commit/c44bb3e0cda6c4c45c1df68fe70ae513a4d8de67 | https://github.com/lark-parser/lark | lark.load_grammar | [
"_literal_to_pattern"
] | 3 | 1 | ec28b316de6e3d54 | lark-parser/lark@c44bb3e0c#lark/load_grammar.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
David-Wobrock/sqlvalidator | Fix #25 -- Handle JOIN EACH syntax from Legacy BigQuery SQL dialect | file | commit | Fix #25 -- Handle JOIN EACH syntax from Legacy BigQuery SQL dialect | from typing import Any, Optional, Set
from sqlvalidator.grammar.tokeniser import lower
DEFAULT_LINE_LENGTH = 88
def transform(obj: Any) -> str:
if hasattr(obj, "transform"):
return obj.transform()
return str(obj)
class SelectStatement:
def __init__(
self,
expressions,
s... | from typing import Any, Optional, Set
from sqlvalidator.grammar.tokeniser import lower
DEFAULT_LINE_LENGTH = 88
def transform(obj: Any) -> str:
if hasattr(obj, "transform"):
return obj.transform()
return str(obj)
class SelectStatement:
def __init__(
self,
expressions,
s... | tests/integration/test_formatting.py | [
"tests/integration/test_formatting.py::test_plain_join_each"
] | 2021-06-13 | 2021-06-13 | MIT | LICENSE | ee6b9d6d0a850313abb939acb887802fdfd121fb | fccfe984c19fba421e36121df88174b898b2edf8 | https://github.com/David-Wobrock/sqlvalidator/commit/ee6b9d6d0a850313abb939acb887802fdfd121fb | https://github.com/David-Wobrock/sqlvalidator | sqlvalidator.grammar.sql | [
"Join"
] | 2 | 1 | 82ed625f0f3ed6de | David-Wobrock/sqlvalidator@ee6b9d6d0#sqlvalidator/grammar/sql.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
didix21/mdutils | Fix #6: add option to wrap text on new lines, paragraphs and writes | file | commit | Fix #6: add option to wrap text on new lines, paragraphs and writes | # Python
#
# This module implements the Main Markdown class.
#
# This file is part of mdutils. https://github.com/didix21/mdutils
#
# MIT License: (C) 2018 Dídac Coll
"""Module **mdutils**
The available features are:
* Create Headers, Til 6 sub-levels.
* Auto generate a table of contents.
* Create List an... | # Python
#
# This module implements the Main Markdown class.
#
# This file is part of mdutils. https://github.com/didix21/mdutils
#
# MIT License: (C) 2018 Dídac Coll
"""Module **mdutils**
The available features are:
* Create Headers, Til 6 sub-levels.
* Auto generate a table of contents.
* Create List an... | tests/test_mdutils.py | [
"tests/test_mdutils.py::TestMdUtils::test_wrap_text"
] | 2021-06-07 | 2020-12-03 | MIT | LICENSE.txt | a0557475c3cd8a8825c156eb1d749e41940873e3 | 9b0c5285fc700634d7d4a0756f05b0caa4df39d8 | https://github.com/didix21/mdutils/commit/a0557475c3cd8a8825c156eb1d749e41940873e3 | https://github.com/didix21/mdutils | mdutils.mdutils | [
"MdUtils"
] | 25 | 1 | 423281f70aecfeb5 | didix21/mdutils@a0557475c#mdutils/mdutils.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | Fixing bug when python has multiple line for function declaration due to formatting (#319) | file | commit | Fixing bug when python has multiple line for function declaration due to formatting (#319) | ''' Language parser for Python '''
from .code_reader import CodeReader, CodeStateMachine
from .script_language import ScriptLanguageMixIn
def count_spaces(token):
return len(token.replace('\t', ' ' * 8))
class PythonIndents: # pylint: disable=R0902
def __init__(self, context):
self.indents = [0]
... | ''' Language parser for Python '''
from .code_reader import CodeReader, CodeStateMachine
from .script_language import ScriptLanguageMixIn
def count_spaces(token):
return len(token.replace('\t', ' ' * 8))
class PythonIndents: # pylint: disable=R0902
def __init__(self, context):
self.indents = [0]
... | test/test_languages/testPython.py | [
"test/test_languages/testPython.py::Test_parser_for_Python::test_multi_line_function_def_function_end"
] | 2021-05-31 | 2021-05-14 | MIT | LICENSE.txt | c900ecc9b09c0de27e1f15f50ad77115fc0ef0cb | 79ecdc28ddbd313358ecc79971add3f8dafa088c | https://github.com/terryyin/lizard/commit/c900ecc9b09c0de27e1f15f50ad77115fc0ef0cb | https://github.com/terryyin/lizard | lizard_languages.python | [
"PythonIndents",
"PythonReader"
] | 6 | 1 | 2f25ca6bead08153 | terryyin/lizard@c900ecc9b#lizard_languages/python.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
gaogaotiantian/objprint | Fix elements overflow issue (#31) | file | commit | Fix elements overflow issue (#31) | # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/gaogaotiantian/objprint/blob/master/NOTICE.txt
import re
from types import FunctionType
from .color_util import COLOR, set_color
class ObjPrint:
def __init__(self):
self._configs = {
... | # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/gaogaotiantian/objprint/blob/master/NOTICE.txt
import re
from types import FunctionType
from .color_util import COLOR, set_color
class ObjPrint:
def __init__(self):
self._configs = {
... | tests/test_objprint.py | [
"tests/test_objprint.py::TestObjprint::test_element"
] | 2021-05-24 | 2021-05-24 | Apache-2.0 | LICENSE | 1e5826c3410915386a8881de78ee7887524b8240 | 7f1fb8202f40b12adb9e7290a2e015c051d830f2 | https://github.com/gaogaotiantian/objprint/commit/1e5826c3410915386a8881de78ee7887524b8240 | https://github.com/gaogaotiantian/objprint | objprint.objprint | [
"ObjPrint"
] | 7 | 1 | 9cedcd2abb56566c | gaogaotiantian/objprint@1e5826c34#src/objprint/objprint.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
uktrade/stream-unzip | fix: expose size of 0-bytes zipped files | file | commit | fix: expose size of 0-bytes zipped files | from struct import Struct
import zlib
def stream_unzip(zipfile_chunks, chunk_size=65536):
local_file_header_signature = b'\x50\x4b\x03\x04'
local_file_header_struct = Struct('<H2sHHHIIIHH')
zip64_compressed_size = 4294967295
zip64_size_signature = b'\x01\x00'
def get_byte_readers(iterable):
... | from struct import Struct
import zlib
def stream_unzip(zipfile_chunks, chunk_size=65536):
local_file_header_signature = b'\x50\x4b\x03\x04'
local_file_header_struct = Struct('<H2sHHHIIIHH')
zip64_compressed_size = 4294967295
zip64_size_signature = b'\x01\x00'
def get_byte_readers(iterable):
... | test.py | [
"test.py::TestStreamUnzip::test_empty_file"
] | 2021-05-18 | 2021-05-18 | MIT | LICENSE | 3a44efa01148078cd558938ca5bf8a8c5b0dd22b | 6746170031ed992cd925e30f1294caaa277bd81d | https://github.com/uktrade/stream-unzip/commit/3a44efa01148078cd558938ca5bf8a8c5b0dd22b | https://github.com/uktrade/stream-unzip | stream_unzip | [
"stream_unzip"
] | 6 | 1 | f848091bd234779b | uktrade/stream-unzip@3a44efa01#stream_unzip.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
mahmoud/boltons | make_sentinel | fix Sentinel module logic, enabling pickling of Sentinels, fixes #285 | function | docstring | Creates and returns a new **instance** of a new class, suitable for
usage as a "sentinel", a kind of singleton often used to indicate
a value is missing when `None` is a valid input.
Args:
name (str): Name of the Sentinel
var_name (str): Set this name to the name of the variable in
its respective modul... | def make_sentinel(name='_MISSING', var_name=None):
"""Creates and returns a new **instance** of a new class, suitable for
usage as a "sentinel", a kind of singleton often used to indicate
a value is missing when ``None`` is a valid input.
Args:
name (str): Name of the Sentinel
var_name ... | def make_sentinel(name='_MISSING', var_name=None):
"""Creates and returns a new **instance** of a new class, suitable for
usage as a "sentinel", a kind of singleton often used to indicate
a value is missing when ``None`` is a valid input.
Args:
name (str): Name of the Sentinel
var_name ... | tests/test_typeutils.py | [
"tests/test_typeutils.py::test_sentinel_pickle"
] | 2021-05-16 | 2021-05-16 | BSD-2-Clause | LICENSE | 16a258e3750063d874ec85c5fb5bc21358206c5c | 3c1d3987a91fe2d48ee723dda6ca0bd3fb7f94a9 | https://github.com/mahmoud/boltons/commit/16a258e3750063d874ec85c5fb5bc21358206c5c | https://github.com/mahmoud/boltons | boltons.typeutils | [
"make_sentinel"
] | 12 | 1 | 987f03c477a8ef3f | mahmoud/boltons@16a258e37#make_sentinel | python | 2026-08-18 | goldset/0.1 | 1 | |
gaogaotiantian/objprint | Fix list and dict exclude/include feature (#28) | file | commit | Fix list and dict exclude/include feature (#28) | # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/gaogaotiantian/objprint/blob/master/NOTICE.txt
import re
from types import FunctionType
from .color_util import COLOR, set_color
class ObjPrint:
def __init__(self):
self._configs = {
... | # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/gaogaotiantian/objprint/blob/master/NOTICE.txt
import re
from types import FunctionType
from .color_util import COLOR, set_color
class ObjPrint:
def __init__(self):
self._configs = {
... | tests/test_objstr.py | [
"tests/test_objstr.py::TestObjStr::test_nested_match"
] | 2021-05-11 | 2021-05-10 | Apache-2.0 | LICENSE | 8e3bd5e4738caef3c60d3967187ef809a1de4633 | 1c76f2cef0d4652e4c8ebede2f66f66797a2bf70 | https://github.com/gaogaotiantian/objprint/commit/8e3bd5e4738caef3c60d3967187ef809a1de4633 | https://github.com/gaogaotiantian/objprint | objprint.objprint | [
"ObjPrint"
] | 4 | 1 | f08e59a7aa0123b0 | gaogaotiantian/objprint@8e3bd5e47#src/objprint/objprint.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
fastavro/fastavro | parse_schema | 538 fix schema expansion of parsed schemas (#541) | function | docstring | Returns a parsed avro schema
It is not necessary to call parse_schema but doing so and saving the parsed
schema for use later will make future operations faster as the schema will
not need to be reparsed.
Parameters
----------
schema: dict
Input schema
named_schemas: dict
Dictionary of named schemas to their ... | def parse_schema(
schema,
named_schemas=None,
*,
expand=False,
_write_hint=True,
_force=False,
):
"""Returns a parsed avro schema
It is not necessary to call parse_schema but doing so and saving the parsed
schema for use later will make future operations faster as the schema will
... | def parse_schema(
schema,
named_schemas=None,
*,
expand=False,
_write_hint=True,
_force=False,
):
"""Returns a parsed avro schema
It is not necessary to call parse_schema but doing so and saving the parsed
schema for use later will make future operations faster as the schema will
... | tests/test_schema.py | [
"tests/test_schema.py::test_schema_expansion_3"
] | 2021-05-10 | 2021-04-16 | MIT | LICENSE | 9aa185041ad194cd71e7e84ec1cfbf957fe092f9 | c3e9957218a41f8e77f807fc884dde5e40f2f41b | https://github.com/fastavro/fastavro/commit/9aa185041ad194cd71e7e84ec1cfbf957fe092f9 | https://github.com/fastavro/fastavro | fastavro._schema_py | [
"parse_schema"
] | 6 | 1 | ebd14e01f47e9e63 | fastavro/fastavro@9aa185041#parse_schema | python | 2026-08-18 | goldset/0.1 | 1 | |
nschloe/pytest-codeblocks | fix for expected code block | file | commit | fix for expected code block | import contextlib
import re
import sys
# namedtuple with default arguments
# <https://stackoverflow.com/a/18348004/353337>
from dataclasses import dataclass
from io import StringIO
from pathlib import Path
from typing import Optional, Union
@dataclass
class CodeBlock:
code: str
lineno: int
syntax: Option... | import contextlib
import re
import sys
# namedtuple with default arguments
# <https://stackoverflow.com/a/18348004/353337>
from dataclasses import dataclass
from io import StringIO
from pathlib import Path
from typing import Optional, Union
@dataclass
class CodeBlock:
code: str
lineno: int
syntax: Option... | tests/test_expected_output.py | [
"tests/test_expected_output.py::test_cont"
] | 2021-05-10 | 2021-05-08 | MIT | LICENSE.txt | 17b5f3bc3908489c3ddd1635f6f48ed2997889da | cf2f9680276dc3b2a4e7a32ffa07f522772aacab | https://github.com/nschloe/pytest-codeblocks/commit/17b5f3bc3908489c3ddd1635f6f48ed2997889da | https://github.com/nschloe/pytest-codeblocks | pytest_codeblocks.main | [
"extract_from_buffer"
] | 2 | 1 | 7f46ef8278677961 | nschloe/pytest-codeblocks@17b5f3bc3#src/pytest_codeblocks/main.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
Suor/funcy | throttle | Fix @throttle() for timedelta arg | function | docstring | Allows only one run in a period, the rest is skipped | def throttle(period):
"""Allows only one run in a period, the rest is skipped"""
if isinstance(period, timedelta):
period = timedelta.total_seconds()
def decorator(func):
func.blocked_until = None
@wraps(func)
def wrapper(*args, **kwargs):
now = time.time()
... | def throttle(period):
"""Allows only one run in a period, the rest is skipped"""
if isinstance(period, timedelta):
period = period.total_seconds()
def decorator(func):
func.blocked_until = None
@wraps(func)
def wrapper(*args, **kwargs):
now = time.time()
... | tests/test_flow.py | [
"tests/test_flow.py::test_throttle[timedelta]"
] | 2021-05-09 | 2021-05-08 | BSD-3-Clause | LICENSE | 6c111987f25eb8371e33b71f8b76e2975c30617d | e5090591930fffdde1688fa086274b7b0e6ccc06 | https://github.com/Suor/funcy/commit/6c111987f25eb8371e33b71f8b76e2975c30617d | https://github.com/Suor/funcy | funcy.flow | [
"throttle"
] | 2 | 1 | 9c20efe666c53fc2 | Suor/funcy@6c111987f#throttle | python | 2026-08-17 | goldset/0.1 | 1 | |
rubik/radon | fix: CC for try-except-else else blocks with multiple statements (#212) | file | commit | fix: CC for try-except-else else blocks with multiple statements (#212) | '''This module contains the ComplexityVisitor class which is where all the
analysis concerning Cyclomatic Complexity is done. There is also the class
HalsteadVisitor, that counts Halstead metrics.'''
import ast
import collections
import operator
# Helper functions to use in combination with map()
GET_COMPLEXITY = ope... | '''This module contains the ComplexityVisitor class which is where all the
analysis concerning Cyclomatic Complexity is done. There is also the class
HalsteadVisitor, that counts Halstead metrics.'''
import ast
import collections
import operator
# Helper functions to use in combination with map()
GET_COMPLEXITY = ope... | radon/tests/test_complexity_visitor.py | [
"radon/tests/test_complexity_visitor.py::test_visitor_simple[\\n"
] | 2021-05-08 | 2021-05-07 | MIT | LICENSE | ae987291431460c438b890fe2b50dabc4d645d16 | 1a2042db00fe6538fa7efee2bb70c187ec7c25dc | https://github.com/rubik/radon/commit/ae987291431460c438b890fe2b50dabc4d645d16 | https://github.com/rubik/radon | radon.visitors | [
"ComplexityVisitor"
] | 2 | 1 | ddc79b56b47b3d03 | rubik/radon@ae9872914#radon/visitors.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
cuu508/cronsim | Fix more weekday handling bugs | file | commit | Fix more weekday handling bugs | import calendar
from datetime import datetime, timedelta as td, time
from enum import IntEnum
class Field(IntEnum):
MINUTE = 0
HOUR = 1
DAY = 2
MONTH = 3
DOW = 4
RANGES = [
list(range(0, 60)),
list(range(0, 24)),
list(range(1, 32)),
list(range(1, 13)),
list(range(0, 7)),
]
S... | import calendar
from datetime import datetime, timedelta as td, time
from enum import IntEnum
class Field(IntEnum):
MINUTE = 0
HOUR = 1
DAY = 2
MONTH = 3
DOW = 4
RANGES = [
list(range(0, 60)),
list(range(0, 24)),
list(range(1, 32)),
list(range(1, 13)),
list(range(0, 7)),
]
S... | test_cronsim.py | [
"test_cronsim.py::TestParse::test_it_parses_day_lowercase_l"
] | 2021-04-28 | 2021-04-28 | BSD-3-Clause | LICENSE | 03fc8bd91df9eb1f5971f4be7c6b48660e456ba4 | 9325f729b98d47fe2891969b167dee77712e5d5b | https://github.com/cuu508/cronsim/commit/03fc8bd91df9eb1f5971f4be7c6b48660e456ba4 | https://github.com/cuu508/cronsim | cronsim | [
"_int",
"_parse"
] | 17 | 1 | 3ea150d2f7e5b8de | cuu508/cronsim@03fc8bd91#cronsim.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
cuu508/cronsim | Fix weekday handling bugs | file | commit | Fix weekday handling bugs | import calendar
from datetime import datetime, timedelta as td, time
from enum import IntEnum
class Field(IntEnum):
MINUTE = 0
HOUR = 1
DAY = 2
MONTH = 3
DOW = 4
RANGES = [
list(range(0, 60)),
list(range(0, 24)),
list(range(1, 32)),
list(range(1, 13)),
list(range(1, 8)),
]
S... | import calendar
from datetime import datetime, timedelta as td, time
from enum import IntEnum
class Field(IntEnum):
MINUTE = 0
HOUR = 1
DAY = 2
MONTH = 3
DOW = 4
RANGES = [
list(range(0, 60)),
list(range(0, 24)),
list(range(1, 32)),
list(range(1, 13)),
list(range(0, 7)),
]
S... | test_wat.py | [
"test_wat.py::TestParse::test_it_handles_0_sunday"
] | 2021-04-28 | 2021-04-28 | BSD-3-Clause | LICENSE | bf89dfff76d09036906c688ca6463a47c5eaefc4 | d8a1ce6900552a0a8aada836c099c908e52ae43d | https://github.com/cuu508/cronsim/commit/bf89dfff76d09036906c688ca6463a47c5eaefc4 | https://github.com/cuu508/cronsim | wat | [
"Wat",
"_int"
] | 15 | 1 | 7d632ecc9a428011 | cuu508/cronsim@bf89dfff7#wat.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
alessandromaggio/pythonping | Fix Packet loss calculation and add new test | file | commit | Fix Packet loss calculation and add new test | """Module that actually performs the ping, sending and receiving packets"""
import os
import sys
from . import icmp
from . import network
# Python 3.5 compatibility
if sys.version_info[1] == 5:
from enum import IntEnum, Enum
class AutoNumber(Enum):
def __new__(cls):
value = len(cls.__memb... | """Module that actually performs the ping, sending and receiving packets"""
import os
import sys
from . import icmp
from . import network
# Python 3.5 compatibility
if sys.version_info[1] == 5:
from enum import IntEnum, Enum
class AutoNumber(Enum):
def __new__(cls):
value = len(cls.__memb... | test/test_executor.py | [
"test/test_executor.py::ResponseListTestCase::test_some_packets_lost_mixed"
] | 2021-04-19 | 2021-03-12 | MIT | LICENSE | 39594cc1ef38c40fa01aa56b15804ddfca3ba55c | 482144c29f472c137897257bde645255931f9a66 | https://github.com/alessandromaggio/pythonping/commit/39594cc1ef38c40fa01aa56b15804ddfca3ba55c | https://github.com/alessandromaggio/pythonping | pythonping.executor | [
"ResponseList"
] | 2 | 1 | ad71ea6050e1b8a1 | alessandromaggio/pythonping@39594cc1e#pythonping/executor.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
bwhmather/ssort | _get_bindings_for_import | Fix binding only root module in nested imports | function | docstring | ..code:: python
Import(alias* names) | def _get_bindings_for_import(node):
"""
..code:: python
Import(alias* names)
"""
for name in node.names:
yield name.asname if name.asname else name.name | def _get_bindings_for_import(node):
"""
..code:: python
Import(alias* names)
"""
for name in node.names:
if name.asname:
yield name.asname
else:
root, *rest = name.name.split(".", 1)
yield root | tests/test_bindings.py | [
"tests/test_bindings.py::test_import_bindings_nested"
] | 2021-04-06 | 2021-04-06 | MIT | LICENSE | a0acd5cdc23e1e8bc1fadafca4580bd67f4ed395 | 31c5bf7a702d23ec3e938816614d054ef22dbfcf | https://github.com/bwhmather/ssort/commit/a0acd5cdc23e1e8bc1fadafca4580bd67f4ed395 | https://github.com/bwhmather/ssort | ssort._bindings | [
"_get_bindings_for_import"
] | 6 | 1 | 10f96b2e0b9125ff | bwhmather/ssort@a0acd5cdc#_get_bindings_for_import | python | 2026-08-18 | goldset/0.1 | 1 | |
bwhmather/ssort | _get_bindings_for_with | Fix support for with blocks | function | docstring | ..code:: python
With(withitem* items, stmt* body, string? type_comment)
..code:: python
AsyncWith(withitem* items, stmt* body, string? type_comment) | def _get_bindings_for_with(node):
"""
..code:: python
With(withitem* items, stmt* body, string? type_comment)
..code:: python
AsyncWith(withitem* items, stmt* body, string? type_comment)
"""
for item in node.items:
if item.optional_vars:
yield from _flatten_tar... | def _get_bindings_for_with(node):
"""
..code:: python
With(withitem* items, stmt* body, string? type_comment)
..code:: python
AsyncWith(withitem* items, stmt* body, string? type_comment)
"""
for item in node.items:
if item.optional_vars:
yield from _flatten_tar... | tests/test_bindings.py | [
"tests/test_bindings.py::test_with_dependencies_bindings"
] | 2021-04-06 | 2021-04-06 | MIT | LICENSE | 31c5bf7a702d23ec3e938816614d054ef22dbfcf | df014e93f76a620bb8e8044718e9a4537e279b1d | https://github.com/bwhmather/ssort/commit/31c5bf7a702d23ec3e938816614d054ef22dbfcf | https://github.com/bwhmather/ssort | ssort._bindings | [
"_get_bindings_for_with"
] | 3 | 1 | 43b86465c4c2a589 | bwhmather/ssort@31c5bf7a7#_get_bindings_for_with | python | 2026-08-18 | goldset/0.1 | 1 | |
regebro/svg.path | Issue #60: Fix handling of zero length paths (#73) | file | commit | Issue #60: Fix handling of zero length paths (#73) | from math import sqrt, cos, sin, acos, degrees, radians, log, pi
from bisect import bisect
try:
from collections.abc import MutableSequence
except ImportError:
from collections import MutableSequence
# This file contains classes for the different types of SVG path segments as
# well as a Path object that cont... | from math import sqrt, cos, sin, acos, degrees, radians, log, pi
from bisect import bisect
try:
from collections.abc import MutableSequence
except ImportError:
from collections import MutableSequence
# This file contains classes for the different types of SVG path segments as
# well as a Path object that cont... | src/svg/path/tests/test_paths.py | [
"src/svg/path/tests/test_paths.py::TestPath::test_zero_paths"
] | 2021-03-27 | 2021-03-27 | MIT | LICENSE.txt | 327d4aec2933a0326d6514c617ed9a47dd42ee51 | c0845d7f6f981f34756c1f4c50f4985cd90d18bc | https://github.com/regebro/svg.path/commit/327d4aec2933a0326d6514c617ed9a47dd42ee51 | https://github.com/regebro/svg.path | svg.path.path | [
"Path"
] | 10 | 1 | c2656f4d0729873c | regebro/svg.path@327d4aec2#src/svg/path/path.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
sanic-org/sanic-routing | Fix routes with different depth (#13) | file | commit | Fix routes with different depth (#13) | import typing as t
from abc import ABC, abstractmethod
from itertools import count
from types import SimpleNamespace
from .exceptions import BadMethod, FinalizationError, NoMethod, NotFound
from .line import Line
from .patterns import REGEX_TYPES
from .route import Route
from .tree import Tree
from .utils import parts... | import typing as t
from abc import ABC, abstractmethod
from itertools import count
from types import SimpleNamespace
from .exceptions import BadMethod, FinalizationError, NoMethod, NotFound
from .line import Line
from .patterns import REGEX_TYPES
from .route import Route
from .tree import Tree
from .utils import parts... | tests/test_routing.py | [
"tests/test_routing.py::test_use_route_contains_children"
] | 2021-03-25 | 2021-03-22 | MIT | LICENSE | 7533e2098dc5a94e8a333c3b60a9a699141f76b5 | de6bbb330d5fe92941a74f24b116772d727c74be | https://github.com/sanic-org/sanic-routing/commit/7533e2098dc5a94e8a333c3b60a9a699141f76b5 | https://github.com/sanic-org/sanic-routing | sanic_routing.router | [
"BaseRouter"
] | 5 | 1 | b22bbc8d9b58c849 | sanic-org/sanic-routing@7533e2098#sanic_routing/router.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
meadsteve/lagom | Fix bug where aliases could be used to skip build definitions | file | commit | Fix bug where aliases could be used to skip build definitions | """
Classes representing specific ways of representing dependencies
"""
import inspect
from threading import Lock
from typing import Union, Type, Optional, Callable, TypeVar, NoReturn
from .exceptions import (
InvalidDependencyDefinition,
TypeResolutionBlocked,
)
from .interfaces import SpecialDepDefinition, R... | """
Classes representing specific ways of representing dependencies
"""
import inspect
from threading import Lock
from typing import Union, Type, Optional, Callable, TypeVar, NoReturn
from .exceptions import (
InvalidDependencyDefinition,
TypeResolutionBlocked,
)
from .interfaces import SpecialDepDefinition, R... | tests/bug_fixes/test_alias_to_constructor_skipped.py | [
"tests/bug_fixes/test_alias_to_constructor_skipped.py::test_an_alias_doesnt_skip_a_defined_constructor"
] | 2021-03-21 | 2021-03-21 | MIT | LICENSE | c5e0e1c20a18ae415b0446e74e7df3135faf9542 | 2d3b35135a5df32ee60a46fe7791d3eabf3f2d87 | https://github.com/meadsteve/lagom/commit/c5e0e1c20a18ae415b0446e74e7df3135faf9542 | https://github.com/meadsteve/lagom | lagom.definitions | [
"Alias",
"Singleton",
"normalise"
] | 19 | 1 | 13d3e3ec097b13a2 | meadsteve/lagom@c5e0e1c20#lagom/definitions.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
more-itertools/more-itertools | split_before | Fix split_before for an empty collections. | function | docstring | Yield lists of items from *iterable*, where each list ends just before
an item for which callable *pred* returns `True`:
At most *maxsplit* splits are done. If *maxsplit* is not specified or -1,
then there is no limit on the number of splits: | def split_before(iterable, pred, maxsplit=-1):
"""Yield lists of items from *iterable*, where each list ends just before
an item for which callable *pred* returns ``True``:
>>> list(split_before('OneTwo', lambda s: s.isupper()))
[['O', 'n', 'e'], ['T', 'w', 'o']]
>>> list(split_before(... | def split_before(iterable, pred, maxsplit=-1):
"""Yield lists of items from *iterable*, where each list ends just before
an item for which callable *pred* returns ``True``:
>>> list(split_before('OneTwo', lambda s: s.isupper()))
[['O', 'n', 'e'], ['T', 'w', 'o']]
>>> list(split_before(... | tests/test_more.py | [
"tests/test_more.py::SplitBeforeTest::test_empty_collection"
] | 2021-03-10 | 2021-03-06 | MIT | LICENSE | 2e81a562fbaccc996c19c069090a53f52ec894fe | c7e73ffbf9c7e15969f9ed301d0431770061ab90 | https://github.com/more-itertools/more-itertools/commit/2e81a562fbaccc996c19c069090a53f52ec894fe | https://github.com/more-itertools/more-itertools | more_itertools.more | [
"split_before"
] | 3 | 1 | 2766ba6ae7a57003 | more-itertools/more-itertools@2e81a562f#split_before | python | 2026-08-17 | goldset/0.1 | 1 | |
DataDog/datadog-lambda-python | extract_http_status_code_tag | Fix get status_code (#117) | function | docstring | If the Lambda was triggered by API Gateway or ALB add the returned status code
as a tag to the function execution span. | def extract_http_status_code_tag(trigger_tags, response):
"""
If the Lambda was triggered by API Gateway or ALB add the returned status code
as a tag to the function execution span.
"""
is_http_trigger = trigger_tags and (
trigger_tags.get("function_trigger.event_source") == "api-gateway"
... | def extract_http_status_code_tag(trigger_tags, response):
"""
If the Lambda was triggered by API Gateway or ALB add the returned status code
as a tag to the function execution span.
"""
is_http_trigger = trigger_tags and (
trigger_tags.get("function_trigger.event_source") == "api-gateway"
... | tests/test_trigger.py | [
"tests/test_trigger.py::ExtractHTTPStatusCodeTag::test_extract_http_status_code_tag_from_response_object"
] | 2021-03-10 | 2021-02-23 | Apache-2.0 | LICENSE | e44bc02c371b702c8ad15e49803372f96ba68140 | c70d9eda06af37321c4012a8a6048432d332b808 | https://github.com/DataDog/datadog-lambda-python/commit/e44bc02c371b702c8ad15e49803372f96ba68140 | https://github.com/DataDog/datadog-lambda-python | datadog_lambda.trigger | [
"extract_http_status_code_tag"
] | 4 | 1 | 52da75d96c973806 | DataDog/datadog-lambda-python@e44bc02c3#extract_http_status_code_tag | python | 2026-08-18 | goldset/0.1 | 1 | |
gaogaotiantian/objprint | Fix empty multi-line object (#4) | file | commit | Fix empty multi-line object (#4) | # 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 types import FunctionType
class ObjPrint:
def __init__(self):
self._configs = {
"indent": 2,
"depth": 3,
... | # 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 types import FunctionType
class ObjPrint:
def __init__(self):
self._configs = {
"indent": 2,
"depth": 3,
... | tests/test_objstr.py | [
"tests/test_objstr.py::TestObjStr::test_one_line_object"
] | 2021-03-10 | 2021-03-09 | Apache-2.0 | LICENSE | 866616163e412d6c0b2040db83e37844c1b9ed53 | b32a19541cad65ab6f9ac446555666d69dfc4e19 | https://github.com/gaogaotiantian/objprint/commit/866616163e412d6c0b2040db83e37844c1b9ed53 | https://github.com/gaogaotiantian/objprint | objprint.objprint | [
"ObjPrint"
] | 2 | 1 | 5eced7d12d9656a3 | gaogaotiantian/objprint@866616163#src/objprint/objprint.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
ilevkivskyi/com2ann | process_assign | Fix type comment left on separate continuation line after a type ignore of expression line (#35) | function | docstring | Process type comment in an assignment statement.
Remove the matching r.h.s. if drop_none or drop_ellipsis is True.
For example:
x = ... # type: int
will be translated to
x: int | def process_assign(comment: AssignData, data: FileData,
drop_none: bool, drop_ellipsis: bool) -> None:
"""Process type comment in an assignment statement.
Remove the matching r.h.s. if drop_none or drop_ellipsis is True.
For example:
x = ... # type: int
will be translated ... | def process_assign(comment: AssignData, data: FileData,
drop_none: bool, drop_ellipsis: bool) -> None:
"""Process type comment in an assignment statement.
Remove the matching r.h.s. if drop_none or drop_ellipsis is True.
For example:
x = ... # type: int
will be translated ... | src/test_com2ann.py | [
"src/test_com2ann.py::AssignTestCase::test_continuation_using_parens"
] | 2021-03-07 | 2020-08-17 | MIT | LICENSE | be67402d3c9be9c6f004db03ca2dc464a92f5ca8 | ce7583b5a98ee5b9dbeb8a8cef4239893e230291 | https://github.com/ilevkivskyi/com2ann/commit/be67402d3c9be9c6f004db03ca2dc464a92f5ca8 | https://github.com/ilevkivskyi/com2ann | com2ann | [
"process_assign"
] | 3 | 1 | c4eb5bdf5460f21e | ilevkivskyi/com2ann@be67402d3#process_assign | python | 2026-08-18 | goldset/0.1 | 1 | |
hamcrest/PyHamcrest | Fix for https://github.com/hamcrest/PyHamcrest/issues/156 - if has_entry() has only a single matching key, report the mismatching value. | file | commit | Fix for https://github.com/hamcrest/PyHamcrest/issues/156 - if has_entry() has only a single matching key, report the mismatching value. | from typing import Hashable, Mapping, TypeVar, Union
from hamcrest.core.base_matcher import BaseMatcher
from hamcrest.core.description import Description
from hamcrest.core.helpers.hasmethod import hasmethod
from hamcrest.core.helpers.wrap_matcher import wrap_matcher
from hamcrest.core.matcher import Matcher
__author... | from typing import Hashable, Mapping, MutableMapping, TypeVar, Union
from hamcrest.core.base_matcher import BaseMatcher
from hamcrest.core.description import Description
from hamcrest.core.helpers.hasmethod import hasmethod
from hamcrest.core.helpers.wrap_matcher import wrap_matcher
from hamcrest.core.matcher import M... | tests/hamcrest_unit_test/collection/isdict_containing_test.py | [
"tests/hamcrest_unit_test/collection/isdict_containing_test.py::IsDictContainingTest::test_describe_single_matching_key_mismatching_value"
] | 2021-03-06 | 2021-03-06 | BSD-3-Clause | LICENSE.txt | bbd147d2df4160e5bcae955bc9617700dc1de72b | 02cf6ac09a5b75a4b2ae8d51fb1146e2fe35bdd1 | https://github.com/hamcrest/PyHamcrest/commit/bbd147d2df4160e5bcae955bc9617700dc1de72b | https://github.com/hamcrest/PyHamcrest | hamcrest.library.collection.isdict_containing | [
"IsDictContaining"
] | 20 | 1 | 5284e11af00b440a | hamcrest/PyHamcrest@bbd147d2d#src/hamcrest/library/collection/isdict_containing.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
sanic-org/sanic-routing | Resolve requirements conditional bug (#6) | file | commit | Resolve requirements conditional bug (#6) | import typing as t
from logging import getLogger
from .line import Line
from .patterns import REGEX_PARAM_NAME
from .route import Route
logger = getLogger("sanic.root")
class Node:
def __init__(
self, part: str = "", root: bool = False, parent=None
) -> None:
self.root = root
self.pa... | import typing as t
from logging import getLogger
from .line import Line
from .patterns import REGEX_PARAM_NAME
from .route import Route
logger = getLogger("sanic.root")
class Node:
def __init__(
self, part: str = "", root: bool = False, parent=None
) -> None:
self.root = root
self.pa... | tests/test_routing.py | [
"tests/test_routing.py::test_conditional_check_proper_compile"
] | 2021-03-04 | 2021-02-28 | MIT | LICENSE | 0691e9f332b2a99518b341022c10d04d907836d1 | 929925ba96743a0c01217f2c346dfa528dfdfd64 | https://github.com/sanic-org/sanic-routing/commit/0691e9f332b2a99518b341022c10d04d907836d1 | https://github.com/sanic-org/sanic-routing | sanic_routing.tree | [
"Node"
] | 4 | 1 | 462f66a182b53bd5 | sanic-org/sanic-routing@0691e9f33#sanic_routing/tree.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
domanchi/gibberish-detector | bug fix: detector now uses model's charset | file | commit | bug fix: detector now uses model's charset | import string
from . import serializer
from .model import Model
from .util import NGramIterator
def create_from_model(filename: str, limit: float = 4.0):
"""
:raises: IOError
:raises: ParsingError
"""
with open(filename) as f:
model = serializer.deserialize(f.read())
return Detector(... | from . import serializer
from .model import Model
from .util import NGramIterator
def create_from_model(filename: str, limit: float = 4.0):
"""
:raises: IOError
:raises: ParsingError
"""
with open(filename) as f:
model = serializer.deserialize(f.read())
return Detector(model, limit)
... | tests/detector_test.py | [
"tests/detector_test.py::test_handles_values_outside_of_character_map_gracefully"
] | 2021-03-03 | 2021-03-01 | MIT | LICENSE | 2cfee8b30c92484927003c2cf042a1a4103ab2f7 | b47af7a437a861a3e4d199744457d1a4014dc597 | https://github.com/domanchi/gibberish-detector/commit/2cfee8b30c92484927003c2cf042a1a4103ab2f7 | https://github.com/domanchi/gibberish-detector | gibberish_detector.detector | [
"Detector"
] | 4 | 1 | e37031521ebd615a | domanchi/gibberish-detector@2cfee8b30#gibberish_detector/detector.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
David-Wobrock/sqlvalidator | Fix some unnest parsing | file | commit | Fix some unnest parsing | from typing import Any, Optional, Tuple
from sqlvalidator.grammar.sql import (
Alias,
AnalyticsClause,
ArithmaticOperator,
Array,
ArrayAggFunctionCall,
BitwiseOperation,
Boolean,
BooleanCondition,
Case,
CastFunctionCall,
ChainedColumns,
Column,
CombinedQueries,
C... | from typing import Any, Optional, Tuple
from sqlvalidator.grammar.sql import (
Alias,
AnalyticsClause,
ArithmaticOperator,
Array,
ArrayAggFunctionCall,
BitwiseOperation,
Boolean,
BooleanCondition,
Case,
CastFunctionCall,
ChainedColumns,
Column,
CombinedQueries,
C... | tests/integration/test_formatting.py | [
"tests/integration/test_formatting.py::test_multiple_joins_unnest",
"tests/integration/test_formatting.py::test_nested_multiple_joins_unnest"
] | 2021-02-20 | 2021-02-20 | MIT | LICENSE | 65c4b2275d1d94bd87a28c8fffd6c6128e070209 | 7734d5baef3323c7d0a7c1b93fda7a1210d9915c | https://github.com/David-Wobrock/sqlvalidator/commit/65c4b2275d1d94bd87a28c8fffd6c6128e070209 | https://github.com/David-Wobrock/sqlvalidator | sqlvalidator.grammar.lexer | [
"FromStatementParser",
"UnnestParser"
] | 19 | 2 | c08b0094e70b89cb | David-Wobrock/sqlvalidator@65c4b2275#sqlvalidator/grammar/lexer.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
David-Wobrock/sqlvalidator | Fix ARRAY_AGG function call with only one arg | file | commit | Fix ARRAY_AGG function call with only one arg | from typing import Any
from sqlvalidator.grammar.tokeniser import lower
DEFAULT_LINE_LENGTH = 88
def transform(obj: Any) -> str:
if hasattr(obj, "transform"):
return obj.transform()
return str(obj)
class SelectStatement:
def __init__(
self,
expressions,
select_all=False... | from typing import Any
from sqlvalidator.grammar.tokeniser import lower
DEFAULT_LINE_LENGTH = 88
def transform(obj: Any) -> str:
if hasattr(obj, "transform"):
return obj.transform()
return str(obj)
class SelectStatement:
def __init__(
self,
expressions,
select_all=False... | tests/integration/test_formatting.py | [
"tests/integration/test_formatting.py::test_array_agg"
] | 2021-02-20 | 2021-02-20 | MIT | LICENSE | 7734d5baef3323c7d0a7c1b93fda7a1210d9915c | 3000a4f6d3ee387e726b56de94ee82b97e2d9abf | https://github.com/David-Wobrock/sqlvalidator/commit/7734d5baef3323c7d0a7c1b93fda7a1210d9915c | https://github.com/David-Wobrock/sqlvalidator | sqlvalidator.grammar.sql | [
"ArrayAggFunctionCall"
] | 8 | 1 | f2441febab92b890 | David-Wobrock/sqlvalidator@7734d5bae#sqlvalidator/grammar/sql.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
nschloe/pytest-codeblocks | fix for markdown starting with code block | file | commit | fix for markdown starting with code block | def extract(f, *args, **kwargs):
with open(f, "r") as handle:
return from_buffer(handle, *args, **kwargs)
def from_buffer(f, max_num_lines=10000, syntax_filter=None):
out = []
previous_line = None
k = 1
while True:
line = f.readline()
k += 1
if not line:
... | def extract(f, *args, **kwargs):
with open(f, "r") as handle:
return from_buffer(handle, *args, **kwargs)
def from_buffer(f, max_num_lines=10000, syntax_filter=None):
out = []
previous_line = None
k = 1
while True:
line = f.readline()
k += 1
if not line:
... | test/test_exdown.py | [
"test/test_exdown.py::test_reference"
] | 2021-02-17 | 2021-02-16 | MIT | LICENSE.txt | 640f31fa8da5955669850fd48bb9f0d32bb5b2dc | 384d6f488a569a6daafb2612356ac4f18e674d79 | https://github.com/nschloe/pytest-codeblocks/commit/640f31fa8da5955669850fd48bb9f0d32bb5b2dc | https://github.com/nschloe/pytest-codeblocks | exdown.main | [
"from_buffer"
] | 5 | 1 | bb0b4da7975eae41 | nschloe/pytest-codeblocks@640f31fa8#exdown/main.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
fastavro/fastavro | write_union | fix bug in union writing with tuple notation | function | docstring | A union is encoded by first writing a long value indicating the
zero-based position within the union of the schema of its value. The value
is then encoded per the indicated schema within the union. | def write_union(encoder, datum, schema, named_schemas, fname):
"""A union is encoded by first writing a long value indicating the
zero-based position within the union of the schema of its value. The value
is then encoded per the indicated schema within the union."""
best_match_index = -1
if isinsta... | def write_union(encoder, datum, schema, named_schemas, fname):
"""A union is encoded by first writing a long value indicating the
zero-based position within the union of the schema of its value. The value
is then encoded per the indicated schema within the union."""
best_match_index = -1
if isinsta... | tests/test_fastavro.py | [
"tests/test_fastavro.py::test_tuple_writer_picks_correct_union_path"
] | 2021-02-14 | 2021-02-06 | MIT | LICENSE | 0e8fa90510edd388664f53da8608e9b3b72b4f1f | a6f18252415f23ad1ce06ce019ac2f1d9feef0aa | https://github.com/fastavro/fastavro/commit/0e8fa90510edd388664f53da8608e9b3b72b4f1f | https://github.com/fastavro/fastavro | fastavro._write_py | [
"write_union"
] | 5 | 1 | 59d4ab4c6d099d0f | fastavro/fastavro@0e8fa9051#write_union | python | 2026-08-18 | goldset/0.1 | 1 | |
David-Wobrock/sqlvalidator | Fix variable leaking from one condition to another | file | commit | Fix variable leaking from one condition to another | from typing import Any, Optional, Tuple
from sqlvalidator.grammar.sql import (
Alias,
AnalyticsClause,
ArithmaticOperator,
Array,
ArrayAggFunctionCall,
BitwiseOperation,
Boolean,
BooleanCondition,
Case,
CastFunctionCall,
ChainedColumns,
Column,
CombinedQueries,
C... | from typing import Any, Optional, Tuple
from sqlvalidator.grammar.sql import (
Alias,
AnalyticsClause,
ArithmaticOperator,
Array,
ArrayAggFunctionCall,
BitwiseOperation,
Boolean,
BooleanCondition,
Case,
CastFunctionCall,
ChainedColumns,
Column,
CombinedQueries,
C... | tests/integration/test_formatting.py | [
"tests/integration/test_formatting.py::test_count_equal_countif"
] | 2021-02-14 | 2021-02-06 | MIT | LICENSE | f3c23ee795f28a1a907646b264d97ebc41ff2aa5 | f6462b9d024d29dc68a1804c6e3de1c8f3c286d0 | https://github.com/David-Wobrock/sqlvalidator/commit/f3c23ee795f28a1a907646b264d97ebc41ff2aa5 | https://github.com/David-Wobrock/sqlvalidator | sqlvalidator.grammar.lexer | [
"ExpressionParser"
] | 3 | 1 | 88bc7d77009be622 | David-Wobrock/sqlvalidator@f3c23ee79#sqlvalidator/grammar/lexer.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
sendgrid/python-http-client | fix: add reduce to allow errors to be pickled (#148) | file | commit | fix: add reduce to allow errors to be pickled (#148) | import json
class HTTPError(Exception):
""" Base of all other errors"""
def __init__(self, error):
self.status_code = error.code
self.reason = error.reason
self.body = error.read()
self.headers = error.hdrs
@property
def to_dict(self):
"""
:return: dic... | import json
class HTTPError(Exception):
""" Base of all other errors"""
def __init__(self, *args):
if len(args) == 4:
self.status_code = args[0]
self.reason = args[1]
self.body = args[2]
self.headers = args[3]
else:
self.status_code ... | tests/test_unit.py | [
"tests/test_unit.py::TestClient::test_pickle_error"
] | 2021-02-10 | 2021-01-06 | MIT | LICENSE | dafd024951cd5c45563ad52f5d39fb04f10f4f25 | 6d62911ab0d0645b499e14bb17c302b48f3c10e4 | https://github.com/sendgrid/python-http-client/commit/dafd024951cd5c45563ad52f5d39fb04f10f4f25 | https://github.com/sendgrid/python-http-client | python_http_client.exceptions | [
"HTTPError"
] | 22 | 1 | ab89ce9b2f782aa3 | sendgrid/python-http-client@dafd02495#python_http_client/exceptions.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
lark-parser/lark | Transformer_NonRecursive | Fix for #826 (Thanks @mikeiovine) + stubs + tests | function | docstring | Same as Transformer but non-recursive.
Like Transformer, it doesn't change the original tree.
Useful for huge trees. | class Transformer_NonRecursive(Transformer):
"""Same as Transformer but non-recursive.
Like Transformer, it doesn't change the original tree.
Useful for huge trees.
"""
def transform(self, tree):
# Tree to postfix
rev_postfix = []
q = [tree]
while q:
t ... | class Transformer_NonRecursive(Transformer):
"""Same as Transformer but non-recursive.
Like Transformer, it doesn't change the original tree.
Useful for huge trees.
"""
def transform(self, tree):
# Tree to postfix
rev_postfix = []
q = [tree]
while q:
t ... | tests/test_trees.py | [
"tests/test_trees.py::TestTrees::test_transformer_variants"
] | 2021-02-05 | 2021-01-27 | MIT | LICENSE | 7f795e827193be5849ac7ec574b51670a972b555 | 3e7e66eb8e06cd77fcc1712aeffcb9b86db09290 | https://github.com/lark-parser/lark/commit/7f795e827193be5849ac7ec574b51670a972b555 | https://github.com/lark-parser/lark | lark.visitors | [
"Transformer_NonRecursive"
] | 2 | 1 | a941355eb618f070 | lark-parser/lark@7f795e827#Transformer_NonRecursive | python | 2026-08-18 | goldset/0.1 | 1 | |
David-Wobrock/sqlvalidator | Fix 'date' column in if (a bit approx solution, but works for now) | file | commit | Fix 'date' column in if (a bit approx solution, but works for now) | from typing import Any, Optional, Tuple
from sqlvalidator.grammar.sql import (
Alias,
AnalyticsClause,
ArithmaticOperator,
Array,
ArrayAggFunctionCall,
BitwiseOperation,
Boolean,
BooleanCondition,
Case,
CastFunctionCall,
ChainedColumns,
Column,
CombinedQueries,
C... | from typing import Any, Optional, Tuple
from sqlvalidator.grammar.sql import (
Alias,
AnalyticsClause,
ArithmaticOperator,
Array,
ArrayAggFunctionCall,
BitwiseOperation,
Boolean,
BooleanCondition,
Case,
CastFunctionCall,
ChainedColumns,
Column,
CombinedQueries,
C... | tests/integration/test_formatting.py | [
"tests/integration/test_formatting.py::test_date_column_in_function_call"
] | 2021-02-05 | 2021-02-04 | MIT | LICENSE | 46a6a3be701c235fbc760ca664cbcec85b8e8bca | e6d2d62ddc952a5ebc1b94038c9d50f6757113c7 | https://github.com/David-Wobrock/sqlvalidator/commit/46a6a3be701c235fbc760ca664cbcec85b8e8bca | https://github.com/David-Wobrock/sqlvalidator | sqlvalidator.grammar.lexer | [
"ExpressionParser"
] | 4 | 1 | 604533d3a76a553b | David-Wobrock/sqlvalidator@46a6a3be7#sqlvalidator/grammar/lexer.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
cscorley/whatthepatch | Fix unified diff parse error | file | commit | Fix unified diff parse error | # -*- coding: utf-8 -*-
import re
from collections import namedtuple
from .snippets import split_by_regex, findall_regex
from . import exceptions
header = namedtuple("header", "index_path old_path old_version new_path new_version",)
diffobj = namedtuple("diff", "header changes text")
Change = namedtuple("Change", "... | # -*- coding: utf-8 -*-
import re
from collections import namedtuple
from .snippets import split_by_regex, findall_regex
from . import exceptions
header = namedtuple("header", "index_path old_path old_version new_path new_version",)
diffobj = namedtuple("diff", "header changes text")
Change = namedtuple("Change", "... | tests/test_apply.py | [
"tests/test_apply.py::ApplyTestSuite::test_diff_context"
] | 2021-02-04 | 2020-11-14 | MIT | LICENSE | 2d3e505281140d8ec9e4207a5a6f3cb11f3d3f96 | fd85f991260f25fdf351689a5dcf163df6ecfb90 | https://github.com/cscorley/whatthepatch/commit/2d3e505281140d8ec9e4207a5a6f3cb11f3d3f96 | https://github.com/cscorley/whatthepatch | whatthepatch.patch | [
"parse_unified_diff"
] | 5 | 1 | 0afe129ea0d6398d | cscorley/whatthepatch@2d3e50528#whatthepatch/patch.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
David-Wobrock/sqlvalidator | Fix query after condition 'is null' | file | commit | Fix query after condition 'is null' | from typing import Any, Optional, Tuple
from sqlvalidator.grammar.sql import (
Alias,
AnalyticsClause,
ArithmaticOperator,
Array,
ArrayAggFunctionCall,
BitwiseOperation,
Boolean,
BooleanCondition,
Case,
CastFunctionCall,
ChainedColumns,
Column,
CombinedQueries,
C... | from typing import Any, Optional, Tuple
from sqlvalidator.grammar.sql import (
Alias,
AnalyticsClause,
ArithmaticOperator,
Array,
ArrayAggFunctionCall,
BitwiseOperation,
Boolean,
BooleanCondition,
Case,
CastFunctionCall,
ChainedColumns,
Column,
CombinedQueries,
C... | tests/unit/test_lexer.py | [
"tests/unit/test_lexer.py::test_where_clause_keeps_generator_intact_is_null_condition"
] | 2021-02-04 | 2021-02-04 | MIT | LICENSE | e6d2d62ddc952a5ebc1b94038c9d50f6757113c7 | 4a1d62acdc4bb866b713fc36ae476d9e6ed91e8b | https://github.com/David-Wobrock/sqlvalidator/commit/e6d2d62ddc952a5ebc1b94038c9d50f6757113c7 | https://github.com/David-Wobrock/sqlvalidator | sqlvalidator.grammar.lexer | [
"ExpressionParser"
] | 14 | 1 | f101bd158e1d315f | David-Wobrock/sqlvalidator@e6d2d62dd#sqlvalidator/grammar/lexer.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
pavlov99/ajsonrpc | FIX: request validation | file | commit | FIX: request validation | from typing import Union, Optional, Any, Iterable, Mapping, List, Dict
from numbers import Number
import warnings
import collections.abc
class JSONRPC20RequestIdWarning(UserWarning):
pass
class JSONRPC20ResponseIdWarning(UserWarning):
pass
class JSONRPC20Request:
"""JSON-RPC 2.0 Request object.
A... | from typing import Union, Optional, Any, Iterable, Mapping, List, Dict
from numbers import Number
import warnings
import collections.abc
class JSONRPC20RequestIdWarning(UserWarning):
pass
class JSONRPC20ResponseIdWarning(UserWarning):
pass
class JSONRPC20Request:
"""JSON-RPC 2.0 Request object.
A... | ajsonrpc/tests/test_manager.py | [
"ajsonrpc/tests/test_manager.py::TestAsyncJSONRPCResponseManager::test_get_response_for_payload_batch"
] | 2021-01-31 | 2021-01-31 | MIT | LICENSE.txt | cf2b9e8f2b2a131b5240d87048ce2e1f1c6326e9 | e7f774d81fe56f188b47279e852649818cb94949 | https://github.com/pavlov99/ajsonrpc/commit/cf2b9e8f2b2a131b5240d87048ce2e1f1c6326e9 | https://github.com/pavlov99/ajsonrpc | ajsonrpc.core | [
"JSONRPC20Request"
] | 2 | 1 | cccc5f81580edfd2 | pavlov99/ajsonrpc@cf2b9e8f2#ajsonrpc/core.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
miguelgrinberg/python-engineio | Fix error handling for ASGI WebSocket errors (Fixes #210) | file | commit | Fix error handling for ASGI WebSocket errors (Fixes #210) | import os
import sys
import asyncio
from engineio.static_files import get_static_file
class ASGIApp:
"""ASGI application middleware for Engine.IO.
This middleware dispatches traffic to an Engine.IO application. It can
also serve a list of static files to the client, or forward unrelated
HTTP traffic... | import os
import sys
import asyncio
from engineio.static_files import get_static_file
class ASGIApp:
"""ASGI application middleware for Engine.IO.
This middleware dispatches traffic to an Engine.IO application. It can
also serve a list of static files to the client, or forward unrelated
HTTP traffic... | tests/asyncio/test_async_asgi.py | [
"tests/asyncio/test_async_asgi.py::AsgiTests::test_make_response_websocket_accept"
] | 2021-01-31 | 2021-01-31 | MIT | LICENSE | e8e4ba5d1c832e14568e575ecdd173395493ea48 | e16bbcac1c76dbab61dd378768128af5dfeb8357 | https://github.com/miguelgrinberg/python-engineio/commit/e8e4ba5d1c832e14568e575ecdd173395493ea48 | https://github.com/miguelgrinberg/python-engineio | engineio.async_drivers.asgi | [
"make_response"
] | 2 | 1 | f774823044463ecc | miguelgrinberg/python-engineio@e8e4ba5d1#engineio/async_drivers/asgi.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | fix issue https://github.com/terryyin/lizard/issues/309 | file | commit | fix issue https://github.com/terryyin/lizard/issues/309 | '''
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/testJava.py | [
"test/test_languages/testJava.py::TestJava::test_abstract_function_without_body_with_throws_following_method"
] | 2021-01-29 | 2020-10-20 | MIT | LICENSE.txt | 4891f116489fc5ae9cab781da1264352ad00e749 | 471ef1be1ce1d5575d9866a2287ccce2910cc66c | https://github.com/terryyin/lizard/commit/4891f116489fc5ae9cab781da1264352ad00e749 | https://github.com/terryyin/lizard | lizard_languages.clike | [
"CLikeStates"
] | 7 | 1 | 4efc166374237faa | terryyin/lizard@4891f1164#lizard_languages/clike.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
lark-parser/lark | ForestToParseTree | Fix an SPPF cycle edge case (Issue #820) | function | docstring | Used by the earley parser when ambiguity equals 'resolve' or
'explicit'. Transforms an SPPF into an (ambiguous) parse tree.
tree_class: The tree class to use for construction
callbacks: A dictionary of rules to functions that output a tree
prioritizer: A `ForestVisitor` that manipulates the priorities of
ForestNod... | class ForestToParseTree(ForestTransformer):
"""Used by the earley parser when ambiguity equals 'resolve' or
'explicit'. Transforms an SPPF into an (ambiguous) parse tree.
tree_class: The tree class to use for construction
callbacks: A dictionary of rules to functions that output a tree
prioritizer:... | class ForestToParseTree(ForestTransformer):
"""Used by the earley parser when ambiguity equals 'resolve' or
'explicit'. Transforms an SPPF into an (ambiguous) parse tree.
tree_class: The tree class to use for construction
callbacks: A dictionary of rules to functions that output a tree
prioritizer:... | tests/test_parser.py | [
"tests/test_parser.py::TestFullEarleyDynamic::test_cycle2"
] | 2021-01-26 | 2021-01-25 | MIT | LICENSE | e88646b586a9f8ea796a75461c5c9d7f47788c93 | 9379161aad48994302251803ef7e932cbbd3c4ba | https://github.com/lark-parser/lark/commit/e88646b586a9f8ea796a75461c5c9d7f47788c93 | https://github.com/lark-parser/lark | lark.parsers.earley_forest | [
"ForestToParseTree"
] | 6 | 1 | 9e8bc9f7c5f9889b | lark-parser/lark@e88646b58#ForestToParseTree | python | 2026-08-18 | goldset/0.1 | 1 | |
py2many/py2many | add_list_calls | Fix tests | function | docstring | Provide context to Module and Function Def | def add_list_calls(node):
"""Provide context to Module and Function Def""" | def add_list_calls(node):
"""Provide context to Module and Function Def"""
return ListCallTransformer().visit(node) | pyrs/tests/test_tracer.py | [
"pyrs/tests/test_tracer.py::TestValueType::test_list_assignment_based_on_later_append"
] | 2021-01-23 | 2020-12-08 | MIT | LICENSE | e91480343898dc4eb89f9d1e08d7be8ef11c4e69 | 3d8eb89f93988f3262e57b524b1e4a6d0903b628 | https://github.com/py2many/py2many/commit/e91480343898dc4eb89f9d1e08d7be8ef11c4e69 | https://github.com/py2many/py2many | pyrs.context | [
"add_list_calls"
] | 1 | 1 | 4da42523461e0534 | py2many/py2many@e91480343#add_list_calls | python | 2026-08-18 | goldset/0.1 | 1 | |
fastavro/fastavro | fix issue where _inject_schema was confused about a previously injected schema | file | commit | fix issue where _inject_schema was confused about a previously injected schema | # cython: auto_cpdef=True
import math
from os import path
from copy import deepcopy
import json
from ._schema_common import (
PRIMITIVES,
UnknownType,
SchemaParseException,
RESERVED_PROPERTIES,
OPTIONAL_FIELD_PROPERTIES,
RESERVED_FIELD_PROPERTIES,
)
def extract_record_type(schema):
if isi... | # cython: auto_cpdef=True
import math
from os import path
from copy import deepcopy
import json
from ._schema_common import (
PRIMITIVES,
UnknownType,
SchemaParseException,
RESERVED_PROPERTIES,
OPTIONAL_FIELD_PROPERTIES,
RESERVED_FIELD_PROPERTIES,
)
def extract_record_type(schema):
if isi... | tests/test_schema.py | [
"tests/test_schema.py::test_load_schema_bug"
] | 2021-01-17 | 2021-01-15 | MIT | LICENSE | 67126e5f3842a76f9817e4f187a1edd1e89f676f | 3a15d0f137357a626ac42cc22d05e5c5a05affe0 | https://github.com/fastavro/fastavro/commit/67126e5f3842a76f9817e4f187a1edd1e89f676f | https://github.com/fastavro/fastavro | fastavro._schema_py | [
"_inject_schema"
] | 7 | 1 | 4924fa9d507a9b43 | fastavro/fastavro@67126e5f3#fastavro/_schema_py.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kayak/pypika | Fix empty Postgres array syntax (#539) | file | commit | Fix empty Postgres array syntax (#539) | import inspect
import re
from datetime import date
from enum import Enum
from typing import Any, Iterable, Iterator, List, Optional, Sequence, Set, TYPE_CHECKING, Type, TypeVar, Union
from pypika.enums import Arithmetic, Boolean, Comparator, Dialects, Equality, JSONOperators, Matching, Order
from pypika.utils import (... | import inspect
import re
from datetime import date
from enum import Enum
from typing import Any, Iterable, Iterator, List, Optional, Sequence, Set, TYPE_CHECKING, Type, TypeVar, Union
from pypika.enums import Arithmetic, Boolean, Comparator, Dialects, Equality, JSONOperators, Matching, Order
from pypika.utils import (... | pypika/tests/test_tuples.py | [
"pypika/tests/test_tuples.py::ArrayTests::test_empty_psql_array"
] | 2021-01-11 | 2021-01-07 | Apache-2.0 | LICENSE.txt | aadc9f37503226674c877ca29ef444a3f2e4813c | d94277496e2a51b272ae21e9a8b7792bfc355290 | https://github.com/kayak/pypika/commit/aadc9f37503226674c877ca29ef444a3f2e4813c | https://github.com/kayak/pypika | pypika.terms | [
"Array"
] | 6 | 1 | 78032ad74fcd9823 | kayak/pypika@aadc9f375#pypika/terms.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kayak/pypika | Fix PostgreSQLQueryBuilder returning clause code causing Py3.9 test failures | file | commit | Fix PostgreSQLQueryBuilder returning clause code causing Py3.9 test failures | from copy import copy
from typing import Any, Optional, Union
from pypika.enums import Dialects
from pypika.queries import (
CreateQueryBuilder,
Query,
QueryBuilder,
Table,
)
from pypika.terms import ArithmeticExpression, Criterion, EmptyCriterion, Field, Function, Star, Term, ValueWrapper
from pypika.... | import itertools
from copy import copy
from typing import Any, Optional, Union
from pypika.enums import Dialects
from pypika.queries import (
CreateQueryBuilder,
Query,
QueryBuilder,
Table,
)
from pypika.terms import ArithmeticExpression, Criterion, EmptyCriterion, Field, Function, Star, Term, ValueWra... | pypika/tests/dialects/test_postgresql.py | [
"pypika/tests/dialects/test_postgresql.py::ReturningClauseTests::test_return_field_from_join_table"
] | 2021-01-04 | 2020-12-09 | Apache-2.0 | LICENSE.txt | 217060873972c9aa63cd37f2d765deaf64f138c9 | 1e2104eae8a282d7d7a9b56ed7a62f94eb14f830 | https://github.com/kayak/pypika/commit/217060873972c9aa63cd37f2d765deaf64f138c9 | https://github.com/kayak/pypika | pypika.dialects | [
"PostgreSQLQueryBuilder"
] | 8 | 1 | 1c354bef59c24f58 | kayak/pypika@217060873#pypika/dialects.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
David-Wobrock/sqlvalidator | Fix wrong positive in SQL parsing | file | commit | Fix wrong positive in SQL parsing | import os
import sys
import tokenize
from typing import IO, List, Optional, Set, Tuple
from . import sql_formatter
NO_SQLFORMAT_COMMENT = "nosqlformat"
POSSIBLE_QUOTES = ('"""', "'''", '"', "'")
STRING_PREFIXES = (
"r",
"u",
"ur",
"R",
"U",
"UR",
"Ur",
"uR",
"f",
"F",
"fr"... | import os
import sys
import tokenize
from typing import IO, List, Optional, Set, Tuple
from . import sql_formatter
NO_SQLFORMAT_COMMENT = "nosqlformat"
POSSIBLE_QUOTES = ('"""', "'''", '"', "'")
STRING_PREFIXES = (
"r",
"u",
"ur",
"R",
"U",
"UR",
"Ur",
"uR",
"f",
"F",
"fr"... | tests/integration/test_file_formatting.py | [
"tests/integration/test_file_formatting.py::test_string_starting_with_selected"
] | 2020-12-31 | 2020-12-31 | MIT | LICENSE | 683388a48abc237f4554e881be440599d8610296 | 0a343e0afdf388bf0eb9aeab4a4cb3d3c18a8b0f | https://github.com/David-Wobrock/sqlvalidator/commit/683388a48abc237f4554e881be440599d8610296 | https://github.com/David-Wobrock/sqlvalidator | sqlvalidator.file_formatter | [
"is_select_string"
] | 6 | 1 | 04c69dd555fce6f3 | David-Wobrock/sqlvalidator@683388a48#sqlvalidator/file_formatter.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
David-Wobrock/sqlvalidator | Implement union all and fix formatting | file | commit | Implement union all and fix formatting | from typing import Any
from sqlvalidator.grammar.tokeniser import lower
DEFAULT_LINE_LENGTH = 88
def transform(obj: Any) -> str:
if hasattr(obj, "transform"):
return obj.transform()
return str(obj)
class SelectStatement:
def __init__(
self,
expressions,
select_all=False... | from typing import Any
from sqlvalidator.grammar.tokeniser import lower
DEFAULT_LINE_LENGTH = 88
def transform(obj: Any) -> str:
if hasattr(obj, "transform"):
return obj.transform()
return str(obj)
class SelectStatement:
def __init__(
self,
expressions,
select_all=False... | tests/integration/test_formatting.py | [
"tests/integration/test_formatting.py::test_union_all_nested_query"
] | 2020-12-31 | 2020-12-31 | MIT | LICENSE | 0a343e0afdf388bf0eb9aeab4a4cb3d3c18a8b0f | 0e0640b1736e9425f703f6688f7947764efe64a8 | https://github.com/David-Wobrock/sqlvalidator/commit/0a343e0afdf388bf0eb9aeab4a4cb3d3c18a8b0f | https://github.com/David-Wobrock/sqlvalidator | sqlvalidator.grammar.sql | [
"CombinedQueries",
"SelectStatement"
] | 12 | 1 | 60b3dc81fb3a310b | David-Wobrock/sqlvalidator@0a343e0af#sqlvalidator/grammar/sql.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kayak/pypika | Fix groupby_alias specified multiple times in kwargs when subqueries are used | file | commit | Fix groupby_alias specified multiple times in kwargs when subqueries are used | from copy import copy
from typing import Any, Optional, Union
from pypika.enums import Dialects
from pypika.queries import (
CreateQueryBuilder,
Query,
QueryBuilder,
Table,
)
from pypika.terms import ArithmeticExpression, Criterion, EmptyCriterion, Field, Function, Star, Term, ValueWrapper
from pypika.... | from copy import copy
from typing import Any, Optional, Union
from pypika.enums import Dialects
from pypika.queries import (
CreateQueryBuilder,
Query,
QueryBuilder,
Table,
)
from pypika.terms import ArithmeticExpression, Criterion, EmptyCriterion, Field, Function, Star, Term, ValueWrapper
from pypika.... | pypika/tests/dialects/test_mssql.py | [
"pypika/tests/dialects/test_mssql.py::SelectTests::test_groupby_alias_False_does_not_group_by_alias_when_subqueries_are_present"
] | 2020-12-09 | 2020-12-04 | Apache-2.0 | LICENSE.txt | 8d6f7b85774a94c796338f8c8cbf1b12701a3885 | a3f1d025822ed34408ad93c8e8d9f3f794378f27 | https://github.com/kayak/pypika/commit/8d6f7b85774a94c796338f8c8cbf1b12701a3885 | https://github.com/kayak/pypika | pypika.dialects | [
"MSSQLQueryBuilder",
"OracleQueryBuilder"
] | 10 | 1 | a97923fd9646f22b | kayak/pypika@8d6f7b857#pypika/dialects.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
algorand/pyteal | valid_base32 | Fix base32 validation (#34) | function | docstring | check if s is a valid base32 encoding string | def valid_base32(s:str):
""" check if s is a valid base32 encoding string
"""
pattern = re.compile(r'[A-Z2-9]*') # RFC 4648 base 32 w/o padding
if pattern.fullmatch(s) is None:
raise TealInputError("{} is not a valid RFC 4648 base 32 string".format(s)) | def valid_base32(s:str):
""" check if s is a valid base32 encoding string
"""
noPaddingPattern = re.compile(r'[A-Z2-7]*')
paddingPattern = re.compile(r'^(?:[A-Z2-7]{8})*(?:([A-Z2-7]{8})|([A-Z2-7]{2}[=]{6})|([A-Z2-7]{4}[=]{4})|([A-Z2-7]{5}[=]{3})|([A-Z2-7]{7}[=]{1}))')
if noPaddingPattern.fullmatch(... | pyteal/ast/bytes_test.py | [
"pyteal/ast/bytes_test.py::test_bytes_base32_padding"
] | 2020-12-03 | 2020-12-02 | MIT | LICENSE | 6ae118548deea5f05cbb2494778dc3c415abb08d | 2b064dccd24703faa01cf619e5a6b28b618c071a | https://github.com/algorand/pyteal/commit/6ae118548deea5f05cbb2494778dc3c415abb08d | https://github.com/algorand/pyteal | pyteal.types | [
"valid_base32"
] | 5 | 1 | dd8c05eb7c2c98b0 | algorand/pyteal@6ae118548#valid_base32 | python | 2026-08-18 | goldset/0.1 | 1 | |
fastavro/fastavro | fix bug with schema evolution in unions | file | commit | fix bug with schema evolution in unions | # cython: auto_cpdef=True
"""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)
from io import BytesIO
from struct import error as StructErr... | # cython: auto_cpdef=True
"""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)
from io import BytesIO
from struct import error as StructErr... | tests/test_schema_evolution.py | [
"tests/test_schema_evolution.py::test_union_of_lists_evolution_with_doc",
"tests/test_schema_evolution.py::test_union_of_lists_evolution_with_extra_type"
] | 2020-12-02 | 2020-11-26 | MIT | LICENSE | e85aa6e93a28bb9fd7e88c09ae87a687163b9805 | 0e1c55ceb9d001b69bebca6f8ed75f241beb254c | https://github.com/fastavro/fastavro/commit/e85aa6e93a28bb9fd7e88c09ae87a687163b9805 | https://github.com/fastavro/fastavro | fastavro._read_py | [
"match_schemas",
"match_types"
] | 13 | 2 | 49950972593b7445 | fastavro/fastavro@e85aa6e93#fastavro/_read_py.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
jwodder/javaproperties | Fix the handling of empty XML tags | file | commit | Fix the handling of empty XML tags | import codecs
import xml.etree.ElementTree as ET
from xml.sax.saxutils import escape, quoteattr
from .util import itemize
def load_xml(fp, object_pairs_hook=dict):
r"""
Parse the contents of the file-like object ``fp`` as an XML properties file
and return a `dict` of the key-value ... | import codecs
import xml.etree.ElementTree as ET
from xml.sax.saxutils import escape, quoteattr
from .util import itemize
def load_xml(fp, object_pairs_hook=dict):
r"""
Parse the contents of the file-like object ``fp`` as an XML properties file
and return a `dict` of the key-value ... | test/test_loads_xml.py | [
"test/test_loads_xml.py::test_loads_xml[<properties><entry"
] | 2020-11-28 | 2020-11-27 | MIT | LICENSE | cb9f9e5182afbc96c51abf94b644eb904afe92fb | c54b3bb7ae93d0926e250a167b546a3119518b7d | https://github.com/jwodder/javaproperties/commit/cb9f9e5182afbc96c51abf94b644eb904afe92fb | https://github.com/jwodder/javaproperties | javaproperties.xmlprops | [
"_fromXML"
] | 2 | 1 | 57152256c5159d0d | jwodder/javaproperties@cb9f9e518#src/javaproperties/xmlprops.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
andy-landy/traceback_with_variables | fix PYTHONPATH in test_main.py | file | commit | fix PYTHONPATH in test_main.py | import os
import re
from pathlib import Path
from subprocess import check_output, CalledProcessError, STDOUT
from typing import List
import pytest
import traceback_with_variables
def f(a, b):
print(a)
print(b)
assert a == b
def assert_equals_ref(name: str, value: str) -> None:
path = 'tests/dumps/... | import os
import re
from pathlib import Path
from subprocess import check_output, CalledProcessError, STDOUT
from typing import List
import pytest
import traceback_with_variables
def f(a, b):
print(a)
print(b)
assert a == b
def assert_equals_ref(name: str, value: str) -> None:
path = 'tests/dumps/... | tests/test_main.py | [
"tests/test_main.py::test_simple_code_no_args"
] | 2020-11-08 | 2020-11-08 | MIT | LICENSE | a5d54fba2013e1ca786c2e60ef252084a8e8693f | 00a62bcaff7c267079d7d3af017afe7b1cdd8cc3 | https://github.com/andy-landy/traceback_with_variables/commit/a5d54fba2013e1ca786c2e60ef252084a8e8693f | https://github.com/andy-landy/traceback_with_variables | tests.utils | [
"run_code"
] | 4 | 1 | 50c4d33a8f71495b | andy-landy/traceback_with_variables@a5d54fba2#tests/utils.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kayak/pypika | Fix OracleQuery Dialect Quote Char | file | commit | Fix OracleQuery Dialect Quote Char | from copy import copy
from typing import Any, Optional, Union
from pypika.enums import Dialects
from pypika.queries import (
CreateQueryBuilder,
Query,
QueryBuilder,
Table,
)
from pypika.terms import ArithmeticExpression, Criterion, EmptyCriterion, Field, Function, Star, Term, ValueWrapper
from pypika.... | from copy import copy
from typing import Any, Optional, Union
from pypika.enums import Dialects
from pypika.queries import (
CreateQueryBuilder,
Query,
QueryBuilder,
Table,
)
from pypika.terms import ArithmeticExpression, Criterion, EmptyCriterion, Field, Function, Star, Term, ValueWrapper
from pypika.... | pypika/tests/test_selects.py | [
"pypika/tests/test_selects.py::SelectTests::test_oracle_query_uses_no_quote_chars"
] | 2020-11-04 | 2020-11-03 | Apache-2.0 | LICENSE.txt | a59ab3ea4e7f8fce88c6d9a8e49b1d1cb9c3ce53 | 82d08770301449ce3ddb8d7c1fe3357f3d3bda34 | https://github.com/kayak/pypika/commit/a59ab3ea4e7f8fce88c6d9a8e49b1d1cb9c3ce53 | https://github.com/kayak/pypika | pypika.dialects | [
"OracleQueryBuilder"
] | 2 | 1 | 4046d74f917b3e23 | kayak/pypika@a59ab3ea4#pypika/dialects.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
pyeve/events | Events | Fix Events.__len__ counting __events__ | function | docstring | Encapsulates the core to event subscription and event firing, and feels
like a "natural" part of the language.
The class Events is there mainly for 3 reasons:
- Events (Slots) are added automatically, so there is no need to
declare/create them separately. This is great for prototyping. (Note
that `__event... | class Events:
"""
Encapsulates the core to event subscription and event firing, and feels
like a "natural" part of the language.
The class Events is there mainly for 3 reasons:
- Events (Slots) are added automatically, so there is no need to
declare/create them separately. This is grea... | class Events:
"""
Encapsulates the core to event subscription and event firing, and feels
like a "natural" part of the language.
The class Events is there mainly for 3 reasons:
- Events (Slots) are added automatically, so there is no need to
declare/create them separately. This is grea... | events/tests/tests.py | [
"events/tests/tests.py::TestEvents::test_len"
] | 2020-10-31 | 2020-10-31 | BSD-2-Clause | LICENSE | e1895e27a6f87417fb87633d444d5a2562994b16 | 8e94730d404c5a40feb219fd94eca6ed44c1d757 | https://github.com/pyeve/events/commit/e1895e27a6f87417fb87633d444d5a2562994b16 | https://github.com/pyeve/events | events.events | [
"Events"
] | 2 | 1 | ef8d3a26660a4a70 | pyeve/events@e1895e27a#Events | python | 2026-08-18 | goldset/0.1 | 1 | |
uiri/toml | Add __deepcopy__ method to TomlTz class. Fix #308 (#309) | file | commit | Add __deepcopy__ method to TomlTz class. Fix #308 (#309) | from datetime import tzinfo, timedelta
class TomlTz(tzinfo):
def __init__(self, toml_offset):
if toml_offset == "Z":
self._raw_offset = "+00:00"
else:
self._raw_offset = toml_offset
self._sign = -1 if self._raw_offset[0] == '-' else 1
self._hours = int(self.... | from datetime import tzinfo, timedelta
class TomlTz(tzinfo):
def __init__(self, toml_offset):
if toml_offset == "Z":
self._raw_offset = "+00:00"
else:
self._raw_offset = toml_offset
self._sign = -1 if self._raw_offset[0] == '-' else 1
self._hours = int(self.... | tests/test_api.py | [
"tests/test_api.py::test_deepcopy_timezone"
] | 2020-10-27 | 2020-08-22 | MIT | LICENSE | 16a64414653979927e50a9ebb86deebfce7b0f95 | 9be64582fff86b9c5bd94ce52a5fedcb3d4fac01 | https://github.com/uiri/toml/commit/16a64414653979927e50a9ebb86deebfce7b0f95 | https://github.com/uiri/toml | toml.tz | [
"TomlTz"
] | 3 | 1 | 9062db6c6ae8e917 | uiri/toml@16a644146#toml/tz.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kayak/pypika | fix field with alias | file | commit | fix field with alias | import inspect
import re
from datetime import date
from enum import Enum
from typing import Any, Iterable, Iterator, List, Optional, Sequence, Set, TYPE_CHECKING, Type, TypeVar, Union
from pypika.enums import Arithmetic, Boolean, Comparator, Dialects, Equality, JSONOperators, Matching, Order
from pypika.utils import (... | import inspect
import re
from datetime import date
from enum import Enum
from typing import Any, Iterable, Iterator, List, Optional, Sequence, Set, TYPE_CHECKING, Type, TypeVar, Union
from pypika.enums import Arithmetic, Boolean, Comparator, Dialects, Equality, JSONOperators, Matching, Order
from pypika.utils import (... | pypika/tests/test_terms.py | [
"pypika/tests/test_terms.py::FieldAliasTests::test_when_alias_specified"
] | 2020-10-23 | 2020-10-08 | Apache-2.0 | LICENSE.txt | 95f3d61c4444410141fdc7d86e9863268c65e0ed | 8a398afb7d1e29e5191f2d7f801fc4fa59fb7d8a | https://github.com/kayak/pypika/commit/95f3d61c4444410141fdc7d86e9863268c65e0ed | https://github.com/kayak/pypika | pypika.terms | [
"Field",
"JSON"
] | 4 | 1 | 2e37c0b8f18d3a8f | kayak/pypika@95f3d61c4#pypika/terms.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
amoffat/sh | get_rc_exc | Properly raise ErrorReturnCode_0 on exit code 0 | function | docstring | takes a exit code or negative signal number and produces an exception
that corresponds to that return code. positive return codes yield
ErrorReturnCode exception, negative return codes yield SignalException
we also cache the generated exception so that only one signal of that type
exists, preserving identity | def get_rc_exc(rc):
""" takes a exit code or negative signal number and produces an exception
that corresponds to that return code. positive return codes yield
ErrorReturnCode exception, negative return codes yield SignalException
we also cache the generated exception so that only one signal of that t... | def get_rc_exc(rc):
""" takes a exit code or negative signal number and produces an exception
that corresponds to that return code. positive return codes yield
ErrorReturnCode exception, negative return codes yield SignalException
we also cache the generated exception so that only one signal of that t... | test.py | [
"test.py::FunctionalTests::test_ok_code_exception"
] | 2020-10-21 | 2020-09-04 | MIT | LICENSE.txt | eb9d051f1f948fbbc712c7763cc2c72af60deebd | 4b90c933397b284cd1a61501a7fcd605d364a085 | https://github.com/amoffat/sh/commit/eb9d051f1f948fbbc712c7763cc2c72af60deebd | https://github.com/amoffat/sh | sh | [
"get_rc_exc"
] | 2 | 1 | 2586fb5b9a3f5706 | amoffat/sh@eb9d051f1#get_rc_exc | python | 2026-08-18 | goldset/0.1 | 1 | |
kayak/pypika | PseudoColumn | fix pseudocolumns in orderby | function | docstring | Represents a pseudo column (a "column" which yields a value when selected
but is not actually a real table column). | class PseudoColumn(Term):
"""
Represents a pseudo column (a "column" which yields a value when selected
but is not actually a real table column).
"""
def __init__(self, name: str) -> None:
self.name = name
def get_sql(self, **kwargs: Any) -> str:
return self.name | class PseudoColumn(Term):
"""
Represents a pseudo column (a "column" which yields a value when selected
but is not actually a real table column).
"""
def __init__(self, name: str) -> None:
super().__init__(alias=None)
self.name = name
def get_sql(self, **kwargs: Any) -> str:
... | pypika/tests/test_pseudocolumns.py | [
"pypika/tests/test_pseudocolumns.py::PseudoColumnsTest::test_can_be_used_in_orderby"
] | 2020-10-19 | 2020-10-08 | Apache-2.0 | LICENSE.txt | f3f13ded49d77b4cdff9855f047d6c792307034d | 8a398afb7d1e29e5191f2d7f801fc4fa59fb7d8a | https://github.com/kayak/pypika/commit/f3f13ded49d77b4cdff9855f047d6c792307034d | https://github.com/kayak/pypika | pypika.terms | [
"PseudoColumn"
] | 1 | 1 | 9fc30e5ad059e812 | kayak/pypika@f3f13ded4#PseudoColumn | python | 2026-08-18 | goldset/0.1 | 1 | |
psf/pyperf | Fix compare_suites_list() for min_speed | file | commit | Fix compare_suites_list() for min_speed | import sys
from pyperf._cli import display_title, format_result_value
from pyperf._utils import is_significant
def is_significant_benchs(bench1, bench2):
values1 = bench1.get_values()
values2 = bench2.get_values()
if len(values1) == 1 and len(values2) == 1:
# FIXME: is it ok to consider that com... | import sys
from pyperf._cli import display_title, format_result_value
from pyperf._utils import is_significant
def is_significant_benchs(bench1, bench2):
values1 = bench1.get_values()
values2 = bench2.get_values()
if len(values1) == 1 and len(values2) == 1:
# FIXME: is it ok to consider that com... | pyperf/tests/test_perf_cli.py | [
"pyperf/tests/test_perf_cli.py::TestPerfCLI::test_compare_cli_min_speed"
] | 2020-10-14 | 2020-10-14 | MIT | COPYING | d79e4afc09d9717efd18822f3eea567c3b7d9e44 | 564ccc25a98bdd02686ecf7552891cd61220b457 | https://github.com/psf/pyperf/commit/d79e4afc09d9717efd18822f3eea567c3b7d9e44 | https://github.com/psf/pyperf | pyperf._compare | [
"CompareResult",
"compare_benchmarks",
"compare_suites",
"compare_suites_by_speed"
] | 24 | 1 | 548314ebbfecadfc | psf/pyperf@d79e4afc0#pyperf/_compare.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
nschloe/pytest-codeblocks | fix for indented blocks | file | commit | fix for indented blocks | def extract(f, *args, **kwargs):
with open(f, "r") as handle:
return from_buffer(handle, *args, **kwargs)
def from_buffer(f, max_num_lines=10000, syntax_filter=None):
out = []
previous_line = None
k = 1
while True:
line = f.readline()
k += 1
if not line:
... | def extract(f, *args, **kwargs):
with open(f, "r") as handle:
return from_buffer(handle, *args, **kwargs)
def from_buffer(f, max_num_lines=10000, syntax_filter=None):
out = []
previous_line = None
k = 1
while True:
line = f.readline()
k += 1
if not line:
... | test/test_exdown.py | [
"test/test_exdown.py::test_reference"
] | 2020-10-10 | 2020-10-10 | MIT | LICENSE.txt | db2835e4cf28070a9625ce7c5b348a632b0be826 | c476f3090b33ed642cc1aaf320148170f377cdfd | https://github.com/nschloe/pytest-codeblocks/commit/db2835e4cf28070a9625ce7c5b348a632b0be826 | https://github.com/nschloe/pytest-codeblocks | exdown.main | [
"from_buffer"
] | 11 | 1 | 01c1bdbda3a59a1a | nschloe/pytest-codeblocks@db2835e4c#exdown/main.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
ramonhagenaars/typish | get_origin | Fix for get origin with types that shadow typing types. | function | docstring | Return the origin of the given (generic) type. For example, for
`t=List[str]`, the result would be `list`.
:param t: the type of which the origin is to be found.
:return: the origin of `t` or `t` if it is not generic. | def get_origin(t: type) -> type:
"""
Return the origin of the given (generic) type. For example, for
``t=List[str]``, the result would be ``list``.
:param t: the type of which the origin is to be found.
:return: the origin of ``t`` or ``t`` if it is not generic.
"""
from typish.functions._ge... | def get_origin(t: type) -> type:
"""
Return the origin of the given (generic) type. For example, for
``t=List[str]``, the result would be ``list``.
:param t: the type of which the origin is to be found.
:return: the origin of ``t`` or ``t`` if it is not generic.
"""
from typish.functions._ge... | tests/functions/test_origin_and_alias.py | [
"tests/functions/test_origin_and_alias.py::TestOriginAndAlias::test_get_origin"
] | 2020-10-07 | 2020-10-06 | MIT | LICENSE | 890577808ac8623fc127ece99b344d6e48f1d322 | 0e2ceaf8267a235ba491eae6ffbebec4209ae6a7 | https://github.com/ramonhagenaars/typish/commit/890577808ac8623fc127ece99b344d6e48f1d322 | https://github.com/ramonhagenaars/typish | typish.functions._get_origin | [
"get_origin"
] | 4 | 1 | 1bc3d117047b3cae | ramonhagenaars/typish@890577808#get_origin | python | 2026-08-18 | goldset/0.1 | 1 | |
browser-history/browser-history | Firefox | [CODE][FIX] Fix incomplete history while fetching from Firefox | function | docstring | Mozilla Firefox Browser
Supported platforms:
* Windows
* Linux
* Mac OS
Profile support: Yes | class Firefox(Browser):
"""Mozilla Firefox Browser
Supported platforms:
* Windows
* Linux
* Mac OS
Profile support: Yes
"""
name = "Firefox"
windows_path = 'AppData/Roaming/Mozilla/Firefox/Profiles'
linux_path = '.mozilla/firefox'
mac_path = 'Library/Application Support/F... | class Firefox(Browser):
"""Mozilla Firefox Browser
Supported platforms:
* Windows
* Linux
* Mac OS
Profile support: Yes
"""
name = "Firefox"
windows_path = 'AppData/Roaming/Mozilla/Firefox/Profiles'
linux_path = '.mozilla/firefox'
mac_path = 'Library/Application Support/F... | tests/test_browsers.py | [
"tests/test_browsers.py::test_firefox_linux"
] | 2020-10-01 | 2020-09-29 | Apache-2.0 | LICENSE | 57196a659cca9a80c588c30f37ef519e08c8cae1 | d32b0446672472589c867314f57efcf972f2a1f7 | https://github.com/browser-history/browser-history/commit/57196a659cca9a80c588c30f37ef519e08c8cae1 | https://github.com/browser-history/browser-history | browser_history.browsers | [
"Firefox"
] | 6 | 1 | ed55269297b7668b | browser-history/browser-history@57196a659#Firefox | python | 2026-08-18 | goldset/0.1 | 1 | |
andialbrecht/sqlparse | StatementSplitter | Fix splitting of statements using CASE ... WHEN (fixes #580). | 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._is_create = False
self._begin_depth = 0
... | tests/test_split.py | [
"tests/test_split.py::test_split_casewhen_procedure"
] | 2020-09-30 | 2020-09-30 | BSD-3-Clause | LICENSE | d7b1ee37ad71f77b2c7334dd8e76f27b68e18ef6 | 990500a149920b02b2b6e5ffe6e747dea7c6739e | https://github.com/andialbrecht/sqlparse/commit/d7b1ee37ad71f77b2c7334dd8e76f27b68e18ef6 | https://github.com/andialbrecht/sqlparse | sqlparse.engine.statement_splitter | [
"StatementSplitter"
] | 2 | 1 | 27f745e969b706a0 | andialbrecht/sqlparse@d7b1ee37a#StatementSplitter | python | 2026-08-18 | goldset/0.1 | 1 | |
pre-commit/pre-commit-hooks | Fix #518, provide --enforce-all option to check_added_large_files | file | commit | Fix #518, provide --enforce-all option to check_added_large_files | import argparse
import json
import math
import os
from typing import Optional
from typing import Sequence
from typing import Set
from pre_commit_hooks.util import added_files
from pre_commit_hooks.util import CalledProcessError
from pre_commit_hooks.util import cmd_output
def lfs_files() -> Set[str]:
try:
... | import argparse
import json
import math
import os
from typing import Optional
from typing import Sequence
from typing import Set
from pre_commit_hooks.util import added_files
from pre_commit_hooks.util import CalledProcessError
from pre_commit_hooks.util import cmd_output
def lfs_files() -> Set[str]:
try:
... | tests/check_added_large_files_test.py | [
"tests/check_added_large_files_test.py::test_enforce_all"
] | 2020-09-27 | 2020-08-26 | MIT | LICENSE | 012bb0691f4e1615c11be5860d9e427523d42985 | 31d41ff29115a87808277ee0ec23999b17d5b583 | https://github.com/pre-commit/pre-commit-hooks/commit/012bb0691f4e1615c11be5860d9e427523d42985 | https://github.com/pre-commit/pre-commit-hooks | pre_commit_hooks.check_added_large_files | [
"find_large_added_files",
"main"
] | 25 | 1 | 2fb76db6a328deeb | pre-commit/pre-commit-hooks@012bb0691#pre_commit_hooks/check_added_large_files.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
didix21/mdutils | Fix #42 Default table's text_align should be '---' | file | commit | Fix #42 Default table's text_align should be '---' | # Python
#
# This module implements a text class that allows to modify and create text on Markdown files.
#
# This file is part of mdutils. https://github.com/didix21/mdutils
#
# MIT License: (C) 2020 Dídac Coll
class Table:
def __init__(self):
self.rows = 0
self.columns = 0
@staticmethod
... | # Python
#
# This module implements a text class that allows to modify and create text on Markdown files.
#
# This file is part of mdutils. https://github.com/didix21/mdutils
#
# MIT License: (C) 2020 Dídac Coll
from typing import Optional
class Table:
def __init__(self):
self.rows = 0
self.colum... | tests/test_tools/test_table.py | [
"tests/test_tools/test_table.py::TestTable::test_create_default_table"
] | 2020-09-12 | 2020-09-12 | MIT | LICENSE.txt | c11571ea148b51791f75c6fc2c250953dfe3f53b | b9c95863140901d29ffc9c2518fcdb27d7eb054f | https://github.com/didix21/mdutils/commit/c11571ea148b51791f75c6fc2c250953dfe3f53b | https://github.com/didix21/mdutils | mdutils.tools.Table | [
"Table"
] | 19 | 1 | 831d7a145ac62154 | didix21/mdutils@c11571ea1#mdutils/tools/Table.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
jeanralphaviles/comment_parser | extract_comments | comment_parser: Fix escaped quote handling in string literals. | function | docstring | Extracts a list of comments from the given C family source code.
Comments are represented with the Comment class found in the common module.
C family comments come in two forms, single and multi-line comments.
- Single-line comments begin with '//' and continue to the end of line.
- Multi-line comments begin with ... | def extract_comments(code):
"""Extracts a list of comments from the given C family source code.
Comments are represented with the Comment class found in the common module.
C family comments come in two forms, single and multi-line comments.
- Single-line comments begin with '//' and continue to the end of li... | def extract_comments(code):
"""Extracts a list of comments from the given C family source code.
Comments are represented with the Comment class found in the common module.
C family comments come in two forms, single and multi-line comments.
- Single-line comments begin with '//' and continue to the end of li... | comment_parser/parsers/tests/c_parser_test.py | [
"comment_parser/parsers/tests/c_parser_test.py::CParserTest::testCommentStartInsideEscapedQuotesInStringLiteral"
] | 2020-09-02 | 2020-09-01 | MIT | LICENSE | 7048f63f986fd1319bbd29e5f7952c7c2485997c | 0e4cf91cb1d44b1876050de6457513d31e0fa963 | https://github.com/jeanralphaviles/comment_parser/commit/7048f63f986fd1319bbd29e5f7952c7c2485997c | https://github.com/jeanralphaviles/comment_parser | comment_parser.parsers.c_parser | [
"extract_comments"
] | 3 | 1 | b90b04c12db0784f | jeanralphaviles/comment_parser@7048f63f9#extract_comments | python | 2026-08-18 | goldset/0.1 | 1 | |
Turbo87/utm | Fix issue near anti-meridian when forcing zones | file | commit | Fix issue near anti-meridian when forcing zones | from utm.error import OutOfRangeError
# For most use cases in this module, numpy is indistinguishable
# from math, except it also works on numpy arrays
try:
import numpy as mathlib
use_numpy = True
except ImportError:
import math as mathlib
use_numpy = False
__all__ = ['to_latlon', 'from_latlon']
K0 ... | from utm.error import OutOfRangeError
# For most use cases in this module, numpy is indistinguishable
# from math, except it also works on numpy arrays
try:
import numpy as mathlib
use_numpy = True
except ImportError:
import math as mathlib
use_numpy = False
__all__ = ['to_latlon', 'from_latlon']
K0 ... | test/test_utm.py | [
"test/test_utm.py::TestForcingAntiMeridian::test_force_east"
] | 2020-08-22 | 2020-08-22 | MIT | LICENSE | eeed1f1cc54139c1b8ca6caf96193858fb1755e9 | 875f0de454bace3885ea2655ead3c7a2b1025eee | https://github.com/Turbo87/utm/commit/eeed1f1cc54139c1b8ca6caf96193858fb1755e9 | https://github.com/Turbo87/utm | utm.conversion | [
"from_latlon",
"to_latlon"
] | 11 | 1 | 86f8c6ed83d28f95 | Turbo87/utm@eeed1f1cc#utm/conversion.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
sendgrid/python-http-client | fix: update request exception logging and update tests (#145) | file | commit | fix: update request exception logging and update tests (#145) | """HTTP Client library"""
import json
import logging
from .exceptions import handle_error
try:
# Python 3
import urllib.request as urllib
from urllib.parse import urlencode
from urllib.error import HTTPError
except ImportError:
# Python 2
import urllib2 as urllib
from urllib2 import HTTPErr... | """HTTP Client library"""
import json
import logging
from .exceptions import handle_error
try:
# Python 3
import urllib.request as urllib
from urllib.parse import urlencode
from urllib.error import HTTPError
except ImportError:
# Python 2
import urllib2 as urllib
from urllib2 import HTTPErr... | tests/test_unit.py | [
"tests/test_unit.py::TestClient::test__getattr__"
] | 2020-08-20 | 2020-08-19 | MIT | LICENSE | e1c869560d89d5e546b9e387ee73305b0d10fe34 | 57ed611ff548348f3cb44dab3974fb7d0537a7c2 | https://github.com/sendgrid/python-http-client/commit/e1c869560d89d5e546b9e387ee73305b0d10fe34 | https://github.com/sendgrid/python-http-client | python_http_client.client | [
"Client"
] | 4 | 1 | dc767ff5653a61a3 | sendgrid/python-http-client@e1c869560#python_http_client/client.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
horejsek/python-fastjsonschema | Fix missing dependenices | file | commit | Fix missing dependenices | import decimal
import re
from .exceptions import JsonSchemaDefinitionException
from .generator import CodeGenerator, enforce_list
JSON_TYPE_TO_PYTHON_TYPE = {
'null': 'NoneType',
'boolean': 'bool',
'number': 'int, float',
'integer': 'int',
'string': 'str',
'array': 'list, tuple',
'object'... | import decimal
import re
from .exceptions import JsonSchemaDefinitionException
from .generator import CodeGenerator, enforce_list
JSON_TYPE_TO_PYTHON_TYPE = {
'null': 'NoneType',
'boolean': 'bool',
'number': 'int, float',
'integer': 'int',
'string': 'str',
'array': 'list, tuple',
'object'... | tests/test_object.py | [
"tests/test_object.py::test_dependencies[value1-expected1]"
] | 2020-08-17 | 2020-03-19 | BSD-3-Clause | LICENSE | 400b11f8e9d41708a366c8af98c889cdc1392794 | 8c8a05c76bd6a8a346dcd9185d95baab110a04c5 | https://github.com/horejsek/python-fastjsonschema/commit/400b11f8e9d41708a366c8af98c889cdc1392794 | https://github.com/horejsek/python-fastjsonschema | fastjsonschema.draft04 | [
"CodeGeneratorDraft04"
] | 12 | 1 | f119b88442df0fc1 | horejsek/python-fastjsonschema@400b11f8e#fastjsonschema/draft04.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kivy/buildozer | Fix issue #881: Add android.allow_backup parameter to buildozer.spec (#1206) | file | commit | Fix issue #881: Add android.allow_backup parameter to buildozer.spec (#1206) | '''
Android target, based on python-for-android project
'''
import sys
if sys.platform == 'win32':
raise NotImplementedError('Windows platform not yet working for Android')
from platform import uname
WSL = 'Microsoft' in uname()[2]
ANDROID_API = '27'
ANDROID_MINAPI = '21'
APACHE_ANT_VERSION = '1.9.4'
# This con... | '''
Android target, based on python-for-android project
'''
import sys
if sys.platform == 'win32':
raise NotImplementedError('Windows platform not yet working for Android')
from platform import uname
WSL = 'Microsoft' in uname()[2]
ANDROID_API = '27'
ANDROID_MINAPI = '21'
APACHE_ANT_VERSION = '1.9.4'
# This con... | tests/targets/test_android.py | [
"tests/targets/test_android.py::TestTargetAndroid::test_allow_backup"
] | 2020-08-14 | 2020-08-13 | MIT | LICENSE | 7bf9f397098d3185a953f8fdf265834f8da83378 | 4a18fb321e8410c44c9a62bd65671f33df3a470b | https://github.com/kivy/buildozer/commit/7bf9f397098d3185a953f8fdf265834f8da83378 | https://github.com/kivy/buildozer | buildozer.targets.android | [
"TargetAndroid"
] | 5 | 1 | f894c56677399c33 | kivy/buildozer@7bf9f3970#buildozer/targets/android.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
heuer/segno | make_segment | FIX bug: use full length segment_data instead of half in Kanji/Hanzi mode | function | docstring | Creates a :py:class:`Segment`.
:param data: The segment data
:param mode: The mode.
:param encoding: The encoding.
:rtype: _Segment | def make_segment(data, mode, encoding=None):
"""\
Creates a :py:class:`Segment`.
:param data: The segment data
:param mode: The mode.
:param encoding: The encoding.
:rtype: _Segment
"""
if mode == consts.MODE_HANZI:
encoding = consts.HANZI_ENCODING
segment_data, char_count, ... | def make_segment(data, mode, encoding=None):
"""\
Creates a :py:class:`Segment`.
:param data: The segment data
:param mode: The mode.
:param encoding: The encoding.
:rtype: _Segment
"""
if mode == consts.MODE_HANZI:
encoding = consts.HANZI_ENCODING
segment_data, char_count, ... | tests/test_hanzi.py | [
"tests/test_hanzi.py::test_force_hanzi_mode"
] | 2020-07-30 | 2020-07-30 | BSD-3-Clause | LICENSE | 4a255ea88f2c58fbf60c1ffcfb41540b5f754881 | 50914b3c45c13671d5681acb75c5e809ab6ab2b9 | https://github.com/heuer/segno/commit/4a255ea88f2c58fbf60c1ffcfb41540b5f754881 | https://github.com/heuer/segno | segno.encoder | [
"make_segment"
] | 4 | 1 | 3cc59612c04777fb | heuer/segno@4a255ea88#make_segment | python | 2026-08-18 | goldset/0.1 | 1 | |
r1chardj0n3s/parse | findall | Fix findall case_sensitive (#113) | function | docstring | Search "string" for all occurrences of "format".
You will be returned an iterator that holds Result instances
for each format match found.
Optionally start the search at "pos" character index and limit the search
to a maximum index of endpos - equivalent to search(string[:endpos]).
If `evaluate_result` is True each ... | def findall(format, string, pos=0, endpos=None, extra_types=None, evaluate_result=True,
case_sensitive=False):
'''Search "string" for all occurrences of "format".
You will be returned an iterator that holds Result instances
for each format match found.
Optionally start the search at "pos" char... | def findall(format, string, pos=0, endpos=None, extra_types=None, evaluate_result=True,
case_sensitive=False):
'''Search "string" for all occurrences of "format".
You will be returned an iterator that holds Result instances
for each format match found.
Optionally start the search at "pos" char... | test_parse.py | [
"test_parse.py::TestFindall::test_case_sensitivity"
] | 2020-07-30 | 2020-07-26 | MIT | LICENSE | 19689cf5b4e0b025821be2e59e0bff0ab5977361 | 27db6b3498aeee80aa87c083dda76f2df2d87fa4 | https://github.com/r1chardj0n3s/parse/commit/19689cf5b4e0b025821be2e59e0bff0ab5977361 | https://github.com/r1chardj0n3s/parse | parse | [
"findall"
] | 2 | 1 | f9e179ff365b6d10 | r1chardj0n3s/parse@19689cf5b#findall | python | 2026-08-18 | goldset/0.1 | 1 | |
pre-commit/pre-commit-hooks | Fix parsing of git output with unusual characters | file | commit | Fix parsing of git output with unusual characters | """Check that executable text files have a shebang."""
import argparse
import shlex
import sys
from typing import List
from typing import Optional
from typing import Sequence
from typing import Set
from pre_commit_hooks.util import cmd_output
EXECUTABLE_VALUES = frozenset(('1', '3', '5', '7'))
def check_executables... | """Check that executable text files have a shebang."""
import argparse
import shlex
import sys
from typing import List
from typing import Optional
from typing import Sequence
from typing import Set
from pre_commit_hooks.util import cmd_output
EXECUTABLE_VALUES = frozenset(('1', '3', '5', '7'))
def zsplit(s: str) ->... | tests/check_executables_have_shebangs_test.py | [
"tests/check_executables_have_shebangs_test.py::test_check_git_filemode_passing_unusual_characters",
"tests/check_executables_have_shebangs_test.py::test_check_zsplit_returns_empty[\\x00\\x00]",
"tests/check_executables_have_shebangs_test.py::test_check_zsplit_returns_empty[\\x00]",
"tests/check_executables_h... | 2020-07-30 | 2020-07-01 | MIT | LICENSE | 4faed34fbc8b599490619cdf310a327c3f3c043f | 5372f44b858f6eef834d9632e9960c39c296d448 | https://github.com/pre-commit/pre-commit-hooks/commit/4faed34fbc8b599490619cdf310a327c3f3c043f | https://github.com/pre-commit/pre-commit-hooks | pre_commit_hooks.check_executables_have_shebangs | [
"_check_git_filemode"
] | 12 | 7 | 545c7a8ed17c6392 | pre-commit/pre-commit-hooks@4faed34fb#pre_commit_hooks/check_executables_have_shebangs.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
assertpy/assertpy | fixes #101 - fix dict compare with deep nested ignores | file | commit | fixes #101 - fix dict compare with deep nested ignores | # Copyright (c) 2015-2019, Activision Publishing, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of ... | # Copyright (c) 2015-2019, Activision Publishing, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of ... | tests/test_dict_compare.py | [
"tests/test_dict_compare.py::test_failure_deep_mismatch_when_ignoring_double_nested_sibling_key"
] | 2020-07-10 | 2020-07-10 | BSD-3-Clause | LICENSE | 0b43d06210f0f26a2831749b7b768375603888a0 | 6474f1eca944999afec002bfa9836dafa9b19777 | https://github.com/assertpy/assertpy/commit/0b43d06210f0f26a2831749b7b768375603888a0 | https://github.com/assertpy/assertpy | assertpy.helpers | [
"HelpersMixin"
] | 14 | 1 | c6e819fd25c553df | assertpy/assertpy@0b43d0621#assertpy/helpers.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
Melevir/cognitive_complexity | Fix counting for binary logical operators | file | commit | Fix counting for binary logical operators | import ast
from typing import Callable, Tuple, Union
from cognitive_complexity.common_types import AnyFuncdef
def has_recursive_calls(funcdef: AnyFuncdef) -> bool:
return bool([
n for n in ast.walk(funcdef)
if (
isinstance(n, ast.Call)
and isinstance(n.func, ast.Name)
... | import ast
from typing import Callable, Tuple, Union
from cognitive_complexity.common_types import AnyFuncdef
def has_recursive_calls(funcdef: AnyFuncdef) -> bool:
return bool([
n for n in ast.walk(funcdef)
if (
isinstance(n, ast.Call)
and isinstance(n.func, ast.Name)
... | tests/test_cognitive_complexity.py | [
"tests/test_cognitive_complexity.py::test_nested_functions",
"tests/test_cognitive_complexity.py::test_real_function"
] | 2020-07-05 | 2020-07-05 | MIT | LICENSE | 3796e582e55494b9e2de02d86e8cddac8e701166 | aa428ca731bc0461cc9f95956ff4816154495729 | https://github.com/Melevir/cognitive_complexity/commit/3796e582e55494b9e2de02d86e8cddac8e701166 | https://github.com/Melevir/cognitive_complexity | cognitive_complexity.utils.ast | [
"process_node_itself"
] | 2 | 2 | e9eff94957120177 | Melevir/cognitive_complexity@3796e582e#cognitive_complexity/utils/ast.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
leapfrogonline/rstr | RstrBase | Fixes bug: 'include' can make the string too long. | function | docstring | Create random strings from a variety of alphabets.
The alphabets for printable(), uppercase(), lowercase(), digits(), and
punctuation() are equivalent to the constants by those same names in the
standard library string module.
nondigits() uses an alphabet of string.letters + string.punctuation
nonletters() uses an a... | class RstrBase(object):
'''Create random strings from a variety of alphabets.
The alphabets for printable(), uppercase(), lowercase(), digits(), and
punctuation() are equivalent to the constants by those same names in the
standard library string module.
nondigits() uses an alphabet of string.lette... | class RstrBase(object):
'''Create random strings from a variety of alphabets.
The alphabets for printable(), uppercase(), lowercase(), digits(), and
punctuation() are equivalent to the constants by those same names in the
standard library string module.
nondigits() uses an alphabet of string.lette... | rstr/tests/test_rstr.py | [
"rstr/tests/test_rstr.py::TestRstr::test_include_specific_length"
] | 2020-07-04 | 2020-07-04 | BSD-3-Clause | LICENSE.txt | 305f1ae577fa82cd633043835f95b610cbaf584e | 9feb12bebe09df6b9901f1219f13c0eaa5796569 | https://github.com/leapfrogonline/rstr/commit/305f1ae577fa82cd633043835f95b610cbaf584e | https://github.com/leapfrogonline/rstr | rstr.rstr_base | [
"RstrBase"
] | 3 | 1 | 104f0184a449f4ed | leapfrogonline/rstr@305f1ae57#RstrBase | python | 2026-08-18 | goldset/0.1 | 1 | |
kayak/pypika | AtTimezone | Fix AtTimezone to call field get sql | function | docstring | Generates AT TIME ZONE SQL.
Examples:
AT TIME ZONE 'US/Eastern'
AT TIME ZONE INTERVAL '-06:00' | class AtTimezone(Term):
"""
Generates AT TIME ZONE SQL.
Examples:
AT TIME ZONE 'US/Eastern'
AT TIME ZONE INTERVAL '-06:00'
"""
is_aggregate = None
def __init__(self, name, zone, interval=False, alias=None):
super().__init__(alias)
self.name = name
self.zo... | class AtTimezone(Term):
"""
Generates AT TIME ZONE SQL.
Examples:
AT TIME ZONE 'US/Eastern'
AT TIME ZONE INTERVAL '-06:00'
"""
is_aggregate = None
def __init__(self, field, zone, interval=False, alias=None):
super().__init__(alias)
self.field = Field(field) if no... | pypika/tests/test_terms.py | [
"pypika/tests/test_terms.py::AtTimezoneTests::test_passes_kwargs_to_field_get_sql"
] | 2020-06-29 | 2020-06-29 | Apache-2.0 | LICENSE.txt | 9745e44f106b7929a314cb2f893f840725d99060 | 374ed1a51372eaf05b5b16122e3ab92014047c47 | https://github.com/kayak/pypika/commit/9745e44f106b7929a314cb2f893f840725d99060 | https://github.com/kayak/pypika | pypika.terms | [
"AtTimezone"
] | 6 | 1 | 1ae5ba982b50b250 | kayak/pypika@9745e44f1#AtTimezone | python | 2026-08-18 | goldset/0.1 | 1 | |
didix21/mdutils | MarkDownFile | Fix #37: Add .md extension if name contains md word | function | docstring | MarkDownFile class creates a new file of MarkDown extension.
Features available are:
- Create a file.
- Rewrite a file with new data.
- Write at the end of the file. | class MarkDownFile(object):
"""MarkDownFile class creates a new file of MarkDown extension.
Features available are:
- Create a file.
- Rewrite a file with new data.
- Write at the end of the file."""
def __init__(self, name=''):
"""Creates a markdown file, if name is not em... | class MarkDownFile(object):
"""MarkDownFile class creates a new file of MarkDown extension.
Features available are:
- Create a file.
- Rewrite a file with new data.
- Write at the end of the file."""
def __init__(self, name=''):
"""Creates a markdown file, if name is not em... | tests/test_fileutils/test_fileutils.py | [
"tests/test_fileutils/test_fileutils.py::TestMarkdownFile::test_create_file_case_0"
] | 2020-06-19 | 2020-05-31 | MIT | LICENSE.txt | a32a5d05c1c029abb628687f2e6af550b7e49ad5 | cd35a953cebf200f4ebfd11b3ed0af4169ac25a7 | https://github.com/didix21/mdutils/commit/a32a5d05c1c029abb628687f2e6af550b7e49ad5 | https://github.com/didix21/mdutils | mdutils.fileutils.fileutils | [
"MarkDownFile"
] | 2 | 1 | f67a4396029f0050 | didix21/mdutils@a32a5d05c#MarkDownFile | python | 2026-08-18 | goldset/0.1 | 1 | |
tkrajina/gpxpy | GPXParser | Fix parsing bytes | function | docstring | Parse the XML and provide new GPX instance.
Methods:
__init__: initialize new instance
init: format XML
parse: parse XML, build tree, build GPX
Attributes:
gpx: GPX instance of the most recently parsed XML
xml: string containing the XML text | class GPXParser:
"""
Parse the XML and provide new GPX instance.
Methods:
__init__: initialize new instance
init: format XML
parse: parse XML, build tree, build GPX
Attributes:
gpx: GPX instance of the most recently parsed XML
xml: string containing the XML text... | class GPXParser:
"""
Parse the XML and provide new GPX instance.
Methods:
__init__: initialize new instance
init: format XML
parse: parse XML, build tree, build GPX
Attributes:
gpx: GPX instance of the most recently parsed XML
xml: string containing the XML text... | test.py | [
"test.py::GPXTests::test_parse_bytes"
] | 2020-06-17 | 2020-06-06 | Apache-2.0 | LICENSE.txt | 1672f15d3871694eb324b0e3d39d4d69b1791dcf | f18a797c0fea51af5889472b7cce02de8981d1f8 | https://github.com/tkrajina/gpxpy/commit/1672f15d3871694eb324b0e3d39d4d69b1791dcf | https://github.com/tkrajina/gpxpy | gpxpy.parser | [
"GPXParser"
] | 2 | 1 | 172e79c279c3a626 | tkrajina/gpxpy@1672f15d3#GPXParser | 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.