MCPcopy Index your code
hub / github.com/equalitie/learn2ban

github.com/equalitie/learn2ban @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
171 symbols 642 edges 35 files 118 documented · 69%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Core symbols most depended-on inside this repo

ordered_records
called by 10
src/ip_sieve.py
append_feature
called by 10
src/features/src/learn2ban_feature.py
time_to_second
called by 9
src/ip_sieve.py
load_train2ban_config
called by 8
src/tools/learn2bantools.py
get_training_subset
called by 8
src/tools/training_set.py
normalise
called by 6
src/train2ban.py
add_log_file
called by 5
src/ip_sieve.py
parse_log
called by 5
src/ip_sieve.py

Shape

Method 135
Class 29
Function 7

Languages

Python100%

Modules by API surface

src/train2ban.py23 symbols
src/tools/learn2bantools.py20 symbols
src/ip_sieve.py18 symbols
src/ip_sieve_shlex.py15 symbols
src/tools/training_set.py14 symbols
src/analysis/l2b_experiment.py9 symbols
src/test/test_features.py8 symbols
src/analysis/experimentor.py8 symbols
src/test/test_trainer.py6 symbols
src/features/src/learn2ban_feature.py4 symbols
src/analysis/analyse_trainer.py4 symbols
src/test/test_analyser.py3 symbols

For agents

$ claude mcp add learn2ban \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact