🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.
This report summarizes scanner evidence for mahmoud/boltons, a Python project with 6,944 GitHub stars. SynthScan examined 28,006 lines of code across 80 source files, recording 436 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 22.1 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 315 finding(s).
Are imports declared and package/API names verified? 10 finding(s).
Are wrappers, guards, and repeated structures necessary? 320 finding(s).
Which changes need focused human review? 436 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 436 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | boltons/cacheutils.py | 168 | def _get_link_and_move_to_front_of_ll(self, key): | CODE |
| LOW | boltons/cacheutils.py | 186 | def _set_key_and_add_to_front_of_ll(self, key, value): | CODE |
| LOW | boltons/cacheutils.py | 195 | def _set_key_and_evict_last_in_ll(self, key, value): | CODE |
| LOW | boltons/tableutils.py | 507 | def _add_horizontal_html_lines(self, lines, headers, max_depth): | CODE |
| LOW | boltons/formatutils.py | 82 | def construct_format_field_str(fname, fspec, conv): | CODE |
| LOW | boltons/formatutils.py | 115 | def infer_positional_format_args(fstr): | CODE |
| LOW | boltons/tbutils.py | 439 | def get_formatted_exception_only(self): | CODE |
| LOW | boltons/setutils.py | 402 | def symmetric_difference_update(self, other): # note singular 'other' | CODE |
| LOW | boltons/setutils.py | 608 | def _norm_args_notimplemented(other): | CODE |
| LOW | boltons/setutils.py | 816 | def symmetric_difference_update(self, other): | CODE |
| LOW | boltons/timeutils.py | 546 | def _first_sunday_on_or_after(dt): | CODE |
| LOW | tests/test_jsonutils.py | 20 | def _test_reverse_iter_lines_bytes(filename, blocksize=DEFAULT_BLOCKSIZE): | CODE |
| LOW | tests/test_jsonutils.py | 65 | def test_jsonl_iterator_mid_last_line_seek_terminates(tmp_path): | CODE |
| LOW | tests/test_jsonutils.py | 75 | def test_jsonl_iterator_rel_seek_negative(): | CODE |
| LOW⚡ | tests/test_jsonutils.py | 86 | def test_jsonl_explicit_end_seek(tmp_path): | CODE |
| LOW⚡ | tests/test_jsonutils.py | 95 | def test_jsonl_relative_seek_binary_matches_text(tmp_path): | CODE |
| LOW⚡ | tests/test_jsonutils.py | 102 | def test_reverse_iter_lines_uses_file_encoding(tmp_path): | CODE |
| LOW⚡ | tests/test_jsonutils.py | 109 | def test_reverse_iter_lines_uses_explicit_binary_encoding(): | CODE |
| LOW⚡ | tests/test_jsonutils.py | 116 | def test_reverse_iter_lines_keeps_text_stream_attached(tmp_path): | CODE |
| LOW⚡ | tests/test_jsonutils.py | 125 | def test_reverse_iter_lines_leading_empty_lines(): | CODE |
| LOW⚡ | tests/test_jsonutils.py | 135 | def test_reverse_iter_lines_stringio(): | CODE |
| LOW⚡ | tests/test_jsonutils.py | 141 | def test_jsonl_iterator_text_cur_byte_pos(tmp_path): | CODE |
| LOW | tests/test_statsutils.py | 14 | def test_pearson_type_covers_kappa_ge_zero(): | CODE |
| LOW | tests/test_statsutils.py | 30 | def test_pearson_type_zero_denominator(): | CODE |
| LOW⚡ | tests/test_statsutils.py | 42 | def test_histogram_zero_interquartile_range(): | CODE |
| LOW⚡ | tests/test_statsutils.py | 48 | def test_sorted_measures_keep_data_order(): | CODE |
| LOW⚡ | tests/test_statsutils.py | 56 | def test_clear_cache_resets_is_sorted(): | CODE |
| LOW⚡ | tests/test_statsutils.py | 66 | def test_format_histogram_counts_all_zero(): | CODE |
| LOW | tests/test_typeutils.py | 21 | def test_get_all_subclasses_metaclass(): | CODE |
| LOW | tests/test_funcutils.py | 90 | def test_once_executes_only_once(): | CODE |
| LOW | tests/test_tbutils_parsed_exc.py | 23 | def test_parsed_exc_nosrcline(): | CODE |
| LOW | tests/test_tbutils_parsed_exc.py | 65 | def test_parsed_exc_with_anchor(): | CODE |
| LOW | tests/test_tbutils_parsed_exc.py | 84 | def test_parsed_exc_with_anchor_indented(): | CODE |
| LOW | tests/test_tbutils_parsed_exc.py | 94 | def test_parsed_exc_truncated(): | CODE |
| LOW | tests/test_tbutils_parsed_exc.py | 126 | def test_parsed_exc_multiline_source(): | CODE |
| LOW | tests/test_timeutils.py | 29 | def test_daterange_years_step(): | CODE |
| LOW | tests/test_timeutils.py | 49 | def test_daterange_with_same_start_stop(): | CODE |
| LOW | tests/test_timeutils.py | 68 | def test_isoparse_fractional_seconds(): | CODE |
| LOW | tests/test_timeutils.py | 80 | def test_isoparse_fraction_overprecise(): | CODE |
| LOW | tests/test_timeutils.py | 86 | def test_isoparse_timezone_suffix(): | CODE |
| LOW⚡ | tests/test_timeutils.py | 100 | def test_dt_to_timestamp_naive_tzinfo(): | CODE |
| LOW⚡ | tests/test_timeutils.py | 109 | def test_parse_timedelta_rejects_garbage(): | CODE |
| LOW⚡ | tests/test_timeutils.py | 116 | def test_daterange_month_step_clamps_day(): | CODE |
| LOW⚡ | tests/test_timeutils.py | 123 | def test_daterange_step_does_not_advance(): | CODE |
| LOW⚡ | tests/test_timeutils.py | 141 | def test_daterange_wrong_direction(): | CODE |
| LOW⚡ | tests/test_timeutils.py | 149 | def test_daterange_datetime_hourly(): | CODE |
| LOW⚡ | tests/test_timeutils.py | 159 | def test_relative_time_defaults_to_matching_timezone(): | CODE |
| LOW | tests/test_timeutils.py | 173 | def test_us_timezone_dst_fold(): | CODE |
| LOW | tests/test_timeutils.py | 183 | def test_us_timezone_fromutc_sets_fold(): | CODE |
| LOW | tests/test_mathutils.py | 132 | def test_empty_bits_conversions(): | CODE |
| LOW | tests/test_mathutils.py | 144 | def test_empty_bits_rejects_non_hex_inputs(): | CODE |
| LOW | tests/test_mathutils.py | 155 | def test_bits_rshift_past_width(): | CODE |
| LOW | tests/test_listutils.py | 55 | def test_barrel_list_insert_before_start_matches_list(): | CODE |
| LOW | tests/test_listutils.py | 154 | def test_barrel_list_getitem_past_end(): | STRING |
| LOW | tests/test_listutils.py | 165 | def test_barrel_list_insert_at_end(): | STRING |
| LOW | tests/test_listutils.py | 176 | def test_barrel_list_pop_after_tail_drained(): | STRING |
| LOW | tests/test_listutils.py | 186 | def test_barrel_list_matches_list(): | STRING |
| LOW | tests/test_listutils.py | 209 | def test_barrellist_slicing_matches_list(): | STRING |
| LOW | tests/test_listutils.py | 225 | def test_barrellist_delete_across_multiple_barrels(): | STRING |
| LOW | tests/test_listutils.py | 236 | def test_barrel_list_delete_to_end(): | STRING |
| 144 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | misc/bench_omd.py | 102 | except KeyError: | CODE |
| HIGH | misc/bench_omd.py | 62 | except KeyError: | CODE |
| HIGH | boltons/namedutils.py | 220 | except (AttributeError, ValueError): | CODE |
| HIGH | boltons/namedutils.py | 390 | except (AttributeError, ValueError): | CODE |
| HIGH | boltons/cacheutils.py | 834 | except KeyError: | CODE |
| HIGH | boltons/fileutils.py | 240 | except OSError: | CODE |
| HIGH | boltons/fileutils.py | 487 | except Exception: | CODE |
| HIGH | boltons/tbutils.py | 621 | except Exception: | CODE |
| HIGH | boltons/tbutils.py | 105 | except AttributeError: | CODE |
| HIGH | boltons/jsonutils.py | 83 | except (AttributeError, io.UnsupportedOperation): | CODE |
| HIGH | boltons/setutils.py | 271 | except KeyError: | CODE |
| HIGH | boltons/listutils.py | 405 | except ValueError: | CODE |
| HIGH | boltons/debugutils.py | 223 | except Exception: | CODE |
| HIGH | boltons/debugutils.py | 228 | except Exception: | CODE |
| HIGH | boltons/debugutils.py | 291 | except Exception: | CODE |
| HIGH | boltons/urlutils.py | 1564 | except ImportError: | CODE |
| HIGH | boltons/urlutils.py | 877 | except UnicodeEncodeError: | CODE |
| HIGH | boltons/ioutils.py | 277 | except Exception: | CODE |
| HIGH | boltons/ioutils.py | 528 | except Exception: | CODE |
| HIGH | boltons/ioutils.py | 256 | except Exception: | CODE |
| HIGH | boltons/ioutils.py | 260 | except Exception: | CODE |
| HIGH | boltons/funcutils.py | 820 | except (ValueError, TypeError): | CODE |
| HIGH | tests/test_listutils.py | 159 | except IndexError: | CODE |
| HIGH | tests/test_iterutils.py | 283 | except: | CODE |
| HIGH | tests/test_iterutils.py | 307 | except: | CODE |
| HIGH | tests/test_iterutils.py | 339 | except: | CODE |
| HIGH | tests/test_queueutils.py | 38 | except IndexError: | CODE |
| HIGH | tests/test_dictutils.py | 262 | except KeyError: | CODE |
| HIGH | tests/test_dictutils.py | 314 | except KeyError: | CODE |
| HIGH | tests/test_cacheutils.py | 119 | except KeyError: | CODE |
| HIGH | tests/test_cacheutils.py | 129 | except KeyError: | CODE |
| HIGH | tests/test_fileutils.py | 21 | except ValueError: | CODE |
| HIGH | tests/test_socketutils.py | 126 | except OSError: | CODE |
| HIGH | tests/test_socketutils.py | 155 | except OSError: | CODE |
| HIGH | tests/test_socketutils.py | 174 | except Timeout: | CODE |
| HIGH | tests/test_socketutils.py | 32 | except ConnectionClosed: | CODE |
| HIGH | tests/test_ioutils.py | 81 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | boltons/cacheutils.py | 74 | except Exception: | CODE |
| LOW | boltons/dictutils.py | 1112 | except Exception as e: | CODE |
| LOW⚡ | boltons/tableutils.py | 87 | except Exception: | CODE |
| LOW⚡ | boltons/tableutils.py | 90 | except Exception: | CODE |
| LOW | boltons/tableutils.py | 145 | except Exception: | CODE |
| LOW | boltons/tableutils.py | 159 | except Exception: | CODE |
| MEDIUM | boltons/tableutils.py | 84 | def to_text(obj, maxlen=None): | CODE |
| LOW | boltons/iterutils.py | 650 | except Exception as e: | STRING |
| LOW | boltons/iterutils.py | 1337 | except Exception: | CODE |
| LOW | boltons/iterutils.py | 1491 | except Exception: | CODE |
| MEDIUM | boltons/iterutils.py | 1487 | def _enter(path, key, value): | CODE |
| LOW | boltons/fileutils.py | 487 | except Exception: | STRING |
| LOW | boltons/tbutils.py | 424 | except Exception: | CODE |
| LOW | boltons/tbutils.py | 494 | except Exception: | CODE |
| LOW | boltons/tbutils.py | 621 | except Exception: | CODE |
| LOW | boltons/tbutils.py | 854 | except Exception: | CODE |
| MEDIUM | boltons/tbutils.py | 618 | def _some_str(value): | CODE |
| LOW | boltons/ecoutils.py | 172 | except Exception: | CODE |
| LOW | boltons/ecoutils.py | 186 | except Exception: | CODE |
| LOW | boltons/ecoutils.py | 192 | except Exception: | CODE |
| LOW⚡ | boltons/ecoutils.py | 206 | except Exception: | CODE |
| LOW⚡ | boltons/ecoutils.py | 213 | except Exception: | CODE |
| LOW⚡ | boltons/ecoutils.py | 220 | except Exception: | CODE |
| LOW⚡ | boltons/ecoutils.py | 227 | except Exception: | CODE |
| LOW⚡ | boltons/ecoutils.py | 234 | except Exception: | CODE |
| LOW⚡ | boltons/ecoutils.py | 240 | except Exception: | CODE |
| LOW⚡ | boltons/ecoutils.py | 246 | except Exception: | CODE |
| LOW⚡ | boltons/ecoutils.py | 253 | except Exception: | CODE |
| LOW | boltons/ecoutils.py | 317 | except Exception: | CODE |
| LOW | boltons/ecoutils.py | 332 | except Exception: | CODE |
| LOW | boltons/excutils.py | 285 | except Exception: | CODE |
| MEDIUM | boltons/excutils.py | 274 | def main(): | CODE |
| LOW | boltons/jsonutils.py | 228 | except Exception: | CODE |
| LOW | boltons/socketutils.py | 72 | except Exception: | CODE |
| LOW | boltons/socketutils.py | 360 | except Exception: | CODE |
| LOW | boltons/socketutils.py | 411 | except Exception: | CODE |
| LOW | boltons/statsutils.py | 625 | except Exception: | CODE |
| LOW | boltons/statsutils.py | 830 | except Exception: | CODE |
| LOW | boltons/debugutils.py | 206 | except Exception: | CODE |
| LOW | boltons/debugutils.py | 223 | except Exception: | CODE |
| LOW | boltons/debugutils.py | 228 | except Exception: | CODE |
| LOW | boltons/debugutils.py | 256 | except Exception: | CODE |
| LOW | boltons/debugutils.py | 291 | except Exception: | CODE |
| LOW⚡ | boltons/ioutils.py | 252 | except Exception: | CODE |
| LOW⚡ | boltons/ioutils.py | 256 | except Exception: | CODE |
| LOW⚡ | boltons/ioutils.py | 260 | except Exception: | CODE |
| LOW | boltons/ioutils.py | 277 | except Exception: | CODE |
| LOW | boltons/ioutils.py | 528 | except Exception: | CODE |
| MEDIUM | boltons/ioutils.py | 338 | def buffer(self): | CODE |
| LOW | boltons/funcutils.py | 122 | except Exception: | CODE |
| LOW | boltons/funcutils.py | 159 | except Exception: | CODE |
| LOW | boltons/funcutils.py | 1013 | except Exception: | CODE |
| LOW | tests/test_funcutils.py | 133 | except Exception as e: | CODE |
| MEDIUM | tests/test_funcutils.py | 129 | def worker(): | CODE |
| LOW | tests/test_listutils.py | 138 | except Exception as e: | STRING |
| LOW | tests/test_tbutils.py | 95 | except Exception as e: | CODE |
| LOW | tests/test_socketutils.py | 278 | except Exception as e: | CODE |
| LOW | tests/test_socketutils.py | 403 | except Exception as e: | CODE |
| LOW⚡ | tests/test_ioutils.py | 81 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | misc/bench_omd.py | 38 | CODE | |
| LOW | boltons/cacheutils.py | 300 | CODE | |
| LOW | boltons/cacheutils.py | 797 | CODE | |
| LOW | boltons/dictutils.py | 287 | CODE | |
| LOW | boltons/dictutils.py | 350 | CODE | |
| LOW | boltons/tableutils.py | 337 | CODE | |
| LOW | boltons/tableutils.py | 507 | CODE | |
| LOW | boltons/tableutils.py | 536 | CODE | |
| LOW | boltons/iterutils.py | 237 | CODE | |
| LOW | boltons/iterutils.py | 512 | CODE | |
| LOW | boltons/iterutils.py | 915 | CODE | |
| LOW | boltons/iterutils.py | 1104 | CODE | |
| LOW | boltons/iterutils.py | 1128 | CODE | |
| LOW | boltons/iterutils.py | 1153 | CODE | |
| LOW | boltons/iterutils.py | 1379 | CODE | |
| LOW | boltons/mboxutils.py | 74 | CODE | |
| LOW | boltons/fileutils.py | 492 | CODE | |
| LOW | boltons/fileutils.py | 557 | CODE | |
| LOW | boltons/formatutils.py | 148 | CODE | |
| LOW | boltons/tbutils.py | 747 | CODE | |
| LOW | boltons/ecoutils.py | 417 | CODE | |
| LOW | boltons/jsonutils.py | 238 | CODE | |
| LOW | boltons/socketutils.py | 284 | CODE | |
| LOW | boltons/socketutils.py | 366 | CODE | |
| LOW | boltons/socketutils.py | 423 | CODE | |
| LOW | boltons/setutils.py | 139 | CODE | |
| LOW | boltons/statsutils.py | 452 | CODE | |
| LOW | boltons/debugutils.py | 115 | CODE | |
| LOW | boltons/debugutils.py | 141 | CODE | |
| LOW | boltons/urlutils.py | 136 | CODE | |
| LOW | boltons/urlutils.py | 374 | CODE | |
| LOW | boltons/urlutils.py | 891 | CODE | |
| LOW | boltons/urlutils.py | 478 | CODE | |
| LOW | boltons/urlutils.py | 1191 | CODE | |
| LOW | boltons/urlutils.py | 1254 | CODE | |
| LOW | boltons/ioutils.py | 238 | CODE | |
| LOW | boltons/ioutils.py | 430 | CODE | |
| LOW | boltons/strutils.py | 201 | CODE | |
| LOW | boltons/strutils.py | 807 | CODE | |
| LOW | boltons/strutils.py | 923 | CODE | |
| LOW | boltons/strutils.py | 1198 | CODE | |
| LOW | boltons/mathutils.py | 140 | CODE | |
| LOW | boltons/funcutils.py | 626 | CODE | |
| LOW | tests/test_listutils.py | 186 | CODE | |
| LOW | tests/test_listutils.py | 315 | CODE | |
| LOW | tests/test_socketutils.py | 41 | CODE | |
| LOW | tests/test_socketutils.py | 257 | CODE | |
| LOW | tests/test_socketutils.py | 386 | CODE | |
| LOW | tests/test_setutils.py | 258 | CODE | |
| LOW | tests/test_ioutils.py | 297 | CODE | |
| LOW | tests/test_ioutils.py | 307 | CODE | |
| LOW | tests/test_ioutils.py | 425 | CODE | |
| LOW | tests/test_ioutils.py | 435 | CODE | |
| LOW | tests/test_ioutils.py | 447 | CODE | |
| LOW | tests/test_ioutils.py | 461 | CODE | |
| LOW | tests/test_ioutils.py | 473 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | boltons/namedutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/cacheutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/pathutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/dictutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/tableutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/iterutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/mboxutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/fileutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/queueutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/formatutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/tbutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/typeutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/ecoutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/excutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/excutils.py | 21 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | COMMENT |
| LOW | boltons/deprutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/jsonutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/socketutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/socketutils.py | 761 | COMMENT | |
| LOW | boltons/setutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/statsutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/listutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/debugutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/urlutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/easterutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/ioutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/ioutils.py | 21 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | COMMENT |
| LOW | boltons/strutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/mathutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/timeutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/gcutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/funcutils.py | 1 | # Copyright (c) 2013, Mahmoud Hashemi | COMMENT |
| LOW | boltons/funcutils.py | 801 | def get_invocation_str(self, target=None): | COMMENT |
| LOW | docs/conf.py | 1 | # | COMMENT |
| LOW | docs/conf.py | 121 | html_theme = 'sphinx_rtd_theme' | COMMENT |
| LOW | docs/conf.py | 141 | # html_theme_path = ['_themes', '/home/docs/checkouts/readthedocs.org/readthedocs/templates/sphinx'] | COMMENT |
| LOW | docs/conf.py | 161 | # so a file named "default.css" will overwrite the builtin "default.css". | COMMENT |
| LOW | docs/conf.py | 181 | # template names. | COMMENT |
| LOW | docs/conf.py | 201 | COMMENT | |
| LOW | docs/conf.py | 221 | # implements a search results scorer. If empty, the default will be used. | COMMENT |
| LOW | docs/conf.py | 241 | } | COMMENT |
| LOW | docs/conf.py | 301 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | boltons/namedutils.py | 55 | __all__ = ['namedlist', 'namedtuple'] | CODE |
| LOW | boltons/pathutils.py | 48 | __all__ = [ | CODE |
| LOW | boltons/dictutils.py | 83 | __all__ = ['MultiDict', 'OMD', 'OrderedMultiDict', 'OneToOne', 'ManyToMany', 'subdict', 'FrozenDict'] | CODE |
| LOW⚡ | boltons/tableutils.py | 81 | __all__ = ['Table'] | CODE |
| LOW | boltons/fileutils.py | 46 | __all__ = ['mkdir_p', 'atomic_save', 'AtomicSaver', 'FilePerms', | CODE |
| LOW | boltons/queueutils.py | 83 | __all__ = ['PriorityQueue', 'BasePriorityQueue', | CODE |
| LOW | boltons/formatutils.py | 72 | __all__ = ['DeferredValue', 'get_format_args', 'tokenize_format_str', | CODE |
| LOW | boltons/tbutils.py | 67 | __all__ = ['ExceptionInfo', 'TracebackInfo', 'Callpoint', | CODE |
| LOW | boltons/excutils.py | 43 | __all__ = ['ExceptionCauseMixin'] | CODE |
| LOW | boltons/jsonutils.py | 48 | __all__ = ['JSONLIterator', 'reverse_iter_lines'] | CODE |
| LOW | boltons/setutils.py | 55 | __all__ = ['IndexedSet', 'complement'] | CODE |
| LOW | boltons/listutils.py | 53 | __all__ = ['BList', 'BarrelList'] | CODE |
| LOW | boltons/debugutils.py | 47 | __all__ = ['pdb_on_signal', 'pdb_on_exception', 'wrap_trace'] | CODE |
| LOW | boltons/strutils.py | 53 | __all__ = ['camel2under', 'under2camel', 'slugify', 'split_punct_ws', | CODE |
| LOW | boltons/gcutils.py | 65 | __all__ = ['get_all', 'GCToggler', 'toggle_gc', 'toggle_gc_postcollect'] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | misc/bench_omd.py | 5 | CODE | |
| LOW | boltons/iterutils.py | 45 | CODE | |
| LOW | boltons/ecoutils.py | 185 | CODE | |
| LOW | boltons/ecoutils.py | 238 | CODE | |
| LOW | boltons/strutils.py | 38 | CODE | |
| LOW | boltons/funcutils.py | 47 | CODE | |
| LOW | tests/test_listutils.py | 1 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | boltons/jsonutils.py | 76 | # This function is a bit of a pain because it attempts to be byte/text agnostic | COMMENT |
| MEDIUM | boltons/mathutils.py | 31 | """This module provides useful math functions on top of Python's | STRING |
| MEDIUM | docs/conf.py | 5 | # This file is execfile()d with the current directory set to its | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | misc/table_html_app.py | 26 | CODE | |
| LOW | boltons/urlutils.py | 525 | CODE | |
| LOW | boltons/mathutils.py | 223 | CODE | |
| LOW | boltons/funcutils.py | 56 | CODE | |
| LOW | boltons/funcutils.py | 453 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | boltons/timeutils.py | 179 | Robustly parses a short text description of a time period into a :class:`datetime.timedelta`. Supports weeks, days, | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_tableutils.py | 6 | [1, 'John Doe'], | CODE |
| LOW | tests/test_tableutils.py | 11 | assert 'John Doe' in repr(t1) | CODE |
| LOW | tests/test_tableutils.py | 32 | data_dicts = [{'id': 1, 'name': 'John Doe'}, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | boltons/statsutils.py | 334 | """The trimean is a robust measure of central tendency, like the | STRING |
| LOW | boltons/strutils.py | 225 | singular = word[:-1] # or just return word? | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | boltons/iterutils.py | 1450 | Here's a simple example that finds all integers: | STRING |
| LOW | boltons/queueutils.py | 95 | custom subclass behavior. (Don't forget to use | STRING |