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
sciunto-org/python-bibtexparser
homogeneize_latex_encoding
FIX: partially solve #4
function
docstring
Homogeneize the latex enconding style for bibtex This function is experimental. :param record: the record. :type record: dict :returns: dict -- the modified record.
def homogeneize_latex_encoding(record): """ Homogeneize the latex enconding style for bibtex This function is experimental. :param record: the record. :type record: dict :returns: dict -- the modified record. """ # First, we convert everything to unicode record = convert_to_unicode...
def homogeneize_latex_encoding(record): """ Homogeneize the latex enconding style for bibtex This function is experimental. :param record: the record. :type record: dict :returns: dict -- the modified record. """ # First, we convert everything to unicode record = convert_to_unicode...
bibtexparser/tests/test_bibtexparser.py
[ "bibtexparser/tests/test_bibtexparser.py::TestBibtexParserList::test_encoding" ]
2014-04-26
2014-04-26
MIT
LICENSE
5caa0603787480e9aa0962d87bd21a2509532bd3
8144c33d4447d76eac1158e853ac65e311f51a37
https://github.com/sciunto-org/python-bibtexparser/commit/5caa0603787480e9aa0962d87bd21a2509532bd3
https://github.com/sciunto-org/python-bibtexparser
bibtexparser.customization
[ "homogeneize_latex_encoding" ]
7
1
4d9384c616ca4334
sciunto-org/python-bibtexparser@5caa06037#homogeneize_latex_encoding
python
2026-08-18
goldset/0.1
1
sprymix/csscompressor
compress_partitioned
Fix a bug compress_partitioned with some specific 'max_linelen' (trailing \n)
function
docstring
Compress given CSS stylesheet into a set of files. Parameters: - max_linelen : int = 0 Has the same meaning as for "compress()" function. - max_rules_per_file : int = 0 Internet Explorers <= 9 have an artificial max number of rules per CSS file (4096; http://blogs.msdn.com/b/ieinternals/archive/2011/05/1...
def compress_partitioned(css, max_linelen=0, max_rules_per_file=4000): """Compress given CSS stylesheet into a set of files. Parameters: - max_linelen : int = 0 Has the same meaning as for "compress()" function. - max_rules_per_file : int = 0 ...
def compress_partitioned(css, max_linelen=0, max_rules_per_file=4000): """Compress given CSS stylesheet into a set of files. Parameters: - max_linelen : int = 0 Has the same meaning as for "compress()" function. - max_rules_per_file : int = 0 ...
csscompressor/tests/test_partition.py
[ "csscompressor/tests/test_partition.py::Tests::test_partition_8" ]
2014-04-04
2014-04-01
BSD-3-Clause
LICENSE
5f98a44d807e0147fc6c02bc8c9a9cef6fd059ad
fe7fcf6b26cf01e3a2992738c19cd32cc33ec245
https://github.com/sprymix/csscompressor/commit/5f98a44d807e0147fc6c02bc8c9a9cef6fd059ad
https://github.com/sprymix/csscompressor
csscompressor.__init__
[ "compress_partitioned" ]
1
1
9e8330a87d77e8c6
sprymix/csscompressor@5f98a44d8#compress_partitioned
python
2026-08-18
goldset/0.1
1
terryyin/lizard
FreeFormattingTokenizer
fix a line counting bug
function
docstring
Use this tokenizer to tokenize C/C++, Java, ObjC code, which the format is not part of the syntax. So indentation & new lines doesn't matter.
class FreeFormattingTokenizer(object): ''' Use this tokenizer to tokenize C/C++, Java, ObjC code, which the format is not part of the syntax. So indentation & new lines doesn't matter. ''' # DONOT put any sub groups in the regex. Good for performance _until_end = r"(?:\\\n|[^\n])*" toke...
class FreeFormattingTokenizer(object): ''' Use this tokenizer to tokenize C/C++, Java, ObjC code, which the format is not part of the syntax. So indentation & new lines doesn't matter. ''' # DONOT put any sub groups in the regex. Good for performance _until_end = r"(?:\\\n|[^\n])*" toke...
test/testBasicFunctionInfo.py
[ "test/testBasicFunctionInfo.py::TestLOC::test_having_empty_line_that_has_spaces" ]
2014-03-30
2014-03-30
MIT
LICENSE.txt
0138e46c800ef2edbd96f79b1ec9ad24a81de88d
c3681a0a17a8ac5b1a65743beb173ff5059052d8
https://github.com/terryyin/lizard/commit/0138e46c800ef2edbd96f79b1ec9ad24a81de88d
https://github.com/terryyin/lizard
lizard
[ "FreeFormattingTokenizer" ]
2
1
4f133372b8731b8b
terryyin/lizard@0138e46c8#FreeFormattingTokenizer
python
2026-08-18
goldset/0.1
1
astanin/python-tabulate
_normalize_tabular_data
fix #22: allow numbers as column headers
function
docstring
Transform a supported data type to a list of lists, and a list of headers. Supported tabular data types: * list-of-lists or another iterable of iterables * list of named tuples (usually used with headers="keys") * list of dicts (usually used with headers="keys") * list of OrderedDicts (usually used with headers="k...
def _normalize_tabular_data(tabular_data, headers): """Transform a supported data type to a list of lists, and a list of headers. Supported tabular data types: * list-of-lists or another iterable of iterables * list of named tuples (usually used with headers="keys") * list of dicts (usually used...
def _normalize_tabular_data(tabular_data, headers): """Transform a supported data type to a list of lists, and a list of headers. Supported tabular data types: * list-of-lists or another iterable of iterables * list of named tuples (usually used with headers="keys") * list of dicts (usually used...
test/test_regression.py
[ "test/test_regression.py::test_numeric_column_headers" ]
2014-02-12
2014-02-12
MIT
LICENSE
281c0e639c5fd4067eaa15d35a48b6f0c8999688
ddfb6a75b7ca896d8f01afd9ac62886f0f7c6c3e
https://github.com/astanin/python-tabulate/commit/281c0e639c5fd4067eaa15d35a48b6f0c8999688
https://github.com/astanin/python-tabulate
tabulate
[ "_normalize_tabular_data" ]
2
1
24daa6994e44ca87
astanin/python-tabulate@281c0e639#_normalize_tabular_data
python
2026-08-18
goldset/0.1
1
keleshev/schema
Handle wrong keys better. Fixes #3 and #15
file
commit
Handle wrong keys better. Fixes #3 and #15
__version__ = '0.2.1' class SchemaError(Exception): """Error during Schema validation.""" def __init__(self, autos, errors): self.autos = autos if type(autos) is list else [autos] self.errors = errors if type(errors) is list else [errors] Exception.__init__(self, self.code) @pro...
__version__ = '0.2.1' class SchemaError(Exception): """Error during Schema validation.""" def __init__(self, autos, errors): self.autos = autos if type(autos) is list else [autos] self.errors = errors if type(errors) is list else [errors] Exception.__init__(self, self.code) @pro...
test_schema.py
[ "test_schema.py::test_dict" ]
2014-02-03
2014-02-03
MIT
LICENSE-MIT
2af1f4e08b1abe2037d3d351e915af1afaf603d5
a07cafd27fd84cd0a007ce0960f39508c866a011
https://github.com/keleshev/schema/commit/2af1f4e08b1abe2037d3d351e915af1afaf603d5
https://github.com/keleshev/schema
schema
[ "Schema" ]
4
1
6506612b53a82d21
keleshev/schema@2af1f4e08#schema.py
python
2026-08-18
goldset/0.1
1
astanin/python-tabulate
simple_separated_format
fix #15: TypeError when using simple_separated_format with headers
function
docstring
Construct a simple TableFormat with columns separated by a separator.
def simple_separated_format(separator): """Construct a simple TableFormat with columns separated by a separator. >>> tsv = simple_separated_format("\\t") ; \ tabulate([["foo", 1], ["spam", 23]], tablefmt=tsv) == u'foo \\t 1\\nspam\\t23' True """ return TableFormat(None, None, None, None, ...
def simple_separated_format(separator): """Construct a simple TableFormat with columns separated by a separator. >>> tsv = simple_separated_format("\\t") ; \ tabulate([["foo", 1], ["spam", 23]], tablefmt=tsv) == u'foo \\t 1\\nspam\\t23' True """ return TableFormat(None, None, None, None, ...
test/test_regression.py
[ "test/test_regression.py::test_simple_separated_format_with_headers" ]
2013-11-20
2013-11-20
MIT
LICENSE
41a6db29b666f0c0eedec40efb5bc3af4f411a56
7d6dfc1126e4da7d7a7547f1e1626fe676a5462f
https://github.com/astanin/python-tabulate/commit/41a6db29b666f0c0eedec40efb5bc3af4f411a56
https://github.com/astanin/python-tabulate
tabulate
[ "simple_separated_format" ]
3
1
1a0c5143c1b01a99
astanin/python-tabulate@41a6db29b#simple_separated_format
python
2026-08-18
goldset/0.1
1
sciunto-org/python-bibtexparser
keyword
Fix #8, support both , and ; in keyword spliter
function
docstring
Split keyword field into a list. :param record: the record. :type record: dict :returns: dict -- the modified record.
def keyword(record): """ Split keyword field into a list. :param record: the record. :type record: dict :returns: dict -- the modified record. """ if "keyword" in record: record["keyword"] = [i.strip() for i in record["keyword"].replace('\n', '').split(",")] return record
def keyword(record, sep=',|;'): """ Split keyword field into a list. :param record: the record. :type record: dict :param sep: pattern used for the splitting regexp. :type record: string, optional :returns: dict -- the modified record. """ if "keyword" in record: record["ke...
bibtexparser/tests/test_customization.py
[ "bibtexparser/tests/test_customization.py::TestBibtexParserMethod::test_keywords" ]
2013-11-11
2013-11-03
MIT
LICENSE
b7343f0414400a62dcc8bedc3922f975382ff006
6c666004f85ebbc350d5cedee6438c179b7a8923
https://github.com/sciunto-org/python-bibtexparser/commit/b7343f0414400a62dcc8bedc3922f975382ff006
https://github.com/sciunto-org/python-bibtexparser
bibtexparser.customization
[ "keyword" ]
6
1
8aaeb591b94ce618
sciunto-org/python-bibtexparser@b7343f041#keyword
python
2026-08-18
goldset/0.1
1
pavlov99/json-rpc
cover jsonrpc1, fix _id error
file
commit
cover jsonrpc1, fix _id error
from . import six from .base import JSONRPCBaseRequest, JSONRPCBaseResponse from .exceptions import JSONRPCInvalidRequestException class JSONRPC10Request(JSONRPCBaseRequest): """ JSON-RPC 1.0 Request. A remote method is invoked by sending a request to a remote service. The request is a single object se...
from . import six from .base import JSONRPCBaseRequest, JSONRPCBaseResponse from .exceptions import JSONRPCInvalidRequestException class JSONRPC10Request(JSONRPCBaseRequest): """ JSON-RPC 1.0 Request. A remote method is invoked by sending a request to a remote service. The request is a single object se...
jsonrpc/tests/test_jsonrpc1.py
[ "jsonrpc/tests/test_jsonrpc1.py::TestJSONRPC10Response::test_validation_id" ]
2013-11-09
2013-11-09
MIT
LICENSE.txt
bd9d408fd13ac9ea89a02acdf920a18f1b4050e8
de6483a9448bdf9fc8790be094037ddfd939a0cb
https://github.com/pavlov99/json-rpc/commit/bd9d408fd13ac9ea89a02acdf920a18f1b4050e8
https://github.com/pavlov99/json-rpc
jsonrpc.jsonrpc1
[ "JSONRPC10Response" ]
2
1
2681512d02306568
pavlov99/json-rpc@bd9d408fd#jsonrpc/jsonrpc1.py
python
2026-08-18
goldset/0.1
1
tikitu/jsmin
JavascriptMinify
Add fix and test for comment exception case.
function
docstring
Minify an input stream of javascript, writing to an output stream
class JavascriptMinify(object): """ Minify an input stream of javascript, writing to an output stream """ def __init__(self, instream=None, outstream=None): self.ins = instream self.outs = outstream def minify(self, instream=None, outstream=None): if instream and outstr...
class JavascriptMinify(object): """ Minify an input stream of javascript, writing to an output stream """ def __init__(self, instream=None, outstream=None): self.ins = instream self.outs = outstream def minify(self, instream=None, outstream=None): if instream and outstr...
jsmin/test.py
[ "jsmin/test.py::JsTests::testBlockCommentStartingWithSlash" ]
2013-10-18
2013-10-12
MIT
LICENSE.txt
e51b356f2e995aa089f48e67f245dce45e57cc86
ddb48af51cf436014e93b9bd9cc8038c504abdc8
https://github.com/tikitu/jsmin/commit/e51b356f2e995aa089f48e67f245dce45e57cc86
https://github.com/tikitu/jsmin
jsmin.__init__
[ "JavascriptMinify" ]
2
1
329eb987a84ab259
tikitu/jsmin@e51b356f2#JavascriptMinify
python
2026-08-18
goldset/0.1
1
micktwomey/pyiso8601
FixedOffset
Fix pickling / deepcopy of returned datetime objects
function
docstring
Fixed offset in hours and minutes from UTC
class FixedOffset(tzinfo): """Fixed offset in hours and minutes from UTC """ def __init__(self, offset_hours, offset_minutes, name): self.__offset = timedelta(hours=offset_hours, minutes=offset_minutes) self.__name = name def __eq__(self, other): if isinstance(other, FixedOffse...
class FixedOffset(tzinfo): """Fixed offset in hours and minutes from UTC """ def __init__(self, offset_hours, offset_minutes, name): self.__offset_hours = offset_hours # Keep for later __getinitargs__ self.__offset_minutes = offset_minutes # Keep for later __getinitargs__ self.__o...
iso8601/test_iso8601.py
[ "iso8601/test_iso8601.py::test_parse_valid_date[1997-07-16T19:20+01:00-expected_datetime1]" ]
2013-10-17
2013-10-17
MIT
LICENSE
ab5e6f85db981e17be63982146ef776458d9980e
81ff287384424cda10f087a25e2e104d2c02532a
https://github.com/micktwomey/pyiso8601/commit/ab5e6f85db981e17be63982146ef776458d9980e
https://github.com/micktwomey/pyiso8601
iso8601.iso8601
[ "FixedOffset" ]
5
1
d6209a3f3a97808b
micktwomey/pyiso8601@ab5e6f85d#FixedOffset
python
2026-08-18
goldset/0.1
1
simplejson/simplejson
JSONDecodeError
fix pickle breakage with JSONDecodeError
function
docstring
Subclass of ValueError with the following additional properties: msg: The unformatted error message doc: The JSON document being parsed pos: The start index of doc where parsing failed end: The end index of doc where parsing failed (may be None) lineno: The line corresponding to pos colno: The column corresponding to ...
class JSONDecodeError(ValueError): """Subclass of ValueError with the following additional properties: msg: The unformatted error message doc: The JSON document being parsed pos: The start index of doc where parsing failed end: The end index of doc where parsing failed (may be None) lineno: The...
class JSONDecodeError(ValueError): """Subclass of ValueError with the following additional properties: msg: The unformatted error message doc: The JSON document being parsed pos: The start index of doc where parsing failed end: The end index of doc where parsing failed (may be None) lineno: The...
simplejson/tests/test_errors.py
[ "simplejson/tests/test_errors.py::TestErrors::test_error_is_pickable" ]
2013-10-05
2013-05-08
MIT
LICENSE.txt
hjson/hjson-py
e787c8b9d1155023089937314fd2b965821f2108
35816bfe2d0ddeb5ddcc68239683cbb35b7e3ff2
https://github.com/simplejson/simplejson/commit/e787c8b9d1155023089937314fd2b965821f2108
https://github.com/simplejson/simplejson
simplejson.scanner
[ "JSONDecodeError" ]
3
1
554c6fda5d3eda1e
simplejson/simplejson@e787c8b9d#JSONDecodeError
python
2026-08-18
goldset/0.1
1
sciunto-org/python-bibtexparser
getnames
getname: fix broken test
function
docstring
Make people names as surname, firstnames or surname, initials. Should eventually combine up the two. :param names: a list of names :type names: list :returns: list -- Correctly formated names
def getnames(names): """Make people names as surname, firstnames or surname, initials. Should eventually combine up the two. :param names: a list of names :type names: list :returns: list -- Correctly formated names """ tidynames = [] for namestring in names: namestring = namest...
def getnames(names): """Make people names as surname, firstnames or surname, initials. Should eventually combine up the two. :param names: a list of names :type names: list :returns: list -- Correctly formated names """ tidynames = [] for namestring in names: namestring = namest...
bibtexparser/tests/test_bibtexparser.py
[ "bibtexparser/tests/test_bibtexparser.py::TestBibtexParserList::test_book_cust" ]
2013-09-29
2013-09-29
MIT
LICENSE
09289d77e3b88d9546fa25b0bb5da0865e85a54c
e3492cc16e1a50a450e40c102c44dea739d11fd8
https://github.com/sciunto-org/python-bibtexparser/commit/09289d77e3b88d9546fa25b0bb5da0865e85a54c
https://github.com/sciunto-org/python-bibtexparser
bibtexparser.customization
[ "getnames" ]
4
1
847cca6f5894a59e
sciunto-org/python-bibtexparser@09289d77e#getnames
python
2026-08-18
goldset/0.1
1
hynek/structlog
LoggerFactory
Fix stdlib's logger name guessing
function
docstring
Build a standard library logger when an *instance* is called.
class LoggerFactory(object): """ Build a standard library logger when an *instance* is called. >>> from structlog import configure >>> from structlog.stdlib import LoggerFactory >>> configure(logger_factory=LoggerFactory()) """ def __call__(self): """ Deduces the caller's mo...
class LoggerFactory(object): """ Build a standard library logger when an *instance* is called. >>> from structlog import configure >>> from structlog.stdlib import LoggerFactory >>> configure(logger_factory=LoggerFactory()) """ def __call__(self): """ Deduces the caller's mo...
tests/test_stdlib.py
[ "tests/test_stdlib.py::TestLoggerFactory::test_deduces_correct_name" ]
2013-09-27
2013-09-26
MIT
LICENSE-MIT
27cb2ab774b82a7e7122050989ee33dabeefe918
cfdf19383e04e2db70f122cf962afee546dda7fb
https://github.com/hynek/structlog/commit/27cb2ab774b82a7e7122050989ee33dabeefe918
https://github.com/hynek/structlog
structlog.stdlib
[ "LoggerFactory" ]
11
1
a29800d90d9c88ac
hynek/structlog@27cb2ab77#LoggerFactory
python
2026-08-18
goldset/0.1
1
justinmayer/smartypants.py
_tokenize
fix hyphens do not cause a comment not a comment, add more tests
function
docstring
Reference to an array of the tokens comprising the input string. Each token is either a tag (possibly with nested, tags contained therein, such as `<a href="<MTFoo>">`, or a run of text between tags. Each element of the array is a two-element array; the first is either 'tag' or 'text'; the second is the actual value. ...
def _tokenize(text): """ Reference to an array of the tokens comprising the input string. Each token is either a tag (possibly with nested, tags contained therein, such as ``<a href="<MTFoo>">``, or a run of text between tags. Each element of the array is a two-element array; the first is either 'ta...
def _tokenize(text): """ Reference to an array of the tokens comprising the input string. Each token is either a tag (possibly with nested, tags contained therein, such as ``<a href="<MTFoo>">``, or a run of text between tags. Each element of the array is a two-element array; the first is either 'ta...
tests/test.py
[ "tests/test.py::SmartyPantsTestCase::test_comments" ]
2013-09-21
2013-09-20
BSD-2-Clause
COPYING
b00f2b51b83234df327cfc6e1117a9da2caef668
0134cea881640d9583339d997d517652de32450e
https://github.com/justinmayer/smartypants.py/commit/b00f2b51b83234df327cfc6e1117a9da2caef668
https://github.com/justinmayer/smartypants.py
smartypants
[ "_tokenize" ]
24
1
9e1ac7c0581f46e6
justinmayer/smartypants.py@b00f2b51b#_tokenize
python
2026-08-18
goldset/0.1
1
justinmayer/smartypants.py
_tokenize
Fix the primitive tokenizer to handle HTML comments that contain tags, otherwise this generates completely broken HTML by turning the end-comment into an en-dash.
function
docstring
Reference to an array of the tokens comprising the input string. Each token is either a tag (possibly with nested, tags contained therein, such as `<a href="<MTFoo>">`, or a run of text between tags. Each element of the array is a two-element array; the first is either 'tag' or 'text'; the second is the actual value. ...
def _tokenize(text): """ Reference to an array of the tokens comprising the input string. Each token is either a tag (possibly with nested, tags contained therein, such as ``<a href="<MTFoo>">``, or a run of text between tags. Each element of the array is a two-element array; the first is either 'ta...
def _tokenize(text): """ Reference to an array of the tokens comprising the input string. Each token is either a tag (possibly with nested, tags contained therein, such as ``<a href="<MTFoo>">``, or a run of text between tags. Each element of the array is a two-element array; the first is either 'ta...
tests/test.py
[ "tests/test.py::SmartyPantsTestCase::test_comments" ]
2013-09-19
2013-09-18
BSD-2-Clause
COPYING
901336f55f3f06afb6e89cdf72f99fd528fea347
19c07ad54c02c2b1f0802cb2dcff8e5cd450d4c6
https://github.com/justinmayer/smartypants.py/commit/901336f55f3f06afb6e89cdf72f99fd528fea347
https://github.com/justinmayer/smartypants.py
smartypants
[ "_tokenize" ]
2
1
5a98a9c85ffbf11e
justinmayer/smartypants.py@901336f55#_tokenize
python
2026-08-18
goldset/0.1
1
hynek/structlog
tmp_bind
Fix edge case in tmp_bind
function
docstring
Context manager for temporarily binding *tmp_values* to *logger*. Use it with a `with`-statement. Anything you bind here *or within* the with block will be erased afterwards. Although the *logger* passed in and the logger yielded log out the same data, it's possible that *logger* hasn't been converted to thread loca...
def tmp_bind(logger, **tmp_values): """ Context manager for temporarily binding *tmp_values* to *logger*. Use it with a `with`-statement. Anything you bind here *or within* the with block will be erased afterwards. >>> from structlog import BoundLogger, PrintLogger >>> from structlog.threadlo...
def tmp_bind(logger, **tmp_values): """ Context manager for temporarily binding *tmp_values* to *logger*. Use it with a `with`-statement. Anything you bind here *or within* the with block will be erased afterwards. >>> from structlog import BoundLogger, PrintLogger >>> from structlog.threadlo...
tests/test_threadlocal.py
[ "tests/test_threadlocal.py::TestTmpBind::test_converts_passed_and_yielded_logger" ]
2013-09-06
2013-09-06
MIT
LICENSE-MIT
bf80fa60ac248467feae45ff719b28afcb55302e
228661e23409ef979ba78f934763743593e6a293
https://github.com/hynek/structlog/commit/bf80fa60ac248467feae45ff719b28afcb55302e
https://github.com/hynek/structlog
structlog.threadlocal
[ "tmp_bind" ]
16
1
d2fc18759342da94
hynek/structlog@bf80fa60a#tmp_bind
python
2026-08-18
goldset/0.1
1
justinmayer/smartypants.py
fix convert_quote, it was also turned on since False != "0"
file
commit
fix convert_quote, it was also turned on since False != "0"
#!/usr/bin/python # Copyright (c) 2013 Yu-Jie Lin # Copyright (c) 2004, 2005, 2007, 2013 Chad Miller # Copyright (c) 2003 John Gruber # For detail license information, See COPYING __author__ = 'Yu-Jie Lin' __email__ = 'livibetter@gmail.com' __version__ = '1.7.0dev' __license__ = 'BSD License' __url__ = 'https://bitbuc...
#!/usr/bin/python # Copyright (c) 2013 Yu-Jie Lin # Copyright (c) 2004, 2005, 2007, 2013 Chad Miller # Copyright (c) 2003 John Gruber # For detail license information, See COPYING __author__ = 'Yu-Jie Lin' __email__ = 'livibetter@gmail.com' __version__ = '1.7.0dev' __license__ = 'BSD License' __url__ = 'https://bitbuc...
tests/test.py
[ "tests/test.py::TestSmartypantsAllAttributes::test_convert_quot" ]
2013-08-12
2013-08-12
BSD-2-Clause
COPYING
9cbb19a3e9cba68b474221ea575f9bd410548be5
736735b1bcf7c76d1aa9c129d1268841686dd079
https://github.com/justinmayer/smartypants.py/commit/9cbb19a3e9cba68b474221ea575f9bd410548be5
https://github.com/justinmayer/smartypants.py
smartypants
[ "smartyPants" ]
6
1
dda511ea232d919a
justinmayer/smartypants.py@9cbb19a3e#smartypants.py
python
2026-08-18
goldset/0.1
1
astanin/python-tabulate
_normalize_tabular_data
fix #9: tabulate iterator of iterators with headers
function
docstring
Transform a supported data type to a list of lists, and a list of headers. Supported tabular data types: * list-of-lists or another iterable of iterables * 2D NumPy arrays * dict of iterables (usually used with headers="keys") * pandas.DataFrame (usually used with headers="keys") The first row can be used as head...
def _normalize_tabular_data(tabular_data, headers): """Transform a supported data type to a list of lists, and a list of headers. Supported tabular data types: * list-of-lists or another iterable of iterables * 2D NumPy arrays * dict of iterables (usually used with headers="keys") * pandas....
def _normalize_tabular_data(tabular_data, headers): """Transform a supported data type to a list of lists, and a list of headers. Supported tabular data types: * list-of-lists or another iterable of iterables * 2D NumPy arrays * dict of iterables (usually used with headers="keys") * pandas....
test_input.py
[ "test_input.py::test_iterable_of_iterables_headers" ]
2013-08-09
2013-08-09
MIT
LICENSE
e20994384822c5549dd43d50042bdf2892a37b97
0ab146122d2d3da81675234f6021fa8c012d074d
https://github.com/astanin/python-tabulate/commit/e20994384822c5549dd43d50042bdf2892a37b97
https://github.com/astanin/python-tabulate
tabulate
[ "_normalize_tabular_data" ]
10
1
1b9e406777f2676d
astanin/python-tabulate@e20994384#_normalize_tabular_data
python
2026-08-18
goldset/0.1
1
jodal/pykka
ActorRef
ref: Async ask() now fails future instead of raising exception if actor is dead
function
docstring
Reference to a running actor which may safely be passed around. :class:`ActorRef` instances are returned by :meth:`Actor.start` and the lookup methods in :class:`ActorRegistry <pykka.ActorRegistry>`. You should never need to create :class:`ActorRef` instances yourself. :param actor: the actor to wrap :type actor: :cl...
class ActorRef(object): """ Reference to a running actor which may safely be passed around. :class:`ActorRef` instances are returned by :meth:`Actor.start` and the lookup methods in :class:`ActorRegistry <pykka.ActorRegistry>`. You should never need to create :class:`ActorRef` instances yourself. ...
class ActorRef(object): """ Reference to a running actor which may safely be passed around. :class:`ActorRef` instances are returned by :meth:`Actor.start` and the lookup methods in :class:`ActorRegistry <pykka.ActorRegistry>`. You should never need to create :class:`ActorRef` instances yourself. ...
tests/ref_test.py
[ "tests/ref_test.py::ThreadingActorRefTest::test_ask_nonblocking_fails_future_if_actor_is_stopped" ]
2013-07-14
2013-07-14
Apache-2.0
LICENSE
c8bbe63eea8cceed998be79d9b81565fafa188e2
e04531c8ec29c37ab8ba28f95124207d7c01df6e
https://github.com/jodal/pykka/commit/c8bbe63eea8cceed998be79d9b81565fafa188e2
https://github.com/jodal/pykka
pykka.actor
[ "ActorRef" ]
11
1
92a2470018eb15f8
jodal/pykka@c8bbe63ee#ActorRef
python
2026-08-18
goldset/0.1
1
CourtBouillon/webencodings
_get_codec_info
Fix passing an Encoding to decode and related functions.
function
docstring
Accept either an encoding object or label. :param encoding: An :class:`Encoding` object or a label string. :returns: A :class:`codecs.CodecInfo` object. :raises: :exc:`~exceptions.LookupError` for an unknown label.
def _get_codec_info(encoding): """ Accept either an encoding object or label. :param encoding: An :class:`Encoding` object or a label string. :returns: A :class:`codecs.CodecInfo` object. :raises: :exc:`~exceptions.LookupError` for an unknown label. """ if not hasattr(encoding, '_decoder')...
def _get_codec_info(encoding): """ Accept either an encoding object or label. :param encoding: An :class:`Encoding` object or a label string. :returns: A :class:`codecs.CodecInfo` object. :raises: :exc:`~exceptions.LookupError` for an unknown label. """ if not hasattr(encoding, 'codec_info...
webencodings/tests.py
[ "webencodings/tests.py::test_decode" ]
2013-06-29
2012-12-25
BSD-3-Clause
LICENSE
f335f456421f854d3b8a688ab57acb1df4490c3f
34a91e3b42cdd074b6efc3178b80b1b45919dcd6
https://github.com/CourtBouillon/webencodings/commit/f335f456421f854d3b8a688ab57acb1df4490c3f
https://github.com/CourtBouillon/webencodings
webencodings.__init__
[ "_get_codec_info" ]
2
1
89b70416e85b96fb
CourtBouillon/webencodings@f335f4564#_get_codec_info
python
2026-08-18
goldset/0.1
1
maxmind/GeoIP2-python
Location
Fixed bug in longitude and metro_code caused by a missing comma. Closes #1.
function
docstring
Contains data for the location record associated with an IP address This class contains the location data associated with an IP address. This record is returned by all the end points except the Country end point. Attributes: .. attribute:: accuracy_radius The radius in kilometers around the specified location ...
class Location(Record): """Contains data for the location record associated with an IP address This class contains the location data associated with an IP address. This record is returned by all the end points except the Country end point. Attributes: .. attribute:: accuracy_radius The ra...
class Location(Record): """Contains data for the location record associated with an IP address This class contains the location data associated with an IP address. This record is returned by all the end points except the Country end point. Attributes: .. attribute:: accuracy_radius The ra...
tests/models_test.py
[ "tests/models_test.py::TestModels::test_omni_full" ]
2013-06-20
2013-06-10
Apache-2.0
LICENSE
f493f97beea98626bd220df3fbbdcfcf157ffd1d
ed119eaa3c211ac43119f7a8ae0a8ddab39ceebb
https://github.com/maxmind/GeoIP2-python/commit/f493f97beea98626bd220df3fbbdcfcf157ffd1d
https://github.com/maxmind/GeoIP2-python
geoip2.records
[ "Location" ]
2
1
62e14cf399771484
maxmind/GeoIP2-python@f493f97be#Location
python
2026-08-18
goldset/0.1
1
tikitu/jsmin
JavascriptMinify
Fix for #2, #3: single line comments broken
function
docstring
Minify an input stream of javascript, writing to an output stream
class JavascriptMinify(object): """ Minify an input stream of javascript, writing to an output stream """ def __init__(self, instream=None, outstream=None): self.ins = instream self.outs = outstream def minify(self, instream=None, outstream=None): if instream and outstr...
class JavascriptMinify(object): """ Minify an input stream of javascript, writing to an output stream """ def __init__(self, instream=None, outstream=None): self.ins = instream self.outs = outstream def minify(self, instream=None, outstream=None): if instream and outstr...
jsmin/test.py
[ "jsmin/test.py::JsTests::testCommentInObj2" ]
2013-05-13
2013-05-10
MIT
LICENSE.txt
181628ebdb4e9d98490776a37197e2e99b88d7a6
a45d6e6cfa8b57d6aff97ed7e6ce0ca0618d946b
https://github.com/tikitu/jsmin/commit/181628ebdb4e9d98490776a37197e2e99b88d7a6
https://github.com/tikitu/jsmin
jsmin.__init__
[ "JavascriptMinify" ]
22
1
af9f2feff37922b4
tikitu/jsmin@181628ebd#JavascriptMinify
python
2026-08-18
goldset/0.1
1
tikitu/jsmin
JavascriptMinify
fix for #2
function
docstring
Minify an input stream of javascript, writing to an output stream
class JavascriptMinify(object): """ Minify an input stream of javascript, writing to an output stream """ def __init__(self, instream=None, outstream=None): self.ins = instream self.outs = outstream def minify(self, instream=None, outstream=None): if instream and outstr...
class JavascriptMinify(object): """ Minify an input stream of javascript, writing to an output stream """ def __init__(self, instream=None, outstream=None): self.ins = instream self.outs = outstream def minify(self, instream=None, outstream=None): if instream and outstr...
jsmin/test.py
[ "jsmin/test.py::JsTests::testCommentInObj" ]
2013-05-10
2013-05-10
MIT
LICENSE.txt
a45d6e6cfa8b57d6aff97ed7e6ce0ca0618d946b
ede84efb0ab73142f8c5b78eb3a7cf2022920982
https://github.com/tikitu/jsmin/commit/a45d6e6cfa8b57d6aff97ed7e6ce0ca0618d946b
https://github.com/tikitu/jsmin
jsmin.__init__
[ "JavascriptMinify" ]
4
1
d14f79d8f8b0126a
tikitu/jsmin@a45d6e6cf#JavascriptMinify
python
2026-08-18
goldset/0.1
1
miso-belica/sumy
Fixed wrong ordering of significant words in Luhn
file
commit
Fixed wrong ordering of significant words in Luhn
# -*- coding: utf8 -*- from __future__ import absolute_import from __future__ import division, print_function, unicode_literals from .._compat import Counter from ._method import AbstractSummarizationMethod class LuhnMethod(AbstractSummarizationMethod): max_gap_size = 4 significant_percentage = 1 _stop_...
# -*- coding: utf8 -*- from __future__ import absolute_import from __future__ import division, print_function, unicode_literals from .._compat import Counter from ._method import AbstractSummarizationMethod class LuhnMethod(AbstractSummarizationMethod): max_gap_size = 4 significant_percentage = 1 _stop_...
tests/test_luhn.py
[ "tests/test_luhn.py::TestSentenceRating::test_significant_words" ]
2013-03-17
2013-03-17
Apache-2.0
LICENSE.md
d0a55c45a58b0527f8c1f182b465548950693104
f9107bd69e6b05766dd76ee9f268c359cca9a280
https://github.com/miso-belica/sumy/commit/d0a55c45a58b0527f8c1f182b465548950693104
https://github.com/miso-belica/sumy
sumy.algorithms.luhn
[ "LuhnMethod" ]
2
1
8ee40217e31a8f4f
miso-belica/sumy@d0a55c45a#sumy/algorithms/luhn.py
python
2026-08-18
goldset/0.1
1
miso-belica/sumy
Raise exception if evaluated document is empty
file
commit
Raise exception if evaluated document is empty
# -*- coding: utf8 -*- from __future__ import absolute_import from __future__ import division, print_function, unicode_literals def f_score(evaluated_sentences, reference_sentences, weight=1.0): """ Computation of F-Score measure. It is computed as F(E) = ( (W^2 + 1) * P(E) * R(E) ) / ( W^2 * P(E) + R(E)...
# -*- coding: utf8 -*- from __future__ import absolute_import from __future__ import division, print_function, unicode_literals def f_score(evaluated_sentences, reference_sentences, weight=1.0): """ Computation of F-Score measure. It is computed as F(E) = ( (W^2 + 1) * P(E) * R(E) ) / ( W^2 * P(E) + R(E)...
tests/test_evaluation.py
[ "tests/test_evaluation.py::TestEvaluation::test_basic_f_score_empty_evaluated", "tests/test_evaluation.py::TestEvaluation::test_basic_f_score_empty_reference", "tests/test_evaluation.py::TestEvaluation::test_precision_empty_evaluated", "tests/test_evaluation.py::TestEvaluation::test_precision_empty_reference"...
2013-03-17
2013-03-17
Apache-2.0
LICENSE.md
9b2c3cbc7d777c694e19a4cc206929a96d2f171e
7dccc6872e6df67bb96ea63335226b7deb1982e9
https://github.com/miso-belica/sumy/commit/9b2c3cbc7d777c694e19a4cc206929a96d2f171e
https://github.com/miso-belica/sumy
sumy.evaluation.coselection
[ "_divide_evaluation" ]
6
6
d22113e5f6184891
miso-belica/sumy@9b2c3cbc7#sumy/evaluation/coselection.py
python
2026-08-18
goldset/0.1
1
tuvistavie/python-i18n
Update test directory layout. Fix test OS compatibility.
file
commit
Update test directory layout. Fix test OS compatibility.
import os.path from .loaders.loader import I18nFileLoadError from . import config from .translator import add_translation loaders = {} def register_loader(loader_class, supported_extensions): if not hasattr(loader_class, "load_resource"): raise ValueError("loader class should have a 'load_resource' metho...
import os.path from .loaders.loader import I18nFileLoadError from . import config from .translator import add_translation loaders = {} def register_loader(loader_class, supported_extensions): if not hasattr(loader_class, "load_resource"): raise ValueError("loader class should have a 'load_resource' metho...
i18n/tests/loader_tests.py
[ "i18n/tests/loader_tests.py::TestFileLoader::test_load_file_with_strange_encoding", "i18n/tests/loader_tests.py::TestFileLoader::test_load_json_file", "i18n/tests/loader_tests.py::TestFileLoader::test_load_wrong_json_file" ]
2013-03-12
2013-03-12
MIT
LICENSE
solaluset/i18nice
fdb3c155ec090f253595bdf8628c7e3cc4cd9517
e8bcd9cac344dfc02c975ef13ce5020e48b91131
https://github.com/tuvistavie/python-i18n/commit/fdb3c155ec090f253595bdf8628c7e3cc4cd9517
https://github.com/tuvistavie/python-i18n
i18n.resource_loader
[ "load_translation_file" ]
4
3
a0e0c92fa7f93807
tuvistavie/python-i18n@fdb3c155e#i18n/resource_loader.py
python
2026-08-18
goldset/0.1
1
kmike/DAWG-Python
bug with empty dawgs is fixed
file
commit
bug with empty dawgs is fixed
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals import struct import array from . import units class Dictionary(object): """ Dictionary class for retrieval and binary I/O. """ def __init__(self): self._units = array.array(str("I")) def root(self): ...
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals import struct import array from . import units class Dictionary(object): """ Dictionary class for retrieval and binary I/O. """ def __init__(self): self._units = array.array(str("I")) def root(self): ...
tests/test_dawg.py
[ "tests/test_dawg.py::TestCompletionDAWG::test_empty_dawg" ]
2012-10-01
2012-09-26
MIT
LICENSE
pymorphy2-fork/DAWG-Python
5abda1b18a487e779d544921dc0c1e2e2978e261
f505de91f33d491e46c36d8c96889ebc413de9c4
https://github.com/kmike/DAWG-Python/commit/5abda1b18a487e779d544921dc0c1e2e2978e261
https://github.com/kmike/DAWG-Python
dawg_python.wrapper
[ "Completer", "Guide" ]
12
1
ddf208060b5f2b66
kmike/DAWG-Python@5abda1b18#dawg_python/wrapper.py
python
2026-08-18
goldset/0.1
1
jazzband/docopt-ng
Fix bug when user error was shown in case of developer error.
file
commit
Fix bug when user error was shown in case of developer error.
from copy import copy import sys import re class UsageMessageError(Exception): """Error in construction of usage-message by developer.""" class DocoptExit(SystemExit): """Exit in case user invoked program with incorrect arguments.""" usage = '' def __init__(self, message=''): SystemExit....
from copy import copy import sys import re class UsageMessageError(Exception): """Error in construction of usage-message by developer.""" class DocoptExit(SystemExit): """Exit in case user invoked program with incorrect arguments.""" usage = '' def __init__(self, message=''): SystemExit....
test_docopt.py
[ "test_docopt.py::test_long_options_error_handling" ]
2012-06-12
2012-06-11
MIT
LICENSE-MIT
e5e4a89834ecf7b1da20d192ca656c605c925734
1d9152082fa7b6d3fae43b45ac216f716f1cd53f
https://github.com/jazzband/docopt-ng/commit/e5e4a89834ecf7b1da20d192ca656c605c925734
https://github.com/jazzband/docopt-ng
docopt
[ "docopt", "extras" ]
12
1
e8fa0c56303b6a19
jazzband/docopt-ng@e5e4a8983#docopt.py
python
2026-08-18
goldset/0.1
1
jazzband/docopt-ng
Raise exception if problems with finding 'usage:'.
file
commit
Raise exception if problems with finding 'usage:'.
from copy import copy import sys import re class DocoptLanguageError(Exception): """Error in construction of usage-message by developer.""" class DocoptExit(SystemExit): """Exit in case user invoked program with incorrect arguments.""" usage = '' def __init__(self, message=''): SystemExi...
from copy import copy import sys import re class DocoptLanguageError(Exception): """Error in construction of usage-message by developer.""" class DocoptExit(SystemExit): """Exit in case user invoked program with incorrect arguments.""" usage = '' def __init__(self, message=''): SystemExi...
test_docopt.py
[ "test_docopt.py::test_language_errors" ]
2012-06-12
2012-06-12
MIT
LICENSE-MIT
4786f475c85d379661f842da7ba4e181fa31b2fb
cb1bb79224ff2ae18e8171c1fad45940ab457735
https://github.com/jazzband/docopt-ng/commit/4786f475c85d379661f842da7ba4e181fa31b2fb
https://github.com/jazzband/docopt-ng
docopt
[ "printable_usage" ]
8
1
01a7640a354c7bb2
jazzband/docopt-ng@4786f475c#docopt.py
python
2026-08-18
goldset/0.1
1
jazzband/docopt-ng
Fix bugs found with language-agnostic tester.
file
commit
Fix bugs found with language-agnostic tester.
from copy import copy import sys import re class UsageMessageError(Exception): """Error in construction of usage-message by developer.""" class DocoptExit(SystemExit): """Exit in case user invoked program with incorrect arguments.""" usage = '' def __init__(self, message=''): SystemExit....
from copy import copy import sys import re class UsageMessageError(Exception): """Error in construction of usage-message by developer.""" class DocoptExit(SystemExit): """Exit in case user invoked program with incorrect arguments.""" usage = '' def __init__(self, message=''): SystemExit....
test_docopt.py
[ "test_docopt.py::test_bug_not_list_argument_if_nothing_matched", "test_docopt.py::test_option_arguments_default_to_none" ]
2012-06-06
2012-06-06
MIT
LICENSE-MIT
e4f9bf1e1061cf33bef865c94bf9d4ff4ed63f8a
152d4e13c0a7a7dffb11db87f3f6d5097068d2b8
https://github.com/jazzband/docopt-ng/commit/e4f9bf1e1061cf33bef865c94bf9d4ff4ed63f8a
https://github.com/jazzband/docopt-ng
docopt
[ "Option", "docopt" ]
5
2
4340315bda6068fc
jazzband/docopt-ng@e4f9bf1e1#docopt.py
python
2026-08-18
goldset/0.1
1
bastikr/boolean.py
Fix bug in DualBase.eval
file
commit
Fix bug in DualBase.eval
""" Boolean Algebra. This module defines a Boolean Algebra over the set {TRUE, FALSE} with boolean variables and the boolean functions AND, OR, NOT. For extensive documentation look either into the docs directory or view it online. Copyright (c) 2009-2010 Sebastian Kraemer, basti.kr@gmail.com Released under revised B...
""" Boolean Algebra. This module defines a Boolean Algebra over the set {TRUE, FALSE} with boolean variables and the boolean functions AND, OR, NOT. For extensive documentation look either into the docs directory or view it online. Copyright (c) 2009-2010 Sebastian Kraemer, basti.kr@gmail.com Released under revised B...
boolean/test_boolean.py
[ "boolean/test_boolean.py::DualBaseTestCase::test_eval" ]
2012-06-05
2011-12-09
BSD-2-Clause
LICENSE.txt
f10cb6a2d14c7250b829ab1e689309d4b8e81946
fff7e785c3c7ba6888ac48bc444cc460e709ee03
https://github.com/bastikr/boolean.py/commit/f10cb6a2d14c7250b829ab1e689309d4b8e81946
https://github.com/bastikr/boolean.py
boolean.boolean
[ "DualBase" ]
2
1
392a545cc831c2fb
bastikr/boolean.py@f10cb6a2d#boolean/boolean.py
python
2026-08-18
goldset/0.1
1
jazzband/docopt-ng
fix parsing of empty pattern
file
commit
fix parsing of empty pattern
from copy import copy import sys import re class DocoptError(Exception): """Error in construction of usage-message by developer.""" class DocoptExit(SystemExit): """Exit in case user invoked program with incorect arguments.""" usage = '' def __init__(self, message=''): SystemExit.__init_...
from copy import copy import sys import re class DocoptError(Exception): """Error in construction of usage-message by developer.""" class DocoptExit(SystemExit): """Exit in case user invoked program with incorect arguments.""" usage = '' def __init__(self, message=''): SystemExit.__init_...
test_docopt.py
[ "test_docopt.py::test_empty_pattern" ]
2012-06-01
2012-06-01
MIT
LICENSE-MIT
27e8879bccded6e0ccdb7fcc4ac123576e136ecd
01b6547f7206e7d319b8395328b8dda76651b562
https://github.com/jazzband/docopt-ng/commit/27e8879bccded6e0ccdb7fcc4ac123576e136ecd
https://github.com/jazzband/docopt-ng
docopt
[ "docopt" ]
2
1
9fd52eed6f4d01fa
jazzband/docopt-ng@27e8879bc#docopt.py
python
2026-08-18
goldset/0.1
1
globocom/m3u8
Fix #2: parsing chunk title
file
commit
Fix #2: parsing chunk title
''' M3U8 parser. ''' ext_x_targetduration = '#EXT-X-TARGETDURATION' ext_x_media_sequence = '#EXT-X-MEDIA-SEQUENCE' ext_x_key = '#EXT-X-KEY' extinf = '#EXTINF' def parse(content): ''' Given a M3U8 playlist content returns a dictionary with all data found ''' data = {'chunks': []} next_chuck_dura...
''' M3U8 parser. ''' ext_x_targetduration = '#EXT-X-TARGETDURATION' ext_x_media_sequence = '#EXT-X-MEDIA-SEQUENCE' ext_x_key = '#EXT-X-KEY' extinf = '#EXTINF' def parse(content): ''' Given a M3U8 playlist content returns a dictionary with all data found ''' data = {'chunks': []} next_chuck_dura...
tests/test_parser.py
[ "tests/test_parser.py::test_should_parse_title_from_playlist" ]
2012-05-02
2012-05-02
MIT
LICENSE
36437d369a9a6287346f4cfc740de99f2a6828ab
b4ce785d7fad1b96ebcf32a4b7fa6ddded9f1049
https://github.com/globocom/m3u8/commit/36437d369a9a6287346f4cfc740de99f2a6828ab
https://github.com/globocom/m3u8
m3u8.parser
[ "_parse_ts_chuck", "parse", "remove_quotes" ]
18
1
857f697b61112175
globocom/m3u8@36437d369#m3u8/parser.py
python
2026-08-18
goldset/0.1
1
testing-cabal/mock
_Call
Fix ANY comparisons with call objects
function
docstring
A tuple for holding the results of a call to a mock, either in the form `(args, kwargs)` or `(name, args, kwargs)`. If args or kwargs are empty then a call tuple will compare equal to a tuple without those values. This makes comparisons less verbose:: _Call(('name', (), {})) == ('name',) _Call(('name', (1,), ...
class _Call(tuple): """ A tuple for holding the results of a call to a mock, either in the form `(args, kwargs)` or `(name, args, kwargs)`. If args or kwargs are empty then a call tuple will compare equal to a tuple without those values. This makes comparisons less verbose:: _Call(('name',...
class _Call(tuple): """ A tuple for holding the results of a call to a mock, either in the form `(args, kwargs)` or `(name, args, kwargs)`. If args or kwargs are empty then a call tuple will compare equal to a tuple without those values. This makes comparisons less verbose:: _Call(('name',...
tests/testhelpers.py
[ "tests/testhelpers.py::CallTest::test_call_any" ]
2012-01-22
2012-01-22
BSD-2-Clause
LICENSE.txt
433c78a2c837c91619f15a8266982d44b71c573e
dca50f78ad5c06775690aae2a1bfd5e39c7c950e
https://github.com/testing-cabal/mock/commit/433c78a2c837c91619f15a8266982d44b71c573e
https://github.com/testing-cabal/mock
mock
[ "_Call" ]
2
1
3916d96742dea4d2
testing-cabal/mock@433c78a2c#_Call
python
2026-08-18
goldset/0.1
1
testing-cabal/mock
Fix callargs call comparisons
file
commit
Fix callargs call comparisons
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2011 Michael Foord & the mock team # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.8.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts...
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2011 Michael Foord & the mock team # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.8.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts...
tests/testhelpers.py
[ "tests/testhelpers.py::CallargsTest::test_callargs_with_args_call_empty_name" ]
2011-07-19
2011-07-18
BSD-2-Clause
LICENSE.txt
2265b42d5c3129d781b858f45d7929e3faf1e86e
d5590a43cda5ffacc53a7a2aa37ba828535ae6c3
https://github.com/testing-cabal/mock/commit/2265b42d5c3129d781b858f45d7929e3faf1e86e
https://github.com/testing-cabal/mock
mock
[ "_Call", "callargs" ]
8
1
9eba03ca8f9dc304
testing-cabal/mock@2265b42d5#mock.py
python
2026-08-18
goldset/0.1
1
testing-cabal/mock
Fix bug where a failure to create a nested patch could leave patches undone
file
commit
Fix bug where a failure to create a nested patch could leave patches undone
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2011 Michael Foord & the mock team # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.8.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts...
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2011 Michael Foord & the mock team # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.8.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts...
tests/testpatch.py
[ "tests/testpatch.py::PatchTest::test_nested_patch_failure" ]
2011-07-13
2011-07-13
BSD-2-Clause
LICENSE.txt
a5f50ae532dd7714da5e1f1169b9ac05095093d4
d12fa2c455fea01d6e3bb0992f4675a56c4115d0
https://github.com/testing-cabal/mock/commit/a5f50ae532dd7714da5e1f1169b9ac05095093d4
https://github.com/testing-cabal/mock
mock
[ "_patch" ]
24
1
46b70ba556ff43fd
testing-cabal/mock@a5f50ae53#mock.py
python
2026-08-18
goldset/0.1
1
jodal/pykka
ActorRegistry
Allow multiple unregistrations of same actor (Fix #5)
function
docstring
Registry which provides easy access to all running actors. Contains global state, but should be thread-safe.
class ActorRegistry(object): """ Registry which provides easy access to all running actors. Contains global state, but should be thread-safe. """ _actor_refs = [] _actor_refs_lock = _threading.RLock() @classmethod def broadcast(cls, message, target_class=None): """ Bro...
class ActorRegistry(object): """ Registry which provides easy access to all running actors. Contains global state, but should be thread-safe. """ _actor_refs = [] _actor_refs_lock = _threading.RLock() @classmethod def broadcast(cls, message, target_class=None): """ Bro...
tests/actor_test.py
[ "tests/actor_test.py::ThreadingActorTest::test_actor_can_call_stop_on_self_multiple_times" ]
2011-06-25
2011-06-25
Apache-2.0
LICENSE
a52c2ff0129b8fab8f740ad67ce30e89f093ba82
e3e75ea2d24238d15c466093a2b02ff19e65856d
https://github.com/jodal/pykka/commit/a52c2ff0129b8fab8f740ad67ce30e89f093ba82
https://github.com/jodal/pykka
pykka.registry
[ "ActorRegistry" ]
11
1
be0976e84255c8ae
jodal/pykka@a52c2ff01#ActorRegistry
python
2026-08-18
goldset/0.1
1
testing-cabal/mock
Fix _spec_signature with a spec of None
file
commit
Fix _spec_signature with a spec of None
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2011 Michael Foord & the mock team # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.8.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts...
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2011 Michael Foord & the mock team # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.8.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts...
tests/testhelpers.py
[ "tests/testhelpers.py::SpecSignatureTest::test_none" ]
2011-05-17
2011-05-17
BSD-2-Clause
LICENSE.txt
738198752b555121a685b47f89d4ab8ae34d1f19
669d5c84e338acdf549e149bba00c41f4bbb0665
https://github.com/testing-cabal/mock/commit/738198752b555121a685b47f89d4ab8ae34d1f19
https://github.com/testing-cabal/mock
mock
[ "_spec_signature" ]
4
1
a8c0f474aceb8d66
testing-cabal/mock@738198752#mock.py
python
2026-08-18
goldset/0.1
1
testing-cabal/mock
Fix for _spec_signature and builtin types
file
commit
Fix for _spec_signature and builtin types
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2011 Michael Foord & the mock team # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.8.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts...
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2011 Michael Foord & the mock team # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.8.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts...
tests/testhelpers.py
[ "tests/testhelpers.py::SpecSignatureTest::test_builtins" ]
2011-05-17
2011-05-17
BSD-2-Clause
LICENSE.txt
669d5c84e338acdf549e149bba00c41f4bbb0665
288d23581bcb4596e3d618a2074baa8bc6f2aebd
https://github.com/testing-cabal/mock/commit/669d5c84e338acdf549e149bba00c41f4bbb0665
https://github.com/testing-cabal/mock
mock
[ "Mock", "_spec_signature" ]
19
1
4edf6ead449771b6
testing-cabal/mock@669d5c84e#mock.py
python
2026-08-18
goldset/0.1
1
testing-cabal/mock
Attempting to *set* an attribute on a class with a spec will raise an if the spec doesn't have that attribute
file
commit
Attempting to *set* an attribute on a class with a spec will raise an if the spec doesn't have that attribute
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2010 Michael Foord & the mock team # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.7.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts...
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2010 Michael Foord & the mock team # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.7.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts...
tests/testmock.py
[ "tests/testmock.py::MockTest::testSettingAttributeWithSpec" ]
2010-10-18
2010-10-18
BSD-2-Clause
LICENSE.txt
17c557a9475ff234328864138f371b89435c7d67
fcd6555c317d02d2b2f4f4c5a4ed679b89cb654d
https://github.com/testing-cabal/mock/commit/17c557a9475ff234328864138f371b89435c7d67
https://github.com/testing-cabal/mock
mock
[ "Mock" ]
8
1
1c0af390d439adac
testing-cabal/mock@17c557a94#mock.py
python
2026-08-18
goldset/0.1
1
testing-cabal/mock
Attempting to set an unsupported magic method now raises an AttributeError Change version number to 0.7.0 beta 4 Change copying test to work on Python 3 (no sys.maxint)
file
commit
Attempting to set an unsupported magic method now raises an AttributeError Change version number to 0.7.0 beta 4 Change copying test to work on Python 3 (no sys.maxint)
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2010 Michael Foord & the mock team # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.7.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts...
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2010 Michael Foord & the mock team # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.7.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts...
tests/testmagicmethods.py
[ "tests/testmagicmethods.py::TestMockingMagicMethods::testSettingUnsupportedMagicMethod" ]
2010-10-18
2010-10-18
BSD-2-Clause
LICENSE.txt
f70d393c7357f044098cec12ef2e190d5be5a2c7
f9f31e1bddfc605437ad217dc2d536535ee6ce2c
https://github.com/testing-cabal/mock/commit/f70d393c7357f044098cec12ef2e190d5be5a2c7
https://github.com/testing-cabal/mock
mock
[ "Mock" ]
13
1
4631dac457fbe879
testing-cabal/mock@f70d393c7#mock.py
python
2026-08-18
goldset/0.1
1
testing-cabal/mock
double patch bug fixed
file
commit
double patch bug fixed
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2010 Michael Foord # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.7.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts maintained at h...
# mock.py # Test tools for mocking and patching. # Copyright (C) 2007-2010 Michael Foord # E-mail: fuzzyman AT voidspace DOT org DOT uk # mock 0.7.0 # http://www.voidspace.org.uk/python/mock/ # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # Scripts maintained at h...
tests/testpatch.py
[ "tests/testpatch.py::PatchTest::testPatchObjectTwice" ]
2010-06-13
2010-06-12
BSD-2-Clause
LICENSE.txt
0ff5fdea84af2af59161c7e6583ba0aa1bd3e134
d7ce629aa815f0175bd3c7fd6a5fbb765f589deb
https://github.com/testing-cabal/mock/commit/0ff5fdea84af2af59161c7e6583ba0aa1bd3e134
https://github.com/testing-cabal/mock
mock
[ "_patch" ]
2
1
5b97841cf9778a4e
testing-cabal/mock@0ff5fdea8#mock.py
python
2026-08-18
goldset/0.1
1
lovesegfault/beautysh
Fix indent/outdent error for strings containing brackets (#36)
file
commit
Fix indent/outdent error for strings containing brackets (#36)
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """A beautifier for Bash shell scripts written in Python.""" import argparse import re import sys def main(): """Call the main function.""" Beautify().main() class Beautify: """Class to handle both module and non-module calls.""" def __init__(self): ...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """A beautifier for Bash shell scripts written in Python.""" import argparse import re import sys def main(): """Call the main function.""" Beautify().main() class Beautify: """Class to handle both module and non-module calls.""" def __init__(self): ...
tests/test_beautysh.py
[ "tests/test_beautysh.py::TestBasic::test_indent1" ]
2019-01-13
2019-01-10
MIT
LICENSE
a694e3eab1937abd8cefdc0e603399c2dd7484c0
258330fe533dee3bd08605c8fc77524abd93e286
https://github.com/lovesegfault/beautysh/commit/a694e3eab1937abd8cefdc0e603399c2dd7484c0
https://github.com/lovesegfault/beautysh
beautysh.beautysh
[ "Beautify" ]
4
1
45fcefab82d0cb82
lovesegfault/beautysh@a694e3eab#beautysh/beautysh.py
python
2026-08-18
goldset/0.1
1
valohai/gitignorant
check_path_match
Fix treating excludes without path as directories
function
docstring
Check whether the given path or its parent directories match any of the rules. In other words, * Split the path into directory and the filename (using `split_path`) * Split the directory into directory parts (using `os.sep`) * For each directory part from left to right, merge it with all previous directory parts an...
def check_path_match( rules: List[Rule], path: str, split_path: Callable[[str], Tuple[str, str]] = os.path.split, ) -> bool: """ Check whether the given path or its parent directories match any of the rules. In other words, * Split the path into directory and the filename (using `split_pat...
def check_path_match( rules: List[Rule], path: str, split_path: Callable[[str], Tuple[str, str]] = os.path.split, ) -> bool: """ Check whether the given path or its parent directories match any of the rules. In other words, * Split the path into directory and the filename (using `split_pat...
test_gitignorant.py
[ "test_gitignorant.py::test_ignore_all_but_excluded[include_this-False]", "test_gitignorant.py::test_ignore_all_but_excluded[include_with_wildcard-False]" ]
2024-10-31
2023-08-23
MIT
LICENSE
4ef503368b8744172314f1899cbb20f9b31da18f
bec0785aeda9790cc4abbef8d181e268195a370f
https://github.com/valohai/gitignorant/commit/4ef503368b8744172314f1899cbb20f9b31da18f
https://github.com/valohai/gitignorant
gitignorant.__init__
[ "check_path_match" ]
2
2
e7a3479a73545ef2
valohai/gitignorant@4ef503368#check_path_match
python
2026-08-18
goldset/0.1
1
GoogleCloudPlatform/compute-image-packages
Fix the group and user modification commands. (#460)
file
commit
Fix the group and user modification commands. (#460)
#!/usr/bin/python # Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
#!/usr/bin/python # Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
google_compute_engine/accounts/tests/accounts_utils_test.py
[ "google_compute_engine/accounts/tests/accounts_utils_test.py::AccountsUtilsTest::testCreateSudoersGroup", "google_compute_engine/accounts/tests/accounts_utils_test.py::AccountsUtilsTest::testCreateSudoersGroupError" ]
2017-08-16
2017-08-16
Apache-2.0
LICENSE
a5287d1f8644094b6367a0d51e080bd28661fde5
15f8a66da3d763502d4d2c6f5e1c0e219e083759
https://github.com/GoogleCloudPlatform/compute-image-packages/commit/a5287d1f8644094b6367a0d51e080bd28661fde5
https://github.com/GoogleCloudPlatform/compute-image-packages
google_compute_engine.accounts.accounts_utils
[ "AccountsUtils" ]
11
2
fffed48586033cfc
GoogleCloudPlatform/compute-image-packages@a5287d1f8#google_compute_engine/accounts/accounts_utils.py
python
2026-08-18
goldset/0.1
1
GoogleCloudPlatform/compute-image-packages
IpForwardingUtils
Fix IP forwarding utils Python 3 compatibility. (#331)
function
docstring
System IP address configuration utilities.
class IpForwardingUtils(object): """System IP address configuration utilities.""" def __init__(self, logger, proto_id=None): """Constructor. Args: logger: logger object, used to write to SysLog and serial port. proto_id: string, the routing protocol identifier for Google IP changes. """ ...
class IpForwardingUtils(object): """System IP address configuration utilities.""" def __init__(self, logger, proto_id=None): """Constructor. Args: logger: logger object, used to write to SysLog and serial port. proto_id: string, the routing protocol identifier for Google IP changes. """ ...
google_compute_engine/ip_forwarding/tests/ip_forwarding_utils_test.py
[ "google_compute_engine/ip_forwarding/tests/ip_forwarding_utils_test.py::IpForwardingUtilsTest::testRunIpRoute" ]
2016-08-26
2016-08-25
Apache-2.0
LICENSE
0420c35149505d2b1fa7106d7697dcd63ed6479e
49bd63c53f00caec8128acd9976e8aed85c76fe5
https://github.com/GoogleCloudPlatform/compute-image-packages/commit/0420c35149505d2b1fa7106d7697dcd63ed6479e
https://github.com/GoogleCloudPlatform/compute-image-packages
google_compute_engine.ip_forwarding.ip_forwarding_utils
[ "IpForwardingUtils" ]
2
1
0d205f1e1678e4ba
GoogleCloudPlatform/compute-image-packages@0420c3514#IpForwardingUtils
python
2026-08-18
goldset/0.1
1
GoogleCloudPlatform/compute-image-packages
Fix user account management on Python 3. (#327)
file
commit
Fix user account management on Python 3. (#327)
#!/usr/bin/python # Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
#!/usr/bin/python # Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
google_compute_engine/accounts/tests/accounts_utils_test.py
[ "google_compute_engine/accounts/tests/accounts_utils_test.py::AccountsUtilsTest::testUpdateUserGroups", "google_compute_engine/accounts/tests/accounts_utils_test.py::AccountsUtilsTest::testUpdateUserGroupsError" ]
2016-08-22
2016-08-19
Apache-2.0
LICENSE
23facf2c1c404b2cec9af587b9bcc4747aef07f8
04bb5dbd5e284770c3aa7ddefacd6a489cebfef8
https://github.com/GoogleCloudPlatform/compute-image-packages/commit/23facf2c1c404b2cec9af587b9bcc4747aef07f8
https://github.com/GoogleCloudPlatform/compute-image-packages
google_compute_engine.accounts.accounts_utils
[ "AccountsUtils" ]
5
2
1a72e659f2ee6452
GoogleCloudPlatform/compute-image-packages@23facf2c1#google_compute_engine/accounts/accounts_utils.py
python
2026-08-18
goldset/0.1
1
mdowds/mock-firestore
Fix _apply_cursor for similar objects (#34)
file
commit
Fix _apply_cursor for similar objects (#34)
import warnings from itertools import islice, tee from typing import Iterator, Any, Optional, List, Callable from mockfirestore.document import DocumentSnapshot from mockfirestore._helpers import T class Query: def __init__(self, parent: 'CollectionReference', projection=None, field_filters=(), ...
import warnings from itertools import islice, tee from typing import Iterator, Any, Optional, List, Callable from mockfirestore.document import DocumentSnapshot from mockfirestore._helpers import T class Query: def __init__(self, parent: 'CollectionReference', projection=None, field_filters=(), ...
tests/test_collection_reference.py
[ "tests/test_collection_reference.py::TestCollectionReference::test_collection_start_after_similar_objects" ]
2020-10-24
2020-10-24
MIT
LICENSE
128a622ed4251a026154c74125ddd32bf64c0c1f
2e1ebb817ba98a5e34700940bdc285bf4c318662
https://github.com/mdowds/mock-firestore/commit/128a622ed4251a026154c74125ddd32bf64c0c1f
https://github.com/mdowds/mock-firestore
mockfirestore.query
[ "Query" ]
1
1
c9c82a4b10ce6180
mdowds/mock-firestore@128a622ed#mockfirestore/query.py
python
2026-08-18
goldset/0.1
1
mdowds/mock-firestore
Fix _apply_cursor for first element (#32)
file
commit
Fix _apply_cursor for first element (#32)
import warnings from itertools import islice, tee from typing import Iterator, Any, Optional, List, Callable from mockfirestore.document import DocumentSnapshot from mockfirestore._helpers import T class Query: def __init__(self, parent: 'CollectionReference', projection=None, field_filters=(), ...
import warnings from itertools import islice, tee from typing import Iterator, Any, Optional, List, Callable from mockfirestore.document import DocumentSnapshot from mockfirestore._helpers import T class Query: def __init__(self, parent: 'CollectionReference', projection=None, field_filters=(), ...
tests/test_collection_reference.py
[ "tests/test_collection_reference.py::TestCollectionReference::test_collection_start_after" ]
2020-10-24
2020-10-24
MIT
LICENSE
2e1ebb817ba98a5e34700940bdc285bf4c318662
c9491d08047ce3d73a47f3655786f9c8443cab5c
https://github.com/mdowds/mock-firestore/commit/2e1ebb817ba98a5e34700940bdc285bf4c318662
https://github.com/mdowds/mock-firestore
mockfirestore.query
[ "Query" ]
2
1
2168ff4d0b9e66da
mdowds/mock-firestore@2e1ebb817#mockfirestore/query.py
python
2026-08-18
goldset/0.1
1
heremaps/flexible-polyline
iter_dict_decode
Python: Fix iter_dict_decode (#80)
function
docstring
Return an iterator over coordinates dicts. The dict contains always the keys 'lat', 'lng' and depending on the polyline can contain a third key ('elv', 'lvl', 'alt', ...).
def iter_dict_decode(encoded): """Return an iterator over coordinates dicts. The dict contains always the keys 'lat', 'lng' and depending on the polyline can contain a third key ('elv', 'lvl', 'alt', ...).""" third_dim_key = THIRD_DIM_MAP[get_third_dimension(encoded)] for row in iter_decode(encoded): ...
def iter_dict_decode(encoded): """Return an iterator over coordinates dicts. The dict contains always the keys 'lat', 'lng' and depending on the polyline can contain a third key ('elv', 'lvl', 'alt', ...).""" third_dim_key = THIRD_DIM_MAP.get(get_third_dimension(encoded)) for row in iter_decode(encoded)...
python/test_flexpolyline.py
[ "python/test_flexpolyline.py::TestFlexPolyline::test_dict_decode_2d" ]
2024-06-12
2024-06-06
MIT
LICENSE
42ece00172f5ae09bca8d155100fb342b0f599dd
9badae3486ce8ba4c4106d5dd117e45ec8901097
https://github.com/heremaps/flexible-polyline/commit/42ece00172f5ae09bca8d155100fb342b0f599dd
https://github.com/heremaps/flexible-polyline
python.flexpolyline.__init__
[ "iter_dict_decode" ]
8
1
dd7066897cac801a
heremaps/flexible-polyline@42ece0017#iter_dict_decode
python
2026-08-18
goldset/0.1
1
flexmock/flexmock
Fix (mostly) handling of mocking parent classes of mocked objects
file
commit
Fix (mostly) handling of mocking parent classes of mocked objects
"""Copyright 2011 Herman Sheremetyev. 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 conditions and the f...
"""Copyright 2011 Herman Sheremetyev. 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 conditions and the f...
tests/flexmock_test.py
[ "tests/flexmock_test.py::TestFlexmockUnittest::test_mocking_down_the_inheritance_chain_class_to_class" ]
2011-04-15
2011-04-14
BSD-2-Clause
LICENSE
5ce178919d71a51d959f023a0edb68b3fc5dc255
f854cd9e575489bb9fcfc0c6a8411d80411bd9cf
https://github.com/flexmock/flexmock/commit/5ce178919d71a51d959f023a0edb68b3fc5dc255
https://github.com/flexmock/flexmock
flexmock
[ "_attach_flexmock_methods", "_get_same_methods" ]
8
1
7a32132ed25e6a53
flexmock/flexmock@5ce178919#flexmock.py
python
2026-08-18
goldset/0.1
1
flexmock/flexmock
Fix exception type check when no message specified
file
commit
Fix exception type check when no message specified
"""Copyright 2011 Herman Sheremetyev. 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 conditions and the f...
"""Copyright 2011 Herman Sheremetyev. 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 conditions and the f...
tests/flexmock_test.py
[ "tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_match_spy_exception_parent_type" ]
2011-03-27
2011-03-06
BSD-2-Clause
LICENSE
6eec0e26db2db1d8c5a79c54624bce86c8956fe6
08f4a8d7a4bea793bde74e7b21bae782d1ed2c61
https://github.com/flexmock/flexmock/commit/6eec0e26db2db1d8c5a79c54624bce86c8956fe6
https://github.com/flexmock/flexmock
flexmock
[ "FlexMock" ]
4
1
fb02152870799e48
flexmock/flexmock@6eec0e26d#flexmock.py
python
2026-08-18
goldset/0.1
1
vidartf/globmatch
Fix matching dotfiles
file
commit
Fix matching dotfiles
#!/usr/bin/env python # coding: utf-8 # Copyright (c) Simula Research Laboratory. # Distributed under the terms of the Modified BSD License. # # Copyright © 2001-2019 Python Software Foundation; All Rights Reserved """Utilities for matching a path against globs.""" import os import re try: from functools import ...
#!/usr/bin/env python # coding: utf-8 # Copyright (c) Simula Research Laboratory. # Distributed under the terms of the Modified BSD License. # # Copyright © 2001-2019 Python Software Foundation; All Rights Reserved """Utilities for matching a path against globs.""" import os import re try: from functools import ...
tests/test_match.py
[ "tests/test_match.py::test_match_dot_files" ]
2021-01-06
2021-01-06
BSD-3-Clause
LICENSE.md
254852544fe8b371e271f5797f4b0bb0744aed2a
61d2d26d7845127b06ec5857a32d82dfde545136
https://github.com/vidartf/globmatch/commit/254852544fe8b371e271f5797f4b0bb0744aed2a
https://github.com/vidartf/globmatch
globmatch.translation
[ "join_translated", "translate_glob_part" ]
9
1
dc81c00e5c1b8694
vidartf/globmatch@254852544#globmatch/translation.py
python
2026-08-18
goldset/0.1
1
hongdangmoo49/Trinity
fix: avoid missing workflow events traceback
file
commit
fix: avoid missing workflow events traceback
"""Workflow session persistence for Trinity v0.7.0.""" from __future__ import annotations import json import logging import shutil import time from collections.abc import Iterable, Mapping from dataclasses import dataclass from pathlib import Path from typing import Any from trinity.workflow.models import WorkflowSe...
"""Workflow session persistence for Trinity v0.7.0.""" from __future__ import annotations import json import logging import shutil import time from collections.abc import Iterable, Mapping from dataclasses import dataclass from pathlib import Path from typing import Any from trinity.workflow.models import WorkflowSe...
tests/test_workflow_persistence.py
[ "tests/test_workflow_persistence.py::test_workflow_persistence_ignores_index_when_live_log_was_removed", "tests/test_workflow_persistence.py::test_workflow_persistence_returns_empty_events_without_live_log" ]
2026-06-17
2026-06-17
MIT
LICENSE
e7588cd5ba3e8eea7e8d052665aa145f5ca67094
5add4aeaddf3f576a8e8b530f90ccecdef54638c
https://github.com/hongdangmoo49/Trinity/commit/e7588cd5ba3e8eea7e8d052665aa145f5ca67094
https://github.com/hongdangmoo49/Trinity
trinity.workflow.persistence
[ "WorkflowPersistence" ]
4
2
34da1eaa2c1a7e91
hongdangmoo49/Trinity@e7588cd5b#src/trinity/workflow/persistence.py
python
2026-08-18
goldset/0.1
1
hongdangmoo49/Trinity
fix: reuse target workspace for workflow followups
file
commit
fix: reuse target workspace for workflow followups
"""Stateful workflow engine for Trinity TUI sessions.""" from __future__ import annotations import json import re import time from dataclasses import dataclass from pathlib import Path from typing import TYPE_CHECKING, Any from uuid import uuid4 from trinity.models import DeliberationResult from trinity.workflow.dec...
"""Stateful workflow engine for Trinity TUI sessions.""" from __future__ import annotations import json import re import time from dataclasses import dataclass from pathlib import Path from typing import TYPE_CHECKING, Any from uuid import uuid4 from trinity.models import DeliberationResult from trinity.workflow.dec...
tests/test_textual_workflow_controller.py
[ "tests/test_textual_workflow_controller.py::test_textual_workflow_controller_reuses_target_for_review_followup" ]
2026-06-06
2026-06-06
MIT
LICENSE
a4791deca084c2d5c8a2275ebf33a81ab0076a6f
285c62866065e54ae4e36d41d2c3c19c7d5fa08f
https://github.com/hongdangmoo49/Trinity/commit/a4791deca084c2d5c8a2275ebf33a81ab0076a6f
https://github.com/hongdangmoo49/Trinity
trinity.workflow.engine
[ "WorkflowEngine" ]
23
1
71a768ab212e5168
hongdangmoo49/Trinity@a4791deca#src/trinity/workflow/engine.py
python
2026-08-18
goldset/0.1
1
hongdangmoo49/Trinity
fix(tui): address code quality review for SacredGeometryAnimator
file
commit
fix(tui): address code quality review for SacredGeometryAnimator
"""Sacred geometry ASCII mandala animator for the Trinity TUI header. Generates rotating frames of three overlapping circles and a hexagram, symbolising the three-agent deliberation architecture ("Three minds, one context"). """ from __future__ import annotations import math from dataclasses import dataclass, field ...
"""Sacred geometry ASCII mandala animator for the Trinity TUI header. Generates rotating frames of three overlapping circles and a hexagram, symbolising the three-agent deliberation architecture ("Three minds, one context"). """ from __future__ import annotations import math from dataclasses import dataclass @data...
tests/test_tui_sacred_geometry.py
[ "tests/test_tui_sacred_geometry.py::test_animator_rejects_invalid_mode", "tests/test_tui_sacred_geometry.py::test_animator_rejects_zero_dimensions", "tests/test_tui_sacred_geometry.py::test_animator_update_mode_rejects_invalid" ]
2026-06-05
2026-06-05
MIT
LICENSE
39c942aa202acd7f7bb8ae4816bac69e76064adb
3c545dc824e14f1690232240daa3e657c4488572
https://github.com/hongdangmoo49/Trinity/commit/39c942aa202acd7f7bb8ae4816bac69e76064adb
https://github.com/hongdangmoo49/Trinity
trinity.tui.sacred_geometry
[ "SacredGeometryAnimator", "_GlyphSet" ]
15
3
3c98f09e98f2971b
hongdangmoo49/Trinity@39c942aa2#src/trinity/tui/sacred_geometry.py
python
2026-08-18
goldset/0.1
1
hongdangmoo49/Trinity
fix: make rotation/warning thresholds configurable instead of hardcoded
file
commit
fix: make rotation/warning thresholds configurable instead of hardcoded
"""Trinity data models — all core dataclasses.""" from __future__ import annotations import time from dataclasses import dataclass, field from enum import Enum from pathlib import Path from typing import Any class MessageRole(str, Enum): """Role of a deliberation message.""" OPINION = "opinion" COUNTER...
"""Trinity data models — all core dataclasses.""" from __future__ import annotations import time from dataclasses import dataclass, field from enum import Enum from pathlib import Path from typing import Any class MessageRole(str, Enum): """Role of a deliberation message.""" OPINION = "opinion" COUNTER...
tests/test_models.py
[ "tests/test_models.py::TestAgentHealth::test_context_warning", "tests/test_models.py::TestAgentHealth::test_healthy_agent", "tests/test_models.py::TestContextUsage::test_above_threshold", "tests/test_models.py::TestContextUsage::test_at_threshold", "tests/test_models.py::TestContextUsage::test_below_thresho...
2026-06-03
2026-06-03
MIT
LICENSE
03640174c2bf7b0fd7bc2aed5f8b1e945eb1fa95
1cd2216ace692f413052038c275491bcfb108fd7
https://github.com/hongdangmoo49/Trinity/commit/03640174c2bf7b0fd7bc2aed5f8b1e945eb1fa95
https://github.com/hongdangmoo49/Trinity
trinity.models
[ "AgentHealth", "ContextUsage" ]
12
6
ef8a1cf9f533e994
hongdangmoo49/Trinity@03640174c#src/trinity/models.py
python
2026-08-18
goldset/0.1
1
hongdangmoo49/Trinity
fix(security): prevent path traversal in ManagedHome read/write_config
file
commit
fix(security): prevent path traversal in ManagedHome read/write_config
"""Managed Home — per-agent isolated home directories. Each agent gets its own "home" directory for provider-specific state, preventing config file collisions between Claude, Codex, and Gemini. Directory layout: .trinity/agents/ <agent-name>/ provider-state/ ← isolated home (HOME env over...
"""Managed Home — per-agent isolated home directories. Each agent gets its own "home" directory for provider-specific state, preventing config file collisions between Claude, Codex, and Gemini. Directory layout: .trinity/agents/ <agent-name>/ provider-state/ ← isolated home (HOME env over...
tests/test_managed_home.py
[ "tests/test_managed_home.py::TestManagedHomeSecurity::test_read_config_rejects_path_traversal", "tests/test_managed_home.py::TestManagedHomeSecurity::test_write_config_rejects_absolute_path", "tests/test_managed_home.py::TestManagedHomeSecurity::test_write_config_rejects_path_traversal" ]
2026-06-03
2026-06-03
MIT
LICENSE
ff19f42066252ccbb954b0c206a0860371ca3590
6fb53517c4e4caefdd7704880cebff3eca954179
https://github.com/hongdangmoo49/Trinity/commit/ff19f42066252ccbb954b0c206a0860371ca3590
https://github.com/hongdangmoo49/Trinity
trinity.workspace.managed_home
[ "ManagedHome" ]
11
3
6fa98967e06e49a1
hongdangmoo49/Trinity@ff19f4206#src/trinity/workspace/managed_home.py
python
2026-08-18
goldset/0.1
1
hongdangmoo49/Trinity
fix: sanitize surrogate characters in SharedContextEngine.write()
file
commit
fix: sanitize surrogate characters in SharedContextEngine.write()
"""Shared context engine — manages the shared.md 'shared brain' file.""" from __future__ import annotations import logging import re from datetime import datetime from pathlib import Path logger = logging.getLogger(__name__) class SharedContextEngine: """Section-based CRUD on shared.md. The shared.md file...
"""Shared context engine — manages the shared.md 'shared brain' file.""" from __future__ import annotations import logging import re from datetime import datetime from pathlib import Path logger = logging.getLogger(__name__) class SharedContextEngine: """Section-based CRUD on shared.md. The shared.md file...
tests/test_shared_context.py
[ "tests/test_shared_context.py::TestSharedContextEngine::test_append_opinion_with_surrogates", "tests/test_shared_context.py::TestSharedContextEngine::test_write_section_with_surrogates", "tests/test_shared_context.py::TestSharedContextEngine::test_write_surrogate_characters" ]
2026-06-02
2026-06-02
MIT
LICENSE
c94df0954382a8f48ed928f609dd86442039a247
63073a4c4c64663b9fe0c51dac9e7d57b5b0bff1
https://github.com/hongdangmoo49/Trinity/commit/c94df0954382a8f48ed928f609dd86442039a247
https://github.com/hongdangmoo49/Trinity
trinity.context.shared
[ "SharedContextEngine" ]
17
3
53505d3cc82c06be
hongdangmoo49/Trinity@c94df0954#src/trinity/context/shared.py
python
2026-08-18
goldset/0.1
1
mikiepure/pydlt
Fix bug that encoding can be ignored when reading DLT file
file
commit
Fix bug that encoding can be ignored when reading DLT file
"""Provide payload class of the DLT protocol. """ import struct from abc import ABC, abstractmethod from enum import IntEnum from typing import List, Optional, Union ############################################################################### # Payload of the DLT protocol # It can be checked at following sections: ...
"""Provide payload class of the DLT protocol. """ import struct from abc import ABC, abstractmethod from enum import IntEnum from typing import List, Optional, Union ############################################################################### # Payload of the DLT protocol # It can be checked at following sections: ...
tests/test_file.py
[ "tests/test_file.py::test_file_encoding_utf8" ]
2024-03-24
2023-11-07
MIT
LICENSE
476c9899c69fe010e3c0a1cb4a28a397b79e979d
10d4418c4d5857a88a25ddceb0d609d2489f95a9
https://github.com/mikiepure/pydlt/commit/476c9899c69fe010e3c0a1cb4a28a397b79e979d
https://github.com/mikiepure/pydlt
pydlt.payload
[ "ArgumentString" ]
6
1
aee71f9360b48797
mikiepure/pydlt@476c9899c#src/pydlt/payload.py
python
2026-08-18
goldset/0.1
1
open-spaced-repetition/py-fsrs
Fix handling of multiple schedulers edge case (#91)
file
commit
Fix handling of multiple schedulers edge case (#91)
""" fsrs.fsrs --------- This module defines each of the classes used in the fsrs package. Classes: State: Enum representing the learning state of a Card object. Rating: Enum representing the four possible ratings when reviewing a card. Card: Represents a flashcard in the FSRS system. ReviewLog: Repres...
""" fsrs.fsrs --------- This module defines each of the classes used in the fsrs package. Classes: State: Enum representing the learning state of a Card object. Rating: Enum representing the four possible ratings when reviewing a card. Card: Represents a flashcard in the FSRS system. ReviewLog: Repres...
tests/test_basic.py
[ "tests/test_basic.py::TestPyFSRS::test_one_card_multiple_schedulers" ]
2025-02-09
2025-02-06
MIT
LICENSE
a6879266ee6d5eafdfa62e7041b612f52133f102
e8b498dcd9b42fbf732747c2cb8a430bf86a6f83
https://github.com/open-spaced-repetition/py-fsrs/commit/a6879266ee6d5eafdfa62e7041b612f52133f102
https://github.com/open-spaced-repetition/py-fsrs
fsrs.fsrs
[ "Scheduler" ]
20
1
c5424867d1c6c1bc
open-spaced-repetition/py-fsrs@a6879266e#fsrs/fsrs.py
python
2026-08-18
goldset/0.1
1
open-spaced-repetition/py-fsrs
Fix multiple schedulers edge case (#90)
file
commit
Fix multiple schedulers edge case (#90)
""" fsrs.fsrs --------- This module defines each of the classes used in the fsrs package. Classes: State: Enum representing the learning state of a Card object. Rating: Enum representing the four possible ratings when reviewing a card. Card: Represents a flashcard in the FSRS system. ReviewLog: Repres...
""" fsrs.fsrs --------- This module defines each of the classes used in the fsrs package. Classes: State: Enum representing the learning state of a Card object. Rating: Enum representing the four possible ratings when reviewing a card. Card: Represents a flashcard in the FSRS system. ReviewLog: Repres...
tests/test_basic.py
[ "tests/test_basic.py::TestPyFSRS::test_one_card_multiple_schedulers" ]
2025-02-06
2025-02-03
MIT
LICENSE
e8b498dcd9b42fbf732747c2cb8a430bf86a6f83
ed19dc17424511f0341bb2932821fc544c410f63
https://github.com/open-spaced-repetition/py-fsrs/commit/e8b498dcd9b42fbf732747c2cb8a430bf86a6f83
https://github.com/open-spaced-repetition/py-fsrs
fsrs.fsrs
[ "Scheduler" ]
8
1
572da54d2974fe9b
open-spaced-repetition/py-fsrs@e8b498dcd#fsrs/fsrs.py
python
2026-08-18
goldset/0.1
1
open-spaced-repetition/py-fsrs
Fixes type bug where difficulty became an int if it exceeded the thresholds. (#74)
file
commit
Fixes type bug where difficulty became an int if it exceeded the thresholds. (#74)
""" fsrs.fsrs --------- This module defines each of the classes used in the fsrs package. Classes: State: Enum representing the learning state of a Card object. Rating: Enum representing the four possible ratings when reviewing a card. Card: Represents a flashcard in the FSRS system. ReviewLog: Repres...
""" fsrs.fsrs --------- This module defines each of the classes used in the fsrs package. Classes: State: Enum representing the learning state of a Card object. Rating: Enum representing the four possible ratings when reviewing a card. Card: Represents a flashcard in the FSRS system. ReviewLog: Repres...
tests/test_fsrs.py
[ "tests/test_fsrs.py::TestPyFSRS::test_repeated_correct_reviews" ]
2024-12-29
2024-12-19
MIT
LICENSE
c97c0da51fbbd3a5b428d9e777ee4f5c42ac813e
f18100d29c774f981f873361d444f8db12e88f77
https://github.com/open-spaced-repetition/py-fsrs/commit/c97c0da51fbbd3a5b428d9e777ee4f5c42ac813e
https://github.com/open-spaced-repetition/py-fsrs
fsrs.fsrs
[ "Scheduler" ]
4
1
90f15ea721747288
open-spaced-repetition/py-fsrs@c97c0da51#src/fsrs/fsrs.py
python
2026-08-18
goldset/0.1
1
jacobschaer/python-doipclient
Fix routing activation through gateways (#76)
file
commit
Fix routing activation through gateways (#76)
import logging import ipaddress import socket import struct import time import ssl from enum import IntEnum from typing import Union from .constants import ( A_DOIP_CTRL, TCP_DATA_UNSECURED, UDP_DISCOVERY, A_PROCESSING_TIME, LINK_LOCAL_MULTICAST_ADDRESS, ) from .messages import * logger = logging.g...
import logging import ipaddress import socket import struct import time import ssl from enum import IntEnum from typing import Union from .constants import ( A_DOIP_CTRL, TCP_DATA_UNSECURED, UDP_DISCOVERY, A_PROCESSING_TIME, LINK_LOCAL_MULTICAST_ADDRESS, ) from .messages import * logger = logging.g...
tests/test_client.py
[ "tests/test_client.py::test_activation_accepts_gateway_logical_address", "tests/test_client.py::test_activation_ignores_mismatched_client_before_accepting_gateway" ]
2026-08-17
2026-05-12
MIT
LICENSE
bcd745cb938a0b18733d2e962f4dabf8f09bed93
9c25660cf0dc5db44c43a5c2eedf91f7f432d8b0
https://github.com/jacobschaer/python-doipclient/commit/bcd745cb938a0b18733d2e962f4dabf8f09bed93
https://github.com/jacobschaer/python-doipclient
doipclient.client
[ "DoIPClient" ]
7
2
e4a444fa855efdf9
jacobschaer/python-doipclient@bcd745cb9#doipclient/client.py
python
2026-08-18
goldset/0.1
1
aurzenligl/prophy
In test_array_fixed - fix metaclass + use only marked bytestring
file
commit
In test_array_fixed - fix metaclass + use only marked bytestring
from . import composite from .exception import ProphyError from .base_array import base_array from .six import * def decode_scalar_array(tp, data, pos, endianness, count): if count is None: items, remainder = divmod(len(data) - pos, tp._SIZE) count = items + bool(remainder) cursor = 0 value...
from . import composite from .exception import ProphyError from .base_array import base_array from .six import * def decode_scalar_array(tp, data, pos, endianness, count): if count is None: items, remainder = divmod(len(data) - pos, tp._SIZE) count = items + bool(remainder) cursor = 0 value...
prophy/tests/test_array_fixed.py
[ "prophy/tests/test_array_fixed.py::test_fixed_array_with_enum", "prophy/tests/test_array_fixed.py::test_fixed_composite_array_encode", "prophy/tests/test_array_fixed.py::test_fixed_scalar_array_encode" ]
2014-09-25
2014-09-25
MIT
LICENSE
d9f4b6d2fd1f356ff396ee16752b6c6ae119bdf5
de36138820a26cc2830dcd34bc74834b32357859
https://github.com/aurzenligl/prophy/commit/d9f4b6d2fd1f356ff396ee16752b6c6ae119bdf5
https://github.com/aurzenligl/prophy
prophy.container
[ "fixed_composite_array", "fixed_scalar_array" ]
4
3
6d544f873c0ea6fc
aurzenligl/prophy@d9f4b6d2f#prophy/container.py
python
2026-08-18
goldset/0.1
1
zobweyt/textcase
Boundary
fix: use `@classmethod` instead of `@staticmethod` and `TypeVar` in `Boundary.from_delimiter` for proper inheritance typing (#33)
function
docstring
Represents a condition for splitting an identifier into words. Some boundaries, `HYPHEN`, `UNDERSCORE`, `SPACE`, and `INTERPUNCT` consume the character they split on, whereas the other boundaries do not. Examples: True False 0 1
class Boundary: """Represents a condition for splitting an identifier into words. Some boundaries, `HYPHEN`, `UNDERSCORE`, `SPACE`, and `INTERPUNCT` consume the character they split on, whereas the other boundaries do not. Examples: >>> DOT = Boundary(match=lambda text: text[:1] == ".", lengt...
class Boundary: """Represents a condition for splitting an identifier into words. Some boundaries, `HYPHEN`, `UNDERSCORE`, `SPACE`, and `INTERPUNCT` consume the character they split on, whereas the other boundaries do not. Examples: >>> DOT = Boundary(match=lambda text: text[:1] == ".", lengt...
tests/boundaries/test_boundary_from_delimiter.py
[ "tests/boundaries/test_boundary_from_delimiter.py::test_return_type_of_custom_subclass" ]
2025-10-01
2025-10-01
MIT
LICENSE
3cfc56bccf586a489e0571716275b97b851b3ef1
d47597d196ee286423e09041218d39c7680677a9
https://github.com/zobweyt/textcase/commit/3cfc56bccf586a489e0571716275b97b851b3ef1
https://github.com/zobweyt/textcase
textcase.__init__
[ "Boundary" ]
6
1
ce753d7eea707e6a
zobweyt/textcase@3cfc56bcc#Boundary
python
2026-08-18
goldset/0.1
1
ArchiveBox/abx-plugins
render_preview_html
fix archivewebpage one-domain replay base
function
docstring
Render the plugin's `full.html` template as the WACZ preview body. If a WACZ path is provided, the first archived URL from its pages index is used so replayweb.page can land directly in replay mode. Falls back to `fallback_url` (typically `Snapshot.url`) if the WACZ has no readable pages index.
def render_preview_html( filename: str, output_path: str, wacz_path: Path | None = None, fallback_url: str = "", ) -> str: """Render the plugin's ``full.html`` template as the WACZ preview body. If a WACZ path is provided, the first archived URL from its pages index is used so replayweb.pag...
def render_preview_html( filename: str, output_path: str, wacz_path: Path | None = None, fallback_url: str = "", ) -> str: """Render the plugin's ``full.html`` template as the WACZ preview body. If a WACZ path is provided, the first archived URL from its pages index is used so replayweb.pag...
tests/test_archivewebpage_replay_preview.py
[ "tests/test_archivewebpage_replay_preview.py::test_replay_preview_bootstrap_always_appends_ui_after_service_worker_wait" ]
2026-06-04
2026-06-04
MIT
LICENSE
e7409f33a57092f6c866cf1c1ec2b592232969b3
c9106f4410500ffad8f0d61738db9d1aeb0325ff
https://github.com/ArchiveBox/abx-plugins/commit/e7409f33a57092f6c866cf1c1ec2b592232969b3
https://github.com/ArchiveBox/abx-plugins
abx_plugins.plugins.archivewebpage.replay_preview
[ "render_preview_html" ]
2
1
ed807d3de3288cc3
ArchiveBox/abx-plugins@e7409f33a#render_preview_html
python
2026-08-18
goldset/0.1
1
GoogleCloudPlatform/terraform-python-testing-helper
Fix TypeError when calling decorated methods with positional arguments (#93)
file
commit
Fix TypeError when calling decorated methods with positional arguments (#93)
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
test/test_cache.py
[ "test/test_cache.py::test_output_positional_arg[True]" ]
2026-06-29
2026-03-31
Apache-2.0
LICENSE
f8c79b4b8a86079f4c829cad3b03dca860023770
f1332cc8bf424fb4240bc7e0a122c5fb8d616262
https://github.com/GoogleCloudPlatform/terraform-python-testing-helper/commit/f8c79b4b8a86079f4c829cad3b03dca860023770
https://github.com/GoogleCloudPlatform/terraform-python-testing-helper
tftest
[ "TerraformTest" ]
23
1
2786d3812ae3972f
GoogleCloudPlatform/terraform-python-testing-helper@f8c79b4b8#tftest.py
python
2026-08-18
goldset/0.1
1
GoogleCloudPlatform/terraform-python-testing-helper
Fix: preserve absolute Path object for tfdir (#91)
file
commit
Fix: preserve absolute Path object for tfdir (#91)
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
test/test_tfdir_path.py
[ "test/test_tfdir_path.py::test_tfdir_as_path" ]
2026-03-31
2026-03-31
Apache-2.0
LICENSE
17972f5a0c2359e0c3153e4740920948d0ce9b83
4d4fca5f4972abe2ed2b6929244af4ac6a41792f
https://github.com/GoogleCloudPlatform/terraform-python-testing-helper/commit/17972f5a0c2359e0c3153e4740920948d0ce9b83
https://github.com/GoogleCloudPlatform/terraform-python-testing-helper
tftest
[ "TerraformTest" ]
4
1
d97b62cbba0e72d3
GoogleCloudPlatform/terraform-python-testing-helper@17972f5a0#tftest.py
python
2026-08-18
goldset/0.1
1
ramazanpolat/prodict
Fixes issue #3; unknown keys now raise KeyError
file
commit
Fixes issue #3; unknown keys now raise KeyError
from typing import Any, List, TypeVar, Tuple import copy # from typing_inspect import get_parameters DICT_RESERVED_KEYS = vars(dict).keys() class GenericMeta(type): pass class Prodict(dict): """ Prodict = Dictionary with IDE friendly(auto code completion), dot-accessible attributes and more. """ ...
from typing import Any, List, TypeVar, Tuple import copy # from typing_inspect import get_parameters DICT_RESERVED_KEYS = vars(dict).keys() class GenericMeta(type): pass class Prodict(dict): """ Prodict = Dictionary with IDE friendly(auto code completion), dot-accessible attributes and more. """ ...
test_prodict.py
[ "test_prodict.py::test_unknown_attr" ]
2020-07-12
2020-05-08
MIT
LICENSE.txt
417bab337dcf5716ff9f51bf84f90ad1e8ba1f0d
6485d9c9939e5c6f6b3cd5d5af3e7955d1ec470a
https://github.com/ramazanpolat/prodict/commit/417bab337dcf5716ff9f51bf84f90ad1e8ba1f0d
https://github.com/ramazanpolat/prodict
prodict.__init__
[ "Prodict" ]
2
1
dde5e382e31e242e
ramazanpolat/prodict@417bab337#prodict/__init__.py
python
2026-08-18
goldset/0.1
1
ministryofjustice/bai2
fix support for BAI2 files with trailing whitespaces and blank lines
file
commit
fix support for BAI2 files with trailing whitespaces and blank lines
from bai2.parsers import Bai2FileParser from bai2.writers import Bai2FileWriter from bai2.helpers import IteratorHelper def parse_from_lines(lines, **kwargs): helper = IteratorHelper(lines) parser = Bai2FileParser(helper, **kwargs) return parser.parse() def parse_from_string(s, **kwargs): return par...
from bai2.parsers import Bai2FileParser from bai2.writers import Bai2FileWriter from bai2.helpers import IteratorHelper def parse_from_lines(lines, **kwargs): helper = IteratorHelper(lines) parser = Bai2FileParser(helper, **kwargs) return parser.parse() def parse_from_string(s, **kwargs): lines = [ ...
tests/test_bai2.py
[ "tests/test_bai2.py::ParseTestCase::test_parse_files_with_blank_lines", "tests/test_bai2.py::ParseTestCase::test_parse_files_with_trailing_whitespaces" ]
2023-11-30
2023-11-16
MIT
LICENSE.txt
544dc7e9f9b958d33013434735e91cd0101bfd33
ce7d84a7d896baacde1dcd18b7b6efce7026cd2b
https://github.com/ministryofjustice/bai2/commit/544dc7e9f9b958d33013434735e91cd0101bfd33
https://github.com/ministryofjustice/bai2
bai2.bai2
[ "parse_from_string" ]
8
2
a9f8f2a422ee456e
ministryofjustice/bai2@544dc7e9f#bai2/bai2.py
python
2026-08-18
goldset/0.1
1
imryche/blockkit
NumberInput
fix is_decimal_allowed method chaining
function
docstring
Number input element Allows user to enter a number into a single-line field. Slack docs: https://api.slack.com/reference/block-kit/block-elements#number
class NumberInput( Component, ActionIdMixin, DispatchActionConfigMixin, FocusOnLoadMixin, PlaceholderMixin, ): """ Number input element Allows user to enter a number into a single-line field. Slack docs: https://api.slack.com/reference/block-kit/block-elements#number ""...
class NumberInput( Component, ActionIdMixin, DispatchActionConfigMixin, FocusOnLoadMixin, PlaceholderMixin, ): """ Number input element Allows user to enter a number into a single-line field. Slack docs: https://api.slack.com/reference/block-kit/block-elements#number ""...
tests/test_core.py
[ "tests/test_core.py::TestNumberInput::test_builds" ]
2025-03-31
2025-03-31
MIT
LICENSE
def21100ecfe2f2821f308fb3aaa547aec18e25d
0e7534dcc0b5523048855c64b7ef4316546a60dd
https://github.com/imryche/blockkit/commit/def21100ecfe2f2821f308fb3aaa547aec18e25d
https://github.com/imryche/blockkit
blockkit.core
[ "NumberInput" ]
2
1
9bb81825cf5f36c6
imryche/blockkit@def21100e#NumberInput
python
2026-08-18
goldset/0.1
1
rhasspy/gruut-ipa
Add raw regexs, fix Czech phonemes
file
commit
Add raw regexs, fix Czech phonemes
"""Classes for dealing with phones and phonemes""" import logging import re import typing import unicodedata from collections import defaultdict from pathlib import Path from .constants import ( # noqa: F401 CONSONANTS, IPA, SCHWAS, VOWELS, Accent, BreakType, Consonant, Dipthong, S...
"""Classes for dealing with phones and phonemes""" import logging import re import typing import unicodedata from collections import defaultdict from pathlib import Path from .constants import ( # noqa: F401 CONSONANTS, IPA, SCHWAS, VOWELS, Accent, BreakType, Consonant, Dipthong, S...
tests/test_phonemes.py
[ "tests/test_phonemes.py::PhonemesTestCase::test_split_dipthong", "tests/test_phonemes.py::PhonemesTestCase::test_split_substring" ]
2020-12-04
2020-11-19
MIT
LICENSE
2c5f9889913f98a66f2302a87c13f777ede641ef
cd1a0c429996898e2deb5a0e3db27b6f51a52055
https://github.com/rhasspy/gruut-ipa/commit/2c5f9889913f98a66f2302a87c13f777ede641ef
https://github.com/rhasspy/gruut-ipa
gruut_ipa.__init__
[ "Phonemes" ]
5
2
382078afe2743b83
rhasspy/gruut-ipa@2c5f98899#gruut_ipa/__init__.py
python
2026-08-18
goldset/0.1
1
ymattw/ydiff
Fix issue #31 by catching UnicodeDecodeError as well
file
commit
Fix issue #31 by catching UnicodeDecodeError as well
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Term based tool to view *colored*, *incremental* diff in a *Git/Mercurial/Svn* workspace or from stdin, with *side by side* and *auto pager* support. Requires python (>= 2.5.0) and ``less``. """ META_INFO = { 'version' : '0.9.2', 'license' : 'BSD-3', ...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Term based tool to view *colored*, *incremental* diff in a *Git/Mercurial/Svn* workspace or from stdin, with *side by side* and *auto pager* support. Requires python (>= 2.5.0) and ``less``. """ META_INFO = { 'version' : '0.9.2', 'license' : 'BSD-3', ...
tests/test_cdiff.py
[ "tests/test_cdiff.py::DecodeTest::test_malformed_utf8" ]
2013-09-10
2013-09-10
BSD-3-Clause
LICENSE
73e8e660b48636f24ccdf5a1f5df56a7f4fdfff3
e83642c799b8c23bd563ec0c8aa33cc7c89fc154
https://github.com/ymattw/ydiff/commit/73e8e660b48636f24ccdf5a1f5df56a7f4fdfff3
https://github.com/ymattw/ydiff
cdiff
[ "decode" ]
2
1
12f1daf30bab348a
ymattw/ydiff@73e8e660b#cdiff.py
python
2026-08-18
goldset/0.1
1
eyelevelai/groundx-python
fix(extract): ambiguous relationship matches are warnings, not document failures
file
commit
fix(extract): ambiguous relationship matches are warnings, not document failures
from __future__ import annotations import copy import dataclasses import json import numbers import typing from .utility import clean_json @dataclasses.dataclass(frozen=True) class CustomOutputDiagnostic: code: str message: str severity: str = "error" workflow_group: typing.Optional[str] = None ...
from __future__ import annotations import copy import dataclasses import json import numbers import typing from .utility import clean_json @dataclasses.dataclass(frozen=True) class CustomOutputDiagnostic: code: str message: str severity: str = "error" workflow_group: typing.Optional[str] = None ...
tests/extract/test_custom_output_reassembly.py
[ "tests/extract/test_custom_output_reassembly.py::test_ambiguous_relationship_match_is_warning_and_routes_unmatched" ]
2026-07-08
2026-07-08
MIT
LICENSE
2a8420d3aaee633b327bccf76c72bf4c94d607b0
361fcf7bf79c62f582a4c9d0852754fa6095fa68
https://github.com/eyelevelai/groundx-python/commit/2a8420d3aaee633b327bccf76c72bf4c94d607b0
https://github.com/eyelevelai/groundx-python
groundx.extract.custom_outputs
[ "_apply_relationships" ]
7
1
19b08c5c4f3b6f37
eyelevelai/groundx-python@2a8420d3a#src/groundx/extract/custom_outputs.py
python
2026-08-18
goldset/0.1
1
teradata/PyTd
UdaExecConfig
Fix for #16
function
docstring
UdaExec configuration loader and resolver.
class UdaExecConfig: """UdaExec configuration loader and resolver.""" def __init__(self, configFiles, configSection, parseCmdLineArgs, logMsgs): configParser = configparser.ConfigParser() configParser.optionxform = str configFiles = [os.path.expanduser(f) for f in configFiles] ...
class UdaExecConfig: """UdaExec configuration loader and resolver.""" def __init__(self, configFiles, configSection, parseCmdLineArgs, logMsgs): configParser = configparser.ConfigParser() configParser.optionxform = str configFiles = [os.path.expanduser(f) for f in configFiles] ...
test/test_udaexec_config.py
[ "test/test_udaexec_config.py::UdaExecConfigTest::testConfigEscapeCharacter", "test/test_udaexec_config.py::UdaExecConfigTest::testExcapeCharacterInDataSource" ]
2015-10-05
2015-08-26
MIT
LICENSE.txt
51d7f6e98a889184321ec7c90146e1b4a4d2f2c8
bb4a748200409b62552c00f97a5da68e7e59bc9e
https://github.com/teradata/PyTd/commit/51d7f6e98a889184321ec7c90146e1b4a4d2f2c8
https://github.com/teradata/PyTd
teradata.udaexec
[ "UdaExecConfig" ]
1
2
4031dacf82139d94
teradata/PyTd@51d7f6e98#UdaExecConfig
python
2026-08-18
goldset/0.1
1
bwindsor/typed-config
Add test for using same child config twice, and fix bug where one instance is created instead of two
file
commit
Add test for using same child config twice, and fix bug where one instance is created instead of two
# This future import allows methods of Config to use Config as their return type import typing from itertools import chain from typing import TypeVar, List, Optional, Callable, Type, Union, Tuple, Any from typedconfig.provider import ConfigProvider from typedconfig.source import ConfigSource import logging import inspe...
# This future import allows methods of Config to use Config as their return type import typing from itertools import chain from typing import TypeVar, List, Optional, Callable, Type, Union, Tuple, Any from typedconfig.provider import ConfigProvider from typedconfig.source import ConfigSource import logging import inspe...
test/test_configuration.py
[ "test/test_configuration.py::test_reuse_child_config" ]
2021-09-09
2021-09-09
MIT
LICENSE
0141681d8dc813f1019dc0d334e6f690cc9ede86
51f67f16326cb8172b812e21d1f13e23722faf11
https://github.com/bwindsor/typed-config/commit/0141681d8dc813f1019dc0d334e6f690cc9ede86
https://github.com/bwindsor/typed-config
typedconfig.config
[ "Config", "group_key" ]
6
1
9f288d5fa9f13e46
bwindsor/typed-config@0141681d8#typedconfig/config.py
python
2026-08-18
goldset/0.1
1
bwindsor/typed-config
key
Fix: don't cast default value
function
docstring
Provides a getter for a configuration key Parameters ---------- section_name: section name where the key resides. If not specified, the @section decorator should be used on the Config class to specify it key_name: key name within the specified section. If not specified, the python key name will be capitalised a...
def key(section_name: str=None, key_name: str=None, required: bool=True, cast: Callable[[Union[T, str]], T]=None, default: T=None) -> T: """ Provides a getter for a configuration key Parameters ---------- section_name: section name where the key resides. If not specif...
def key(section_name: str=None, key_name: str=None, required: bool=True, cast: Callable[[Union[T, str]], T]=None, default: T=None) -> T: """ Provides a getter for a configuration key Parameters ---------- section_name: section name where the key resides. If not specif...
test/test_configuration.py
[ "test/test_configuration.py::test_cast_with_default" ]
2020-04-10
2020-03-11
MIT
LICENSE
d085f6c2270131f173bfee75861dbc6ce66c6977
9af71de5ab7426a9711965aa83759d0b22e42454
https://github.com/bwindsor/typed-config/commit/d085f6c2270131f173bfee75861dbc6ce66c6977
https://github.com/bwindsor/typed-config
typedconfig.config
[ "key" ]
2
1
d4b078e996c9a625
bwindsor/typed-config@d085f6c22#key
python
2026-08-18
goldset/0.1
1
maldoinc/wireup
Raise on generators + transient dependencies
file
commit
Raise on generators + transient dependencies
from __future__ import annotations import asyncio import functools import inspect import sys import warnings from types import GeneratorType from typing import TYPE_CHECKING, Any, TypeVar, overload from wireup.ioc.base_container import BaseContainer if sys.version_info < (3, 9): from graphlib2 import Topological...
from __future__ import annotations import asyncio import functools import inspect import sys import warnings from types import GeneratorType from typing import TYPE_CHECKING, Any, TypeVar, overload from wireup.ioc.base_container import BaseContainer if sys.version_info < (3, 9): from graphlib2 import Topological...
test/unit/test_generator_factory.py
[ "test/unit/test_generator_factory.py::test_raises_on_transient_dependency" ]
2024-10-19
2024-10-19
MIT
d59a3d721d99c493b1d7d085d75c02874609776f
be601b6d1f0dddb7eb27817d402e129216c2a6e1
https://github.com/maldoinc/wireup/commit/d59a3d721d99c493b1d7d085d75c02874609776f
https://github.com/maldoinc/wireup
wireup.ioc.dependency_container
[ "DependencyContainer" ]
9
1
0638c8604b49432d
maldoinc/wireup@d59a3d721#wireup/ioc/dependency_container.py
python
2026-08-18
goldset/0.1
1
maldoinc/wireup
Fix case of wiring param without type hint
file
commit
Fix case of wiring param without type hint
from __future__ import annotations import asyncio import functools import inspect from collections import defaultdict from inspect import Parameter from typing import TYPE_CHECKING, Any, Callable, TypeVar from .container_util import ( ContainerProxy, ContainerProxyQualifier, ContainerProxyQualifierValue, ...
from __future__ import annotations import asyncio import functools import inspect from collections import defaultdict from inspect import Parameter from typing import TYPE_CHECKING, Any, Callable, TypeVar from .container_util import ( ContainerProxy, ContainerProxyQualifier, ContainerProxyQualifierValue, ...
test/test_container.py
[ "test/test_container.py::TestContainer::test_wire_param_without_typing" ]
2023-09-05
2023-09-05
MIT
ce7d559cbcd7b1e5727d103e24060e04d76ab99c
9524f55894609f687808d2a153a04265bd457c63
https://github.com/maldoinc/wireup/commit/ce7d559cbcd7b1e5727d103e24060e04d76ab99c
https://github.com/maldoinc/wireup
wireup.ioc.dependency_container
[ "DependencyContainer" ]
6
1
4b5476b591af511c
maldoinc/wireup@ce7d559cb#wireup/ioc/dependency_container.py
python
2026-08-18
goldset/0.1
1
Midnighter/dependency-info
_get_package_version
Fix #5, more robust package parsing
function
docstring
Return a package, version pair from a requirement description. Raises: importlib.metadata.PackageNotFoundError: If the package is not found in the environment.
def _get_package_version(requirement: str) -> Tuple[str, str]: """ Return a package, version pair from a requirement description. Raises: importlib.metadata.PackageNotFoundError: If the package is not found in the environment. """ package = requirement.split(";", 1)[0].strip() ...
def _get_package_version(requirement: str) -> Tuple[str, str]: """ Return a package, version pair from a requirement description. Raises: importlib.metadata.PackageNotFoundError: If the package is not found in the environment. """ package = re.split(r"[;<>=\s]", requirement)[0]...
tests/test_info.py
[ "tests/test_info.py::test_get_package_version[pip", "tests/test_info.py::test_get_package_version[pip==1.19.3-pip]", "tests/test_info.py::test_get_package_version[pip>=2.0.5-pip]", "tests/test_info.py::test_get_package_version[pip>=6.1", "tests/test_info.py::test_get_package_version[pip>=6.1;" ]
2021-02-03
2021-02-03
Apache-2.0
LICENSE
3a1d376a3dba0771680e38eca55aed1b9ffc59e1
c20ecd1515da9c29f3878797cc8b4dbc4db67809
https://github.com/Midnighter/dependency-info/commit/3a1d376a3dba0771680e38eca55aed1b9ffc59e1
https://github.com/Midnighter/dependency-info
depinfo.info
[ "_get_package_version" ]
2
5
b1cd681b86588ac1
Midnighter/dependency-info@3a1d376a3#_get_package_version
python
2026-08-18
goldset/0.1
1
reinhrst/abstractcp
Abstract
Fix __abstractmethods__ attribute error in subclasses of ABC and Abstract derived class. Update tests.
function
docstring
Only direct inheritance from this class makes subclasses abstract. Use: class A(acp.Abstract): x: int = acp.abstract_class_property(int) y: str = acp.abstract_class_property(str) class B(A): x: t.Literal[1] = 1 y: t.Literal["spam"] = "spam"
class Abstract: """ Only direct inheritance from this class makes subclasses abstract. Use: class A(acp.Abstract): x: int = acp.abstract_class_property(int) y: str = acp.abstract_class_property(str) class B(A): x: t.Literal[1] = 1 y: t.Literal["spam"] = "spam" "...
class Abstract: """ Only direct inheritance from this class makes subclasses abstract. Use: class A(acp.Abstract): x: int = acp.abstract_class_property(int) y: str = acp.abstract_class_property(str) class B(A): x: t.Literal[1] = 1 y: t.Literal["spam"] = "spam" "...
tests/test_define.py
[ "tests/test_define.py::test_combine_with_abc_ABC_first", "tests/test_define.py::test_combine_with_abc_ABC_second" ]
2021-03-03
2021-03-02
MIT
LICENSE
130f6d565702553e8c8a9092ec1e42b93605c575
abfd4cc7d2fb71317a6f2aa35249ef602a4f58c8
https://github.com/reinhrst/abstractcp/commit/130f6d565702553e8c8a9092ec1e42b93605c575
https://github.com/reinhrst/abstractcp
abstractcp.__init__
[ "Abstract" ]
4
2
460649a22a9cc889
reinhrst/abstractcp@130f6d565#Abstract
python
2026-08-18
goldset/0.1
1
yuan-xy/canoser-python
fix getattr for enum
file
commit
fix getattr for enum
from canoser.base import Base from canoser.cursor import Cursor from canoser.types import type_mapping from canoser.int_type import Uint32 from canoser.struct import TypedProperty #TODO: how to support discontinuous index in enum class RustEnum(Base): _enums = [] @classmethod def get_index(cls, name): ...
from canoser.base import Base from canoser.cursor import Cursor from canoser.types import type_mapping from canoser.int_type import Uint32 from canoser.struct import TypedProperty #TODO: how to support discontinuous index in enum class RustEnum(Base): _enums = [] @classmethod def get_index(cls, name): ...
test/test_enum.py
[ "test/test_enum.py::test_enum" ]
2020-02-06
2020-02-06
MIT
LICENSE
dfe4ecaddb54e6b6c99b89d20fd24a6a8377ccab
a420d9c3bf998a99d2cea9af4903e11d2c141879
https://github.com/yuan-xy/canoser-python/commit/dfe4ecaddb54e6b6c99b89d20fd24a6a8377ccab
https://github.com/yuan-xy/canoser-python
canoser.rust_enum
[ "RustEnum" ]
5
1
5d26c8eb9eca0225
yuan-xy/canoser-python@dfe4ecadd#canoser/rust_enum.py
python
2026-08-18
goldset/0.1
1
alengwenus/pypck
Fix RelayStateModifier in control_relays_timer (#183)
file
commit
Fix RelayStateModifier in control_relays_timer (#183)
"""PCK command parsers and generators.""" from __future__ import annotations import re from collections.abc import Sequence from pypck import lcn_defs from pypck.lcn_addr import LcnAddr class PckParser: """Helpers to parse LCN-PCK commands. LCN-PCK is the command-syntax used by LCN-PCHK to send and receiv...
"""PCK command parsers and generators.""" from __future__ import annotations import re from collections.abc import Sequence from pypck import lcn_defs from pypck.lcn_addr import LcnAddr class PckParser: """Helpers to parse LCN-PCK commands. LCN-PCK is the command-syntax used by LCN-PCHK to send and receiv...
tests/test_commands.py
[ "tests/test_commands.py::test_command_generation_single_mod_noack[R8T0321--111---command179]" ]
2026-05-31
2026-05-31
MIT
LICENSE
c82522e709eb18f4d3bd3667886d901774effffb
d91fbb668c4e6114df8a80680baf9f35234e5ad6
https://github.com/alengwenus/pypck/commit/c82522e709eb18f4d3bd3667886d901774effffb
https://github.com/alengwenus/pypck
pypck.pck_commands
[ "PckGenerator" ]
2
1
e3cd415c2c657097
alengwenus/pypck@c82522e70#pypck/pck_commands.py
python
2026-08-18
goldset/0.1
1
alengwenus/pypck
Fix commands for rt600 and rt1200 (#117)
file
commit
Fix commands for rt600 and rt1200 (#117)
"""PCK command parsers and generators.""" from __future__ import annotations import re from collections.abc import Sequence from pypck import lcn_defs from pypck.lcn_addr import LcnAddr class PckParser: """Helpers to parse LCN-PCK commands. LCN-PCK is the command-syntax used by LCN-PCHK to send and receiv...
"""PCK command parsers and generators.""" from __future__ import annotations import re from collections.abc import Sequence from pypck import lcn_defs from pypck.lcn_addr import LcnAddr class PckParser: """Helpers to parse LCN-PCK commands. LCN-PCK is the command-syntax used by LCN-PCHK to send and receiv...
tests/test_commands.py
[ "tests/test_commands.py::test_command_generation_single_mod_noack[A1DI100008-command179]", "tests/test_commands.py::test_command_generation_single_mod_noack[A1DI100011-command180]", "tests/test_commands.py::test_command_generation_single_mod_noack[A2DI100008-command182]", "tests/test_commands.py::test_command...
2024-08-15
2024-08-14
MIT
LICENSE
5adc67058a99825074baeee0cdccc020c8ed74af
30ee8b389d38379e27fb705b2f738f76f06186ee
https://github.com/alengwenus/pypck/commit/5adc67058a99825074baeee0cdccc020c8ed74af
https://github.com/alengwenus/pypck
pypck.pck_commands
[ "PckGenerator" ]
12
4
a1deddb1ec945c8f
alengwenus/pypck@5adc67058#pypck/pck_commands.py
python
2026-08-18
goldset/0.1
1
alengwenus/pypck
Fix VarUnit issues and add tests for conversion roundtrip and calibration (#83)
file
commit
Fix VarUnit issues and add tests for conversion roundtrip and calibration (#83)
"""Copyright (c) 2006-2020 by the respective copyright holders. See the NOTICE file(s) distributed with this work for additional information. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0 SPD...
"""Copyright (c) 2006-2020 by the respective copyright holders. See the NOTICE file(s) distributed with this work for additional information. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0 SPD...
tests/test_vars.py
[ "tests/test_vars.py::test_calibration[VarUnit.AMPERE-100-0.001]", "tests/test_vars.py::test_calibration[VarUnit.AMPERE-4000-0.04]", "tests/test_vars.py::test_roundtrip[VarUnit.AMPERE-0-0_0]", "tests/test_vars.py::test_roundtrip[VarUnit.AMPERE-0-0_1]", "tests/test_vars.py::test_roundtrip[VarUnit.AMPERE-100-1...
2021-06-03
2021-05-28
MIT
LICENSE
3957c91f9804d34160468c8f193b87d84424958e
58292b52b03838f0e953b00931c2cdd0c8a9ba29
https://github.com/alengwenus/pypck/commit/3957c91f9804d34160468c8f193b87d84424958e
https://github.com/alengwenus/pypck
pypck.lcn_defs
[ "VarValue" ]
6
36
bd22429adeeca00d
alengwenus/pypck@3957c91f9#pypck/lcn_defs.py
python
2026-08-18
goldset/0.1
1
vivisect/vivisect
fix bug in readMemString(<>, wide=True) where the last \x00 is considered part of the terminator instead of the last character (#663)
file
commit
fix bug in readMemString(<>, wide=True) where the last \x00 is considered part of the terminator instead of the last character (#663)
import re import struct import logging import contextlib import envi import envi.exc as e_exc import envi.bits as e_bits from envi.const import * """ A module containing memory utilities and the definition of the memory access API used by all vtoys trace/emulators/workspaces. """ logger = logging.getLogger(__name__)...
import re import struct import logging import contextlib import envi import envi.exc as e_exc import envi.bits as e_bits from envi.const import * """ A module containing memory utilities and the definition of the memory access API used by all vtoys trace/emulators/workspaces. """ logger = logging.getLogger(__name__)...
envi/tests/test_memory.py
[ "envi/tests/test_memory.py::EnviMemoryTest::test_readMemString" ]
2024-08-19
2024-08-12
Apache-2.0
LICENSE.txt
e29a86b4857c960139c898d4250d58e3d03ed1de
4729907d987b4ca79c1e774dead0e6d3c285f150
https://github.com/vivisect/vivisect/commit/e29a86b4857c960139c898d4250d58e3d03ed1de
https://github.com/vivisect/vivisect
envi.memory
[ "MemoryObject" ]
4
1
ebfdce5cf56bc5b5
vivisect/vivisect@e29a86b48#envi/memory.py
python
2026-08-18
goldset/0.1
1
vivisect/vivisect
Visgraph bug older than dirt (#387)
file
commit
Visgraph bug older than dirt (#387)
''' Graphcore contains all the base graph manipulation objects. ''' import os import json import threading import collections from binascii import hexlify from visgraph.exc import * import visgraph.pathcore as vg_pathcore def guid(size=16): return hexlify(os.urandom(size)).decode('utf-8') def zdict(): ret...
''' Graphcore contains all the base graph manipulation objects. ''' import os import json import threading import collections from binascii import hexlify from visgraph.exc import * import visgraph.pathcore as vg_pathcore def guid(size=16): return hexlify(os.urandom(size)).decode('utf-8') def zdict(): ret...
visgraph/tests/test_graphcore.py
[ "visgraph/tests/test_graphcore.py::GraphCoreTest::test_visgraph_add_del_misc_properties" ]
2021-04-06
2021-04-05
Apache-2.0
LICENSE.txt
ecc2866b3c8814f180ff70a27d0d26ce08e74fec
bed78fd01526db0e506af909688c4b136f70f257
https://github.com/vivisect/vivisect/commit/ecc2866b3c8814f180ff70a27d0d26ce08e74fec
https://github.com/vivisect/vivisect
visgraph.graphcore
[ "Graph" ]
24
1
9123920d7ff1738f
vivisect/vivisect@ecc2866b3#visgraph/graphcore.py
python
2026-08-18
goldset/0.1
1
aequitas/python-rflink
decode_packet
Fix commands which contain '='.
function
docstring
Break packet down into primitives, and do basic interpretation. True
def decode_packet(packet: str) -> PacketType: """Break packet down into primitives, and do basic interpretation. >>> decode_packet('20;06;Kaku;ID=41;SWITCH=1;CMD=ON;') == { ... 'node': 'gateway', ... 'protocol': 'kaku', ... 'id': '000041', ... 'switch': '1', ... 'command...
def decode_packet(packet: str) -> PacketType: """Break packet down into primitives, and do basic interpretation. >>> decode_packet('20;06;Kaku;ID=41;SWITCH=1;CMD=ON;') == { ... 'node': 'gateway', ... 'protocol': 'kaku', ... 'id': '000041', ... 'switch': '1', ... 'command...
tests/test_parse.py
[ "tests/test_parse.py::test_packet_parsing[20;9A;FA500;ID=0000db9e;SWITCH=01;CMD=SET_LEVEL=2;-expect15]" ]
2020-01-25
2019-12-28
MIT
LICENCE
d114dc22d9feb5d07472cef955ea4a6a4415f1c5
1b2ea3d82e4138fb5b35c763df94aa0a63d24acf
https://github.com/aequitas/python-rflink/commit/d114dc22d9feb5d07472cef955ea4a6a4415f1c5
https://github.com/aequitas/python-rflink
rflink.parser
[ "decode_packet" ]
2
1
76a0652ac47c9780
aequitas/python-rflink@d114dc22d#decode_packet
python
2026-08-18
goldset/0.1
1
marcelblijleven/goodwe
Fix duplicate sensor registrations
file
commit
Fix duplicate sensor registrations
"""Hybrid inverter support aka platform 205, 745, 753""" from __future__ import annotations import logging from .const import * from .exceptions import RequestFailedException, RequestRejectedException from .inverter import EMSMode, Inverter, OperationMode, SensorKind as Kind from .modbus import ILLEGAL_DATA_ADDRESS ...
"""Hybrid inverter support aka platform 205, 745, 753""" from __future__ import annotations import logging from .const import * from .exceptions import RequestFailedException, RequestRejectedException from .inverter import EMSMode, Inverter, OperationMode, SensorKind as Kind from .modbus import ILLEGAL_DATA_ADDRESS ...
tests/test_et.py
[ "tests/test_et.py::GW20K_ET_Test::test_GW20K_ET_runtime_data" ]
2026-03-29
2026-03-29
MIT
LICENSE
66dfcdd9cd947bfd799f2bddb40b4e05ba9db6f6
f98486975494238fe3091a8a24fc2e65e37bc539
https://github.com/marcelblijleven/goodwe/commit/66dfcdd9cd947bfd799f2bddb40b4e05ba9db6f6
https://github.com/marcelblijleven/goodwe
goodwe.et
[ "ET" ]
13
1
6ddd410a6365c003
marcelblijleven/goodwe@66dfcdd9c#goodwe/et.py
python
2026-08-18
goldset/0.1
1
marcelblijleven/goodwe
Fix decoding 0 energy values
file
commit
Fix decoding 0 energy values
from __future__ import annotations from abc import ABC, abstractmethod from datetime import datetime from enum import IntEnum from struct import unpack from typing import Any, Callable, Optional from .const import * from .inverter import Sensor, SensorKind from .protocol import ProtocolResponse DAY_NAMES = ["Sun", "...
from __future__ import annotations from abc import ABC, abstractmethod from datetime import datetime from enum import IntEnum from struct import unpack from typing import Any, Callable, Optional from .const import * from .inverter import Sensor, SensorKind from .protocol import ProtocolResponse DAY_NAMES = ["Sun", "...
tests/test_dt.py
[ "tests/test_dt.py::GW5000D_NS_Test::test_GW5000D_NS_runtime_data" ]
2024-05-14
2024-05-14
MIT
LICENSE
a555e3e7293247ec4814292771f8168728ad7c7b
366d35652752ff8207ae7b0ae0767d0e30391180
https://github.com/marcelblijleven/goodwe/commit/a555e3e7293247ec4814292771f8168728ad7c7b
https://github.com/marcelblijleven/goodwe
goodwe.sensor
[ "Energy", "Energy4" ]
4
1
3576d940d8c693c3
marcelblijleven/goodwe@a555e3e72#goodwe/sensor.py
python
2026-08-18
goldset/0.1
1
marcelblijleven/goodwe
Fix writing single byte settings on ES inverters
file
commit
Fix writing single byte settings on ES inverters
from __future__ import annotations import logging from typing import Tuple from .exceptions import InverterError from .inverter import Inverter from .inverter import OperationMode from .inverter import SensorKind as Kind from .protocol import ProtocolCommand, Aa55ProtocolCommand, Aa55ReadCommand, Aa55WriteCommand, Aa...
from __future__ import annotations import logging from typing import Tuple from .exceptions import InverterError from .inverter import Inverter from .inverter import OperationMode from .inverter import SensorKind as Kind from .protocol import ProtocolCommand, Aa55ProtocolCommand, Aa55ReadCommand, Aa55WriteCommand, Aa...
tests/test_es.py
[ "tests/test_es.py::GW5048D_ES_Test::test_write_setting" ]
2024-05-12
2024-05-12
MIT
LICENSE
337a7993bff3ad975242ce5b8e10a0b57d1020d4
5f1811df4c813ac9bb2661bd7c90f531fc82c4b4
https://github.com/marcelblijleven/goodwe/commit/337a7993bff3ad975242ce5b8e10a0b57d1020d4
https://github.com/marcelblijleven/goodwe
goodwe.es
[ "ES" ]
3
1
a1ba428cec6d4dc6
marcelblijleven/goodwe@337a7993b#goodwe/es.py
python
2026-08-18
goldset/0.1
1
marcelblijleven/goodwe
Fix setup of BT inverters
file
commit
Fix setup of BT inverters
from __future__ import annotations import logging from typing import Tuple from .exceptions import RequestFailedException, RequestRejectedException from .inverter import Inverter from .inverter import OperationMode from .inverter import SensorKind as Kind from .modbus import ILLEGAL_DATA_ADDRESS from .model import is...
from __future__ import annotations import logging from typing import Tuple from .exceptions import RequestFailedException, RequestRejectedException from .inverter import Inverter from .inverter import OperationMode from .inverter import SensorKind as Kind from .modbus import ILLEGAL_DATA_ADDRESS from .model import is...
tests/test_et.py
[ "tests/test_et.py::GW5K_BT_Test::test_GW5K_BT_device_info" ]
2024-05-08
2024-05-06
MIT
LICENSE
702b53a7e00f22221b04998a80bfb24c12091a11
1449f9a33994ae40d069bfd153982001d942900c
https://github.com/marcelblijleven/goodwe/commit/702b53a7e00f22221b04998a80bfb24c12091a11
https://github.com/marcelblijleven/goodwe
goodwe.et
[ "ET" ]
18
1
5116e3b5b5ea0980
marcelblijleven/goodwe@702b53a7e#goodwe/et.py
python
2026-08-18
goldset/0.1
1
marcelblijleven/goodwe
Fix decoding of voltage values
file
commit
Fix decoding of voltage values
from __future__ import annotations from abc import ABC, abstractmethod from datetime import datetime from enum import IntEnum from struct import unpack from typing import Any, Callable, Optional from .const import * from .inverter import Sensor, SensorKind from .protocol import ProtocolResponse DAY_NAMES = ["Sun", "...
from __future__ import annotations from abc import ABC, abstractmethod from datetime import datetime from enum import IntEnum from struct import unpack from typing import Any, Callable, Optional from .const import * from .inverter import Sensor, SensorKind from .protocol import ProtocolResponse DAY_NAMES = ["Sun", "...
tests/test_dt.py
[ "tests/test_dt.py::GW5000D_NS_Test::test_GW5000D_NS_runtime_data", "tests/test_dt.py::GW5000_MS_Test::test_GW5000_MS_runtime_data", "tests/test_dt.py::GW6000_DT_Test::test_GW6000_DT_runtime_data" ]
2024-04-08
2024-02-17
MIT
LICENSE
c2f1de07f48a7d6df25e8c13f40df2d7b8104375
925f37d51d7d0370d1220d55e7f95b3cf06e16f1
https://github.com/marcelblijleven/goodwe/commit/c2f1de07f48a7d6df25e8c13f40df2d7b8104375
https://github.com/marcelblijleven/goodwe
goodwe.sensor
[ "encode_voltage", "read_voltage" ]
6
3
eaf546202b5ecb6a
marcelblijleven/goodwe@c2f1de07f#goodwe/sensor.py
python
2026-08-18
goldset/0.1
1
marcelblijleven/goodwe
Fix deconding 0x55 as not-set value of EcoMode
file
commit
Fix deconding 0x55 as not-set value of EcoMode
from __future__ import annotations from abc import ABC, abstractmethod from datetime import datetime from struct import unpack from typing import Any, Callable, Optional from .const import * from .inverter import Sensor, SensorKind from .protocol import ProtocolResponse DAY_NAMES = ["Sun", "Mon", "Tue", "Wed", "Thu"...
from __future__ import annotations from abc import ABC, abstractmethod from datetime import datetime from struct import unpack from typing import Any, Callable, Optional from .const import * from .inverter import Sensor, SensorKind from .protocol import ProtocolResponse DAY_NAMES = ["Sun", "Mon", "Tue", "Wed", "Thu"...
tests/test_sensor.py
[ "tests/test_sensor.py::TestUtils::test_eco_mode_v2" ]
2024-01-09
2024-01-02
MIT
LICENSE
ec6d3ca60bc97766da16b6a61128f7b1251d73ba
0301bfb51d731aa73bd367efdec2eff6c94f4500
https://github.com/marcelblijleven/goodwe/commit/ec6d3ca60bc97766da16b6a61128f7b1251d73ba
https://github.com/marcelblijleven/goodwe
goodwe.sensor
[ "EcoModeV1", "EcoModeV2", "PeakShavingMode" ]
22
1
5b3eec88b900345e
marcelblijleven/goodwe@ec6d3ca60#goodwe/sensor.py
python
2026-08-18
goldset/0.1
1
marcelblijleven/goodwe
Fix unit of current MPPT sensors
file
commit
Fix unit of current MPPT sensors
from __future__ import annotations import logging from typing import Tuple, cast from .exceptions import RequestRejectedException from .inverter import Inverter from .inverter import OperationMode from .inverter import SensorKind as Kind from .model import is_2_battery, is_3_mptt, is_4_mptt, is_single_phase from .pro...
from __future__ import annotations import logging from typing import Tuple, cast from .exceptions import RequestRejectedException from .inverter import Inverter from .inverter import OperationMode from .inverter import SensorKind as Kind from .model import is_2_battery, is_3_mptt, is_4_mptt, is_single_phase from .pro...
tests/test_et.py
[ "tests/test_et.py::GW25K_ET_Test::test_GW25K_ET_runtime_data" ]
2023-12-31
2023-12-18
MIT
LICENSE
bff0fef79a413c5443c8ce8e792f4a68fab3e613
af031d8fd1b4a630362576a7a1df049b4f0da170
https://github.com/marcelblijleven/goodwe/commit/bff0fef79a413c5443c8ce8e792f4a68fab3e613
https://github.com/marcelblijleven/goodwe
goodwe.et
[ "ET" ]
16
1
04ec3490f127fc21
marcelblijleven/goodwe@bff0fef79#goodwe/et.py
python
2026-08-18
goldset/0.1
1
marcelblijleven/goodwe
Fix broken settings() method on DT inverters
file
commit
Fix broken settings() method on DT inverters
from __future__ import annotations from typing import Tuple from .exceptions import InverterError from .inverter import Inverter from .inverter import OperationMode from .inverter import SensorKind as Kind from .model import is_3_mptt, is_single_phase from .protocol import ProtocolCommand, ModbusReadCommand, ModbusWr...
from __future__ import annotations from typing import Tuple from .exceptions import InverterError from .inverter import Inverter from .inverter import OperationMode from .inverter import SensorKind as Kind from .model import is_3_mptt, is_single_phase from .protocol import ProtocolCommand, ModbusReadCommand, ModbusWr...
tests/test_dt.py
[ "tests/test_dt.py::GW6000_DT_Test::test_GW6000_DT_setting" ]
2023-03-31
2023-03-31
MIT
LICENSE
8a65c18dab290f4c2b930a322da94a1a7bdd5172
6895225c1a7780ff960140bd2690ecf9a2f127bb
https://github.com/marcelblijleven/goodwe/commit/8a65c18dab290f4c2b930a322da94a1a7bdd5172
https://github.com/marcelblijleven/goodwe
goodwe.dt
[ "DT" ]
2
1
04e784dda0007a80
marcelblijleven/goodwe@8a65c18da#goodwe/dt.py
python
2026-08-18
goldset/0.1
1
marcelblijleven/goodwe
Fix multiple inverters communication
file
commit
Fix multiple inverters communication
from __future__ import annotations import asyncio import logging from asyncio.futures import Future from typing import Tuple, Optional, Callable from .const import GOODWE_UDP_PORT from .exceptions import MaxRetriesException, RequestFailedException from .modbus import create_modbus_request, create_modbus_multi_request...
from __future__ import annotations import asyncio import logging from asyncio.futures import Future from typing import Tuple, Optional, Callable from .const import GOODWE_UDP_PORT from .exceptions import MaxRetriesException, RequestFailedException from .modbus import create_modbus_request, create_modbus_multi_request...
tests/test_protocol.py
[ "tests/test_protocol.py::TestUDPClientProtocol::test_connection_lost", "tests/test_protocol.py::TestUDPClientProtocol::test_connection_lost_not_done", "tests/test_protocol.py::TestUDPClientProtocol::test_connection_made", "tests/test_protocol.py::TestUDPClientProtocol::test_datagram_received", "tests/test_p...
2022-01-08
2022-01-08
MIT
LICENSE
4867b4acd4b7acd2e07fa9515f1e69c54b741da1
7fe0fb58e6581dc682e1104f0beed8870d0caccd
https://github.com/marcelblijleven/goodwe/commit/4867b4acd4b7acd2e07fa9515f1e69c54b741da1
https://github.com/marcelblijleven/goodwe
goodwe.protocol
[ "ProtocolCommand", "UdpInverterProtocol" ]
23
10
14d538f124e7fa65
marcelblijleven/goodwe@4867b4acd#goodwe/protocol.py
python
2026-08-18
goldset/0.1
1
marcelblijleven/goodwe
Fix ES set_grid_export_limit
file
commit
Fix ES set_grid_export_limit
from typing import Tuple from .inverter import Inverter from .inverter import SensorKind as Kind from .protocol import ProtocolCommand, Aa55ProtocolCommand from .sensor import * class ES(Inverter): """Class representing inverter of ES/EM family""" _READ_DEVICE_VERSION_INFO: ProtocolCommand = Aa55ProtocolCom...
from typing import Tuple from .inverter import Inverter from .inverter import SensorKind as Kind from .protocol import ProtocolCommand, Aa55ProtocolCommand from .sensor import * class ES(Inverter): """Class representing inverter of ES/EM family""" _READ_DEVICE_VERSION_INFO: ProtocolCommand = Aa55ProtocolCom...
tests/test_es.py
[ "tests/test_es.py::EsProtocolTest::test_set_grid_export_limit" ]
2021-09-02
2021-09-02
MIT
LICENSE
12995250f44c386d4cbc8532380a9fda49d210e2
57e49efe9187083f470df9b0d96264723619d0d8
https://github.com/marcelblijleven/goodwe/commit/12995250f44c386d4cbc8532380a9fda49d210e2
https://github.com/marcelblijleven/goodwe
goodwe.es
[ "ES" ]
2
1
8dc396d77c75e65d
marcelblijleven/goodwe@12995250f#goodwe/es.py
python
2026-08-18
goldset/0.1
1
marcelblijleven/goodwe
Fix decoding of e_total in DT based inverters
file
commit
Fix decoding of e_total in DT based inverters
from typing import Tuple from .inverter import Inverter from .inverter import SensorKind as Kind from .protocol import ProtocolCommand, ModbusReadCommand, ModbusWriteCommand from .sensor import * class DT(Inverter): """Class representing inverter of DT, D-NS and XS families""" _READ_DEVICE_VERSION_INFO: Prot...
from typing import Tuple from .inverter import Inverter from .inverter import SensorKind as Kind from .protocol import ProtocolCommand, ModbusReadCommand, ModbusWriteCommand from .sensor import * class DT(Inverter): """Class representing inverter of DT, D-NS and XS families""" _READ_DEVICE_VERSION_INFO: Prot...
tests/test_dt.py
[ "tests/test_dt.py::DtProtocolTest::test_GW6000_DT_runtime_data" ]
2021-08-31
2021-08-31
MIT
LICENSE
c9d93f90df20dc9b33de5f63f761684ced34a5ce
ce2572601d19a65b5b583dc206cd5dd8fdfcb818
https://github.com/marcelblijleven/goodwe/commit/c9d93f90df20dc9b33de5f63f761684ced34a5ce
https://github.com/marcelblijleven/goodwe
goodwe.dt
[ "DT" ]
6
1
e146cef8346a9de2
marcelblijleven/goodwe@c9d93f90d#goodwe/dt.py
python
2026-08-18
goldset/0.1
1