Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CorralPeltzer/newTrackon
/ functions
Functions
657 in github.com/CorralPeltzer/newTrackon
⨍
Functions
657
◇
Types & classes
106
↳
Endpoints
64
↓ 86 callers
Method
execute
(self, *args: Any, **kwargs: Any)
tests/unit/test_db.py:31
↓ 52 callers
Method
decode
(self)
newTrackon/bdecode.py:82
↓ 41 callers
Method
commit
(self)
tests/unit/test_db.py:28
↓ 41 callers
Method
cursor
(self)
tests/unit/test_db.py:25
↓ 24 callers
Function
bdecode
(data: bytes)
newTrackon/bdecode.py:25
↓ 20 callers
Function
format_time
(last_time: int | float)
newTrackon/utils.py:55
↓ 16 callers
Method
close
(self)
tests/unit/test_db.py:34
↓ 16 callers
Function
create_test_tracker
Create a minimal Tracker object for testing.
tests/unit/test_trackon.py:17
↓ 16 callers
Method
update_status
(self)
newTrackon/tracker.py:112
↓ 15 callers
Function
process_txt_prefs
(txt_record: str)
newTrackon/utils.py:117
↓ 14 callers
Function
build_httpx_url
(submitted_url: ParseResult, tls: bool)
newTrackon/utils.py:128
↓ 14 callers
Function
save_deque_to_disk
(obj: deque[HistoryData], filename: str)
newTrackon/persistence.py:35
↓ 13 callers
Function
decode_binary_peers_list
(buf: bytes, offset: int, ip_family: int)
newTrackon/bdecode.py:61
↓ 13 callers
Method
update_ips
(self)
newTrackon/tracker.py:246
↓ 12 callers
Function
announce_http
(url: str, thash: bytes = urandom(20))
newTrackon/scraper.py:231
↓ 12 callers
Method
read
(self, length: int)
newTrackon/bdecode.py:110
↓ 12 callers
Function
remove_ipvx_only_trackers
(raw_list: Sequence[TrackerEndpointInput], version: int)
newTrackon/utils.py:94
↓ 10 callers
Method
from_url
(cls, url: str)
newTrackon/tracker.py:80
↓ 10 callers
Method
update_uptime
(self)
newTrackon/tracker.py:240
↓ 10 callers
Method
validate_url
(self)
newTrackon/tracker.py:225
↓ 9 callers
Function
format_uptime_and_downtime_time
(trackers_unprocessed: list[Tracker])
newTrackon/utils.py:35
↓ 9 callers
Function
redact_origin
(response: str)
newTrackon/scraper.py:436
↓ 8 callers
Function
udp_parse_announce_response
( buf: bytes, sent_transaction_id: int, ip_family: socket.AddressFamily )
newTrackon/scraper.py:392
↓ 8 callers
Method
update_scheme_from_bep_34
(self)
newTrackon/tracker.py:166
↓ 7 callers
Function
announce_udp
(udp_url: str, thash: bytes = urandom(20))
newTrackon/scraper.py:278
↓ 6 callers
Method
clear_tracker
(self, reason: str)
newTrackon/tracker.py:208
↓ 6 callers
Function
format_list
(raw_list: list[TrackerEndpoint])
newTrackon/utils.py:109
↓ 6 callers
Function
get_bep_34
Querying for http://bittorrent.org/beps/bep_0034.html
newTrackon/scraper.py:216
↓ 6 callers
Method
update_ipapi_data
(self)
newTrackon/tracker.py:281
↓ 5 callers
Function
_make_mock_row
Create a MagicMock that behaves like sqlite3.Row (supports indexing and len).
tests/unit/test_utils.py:61
↓ 5 callers
Function
attempt_all_protocols
(submitted_url: ParseResult, failover_ip: str)
newTrackon/scraper.py:124
↓ 5 callers
Function
attempt_https_http
(failover_ip: str, url: ParseResult, log_to_submitted: bool = True)
newTrackon/scraper.py:144
↓ 5 callers
Function
attempt_httpx
(failover_ip: str, submitted_url: ParseResult, tls: bool = True, log_to_submitted: bool = True)
newTrackon/scraper.py:161
↓ 5 callers
Function
attempt_submitted
(tracker: Tracker)
newTrackon/scraper.py:70
↓ 5 callers
Function
dict_factory
(cursor: sqlite3.Cursor, row: sqlite3.Row)
newTrackon/utils.py:28
↓ 5 callers
Function
drain_submitted_queue
(persistence: ModuleType)
tests/conftest.py:25
↓ 5 callers
Method
is_down
(self)
newTrackon/tracker.py:296
↓ 5 callers
Method
is_up
(self)
newTrackon/tracker.py:291
↓ 5 callers
Function
memory_limited_get
(url: str)
newTrackon/scraper.py:427
↓ 5 callers
Function
udp_create_announce_request
(connection_id: int | None, thash: bytes)
newTrackon/scraper.py:372
↓ 5 callers
Function
udp_parse_connection_response
(buf: bytes, sent_transaction_id: int)
newTrackon/scraper.py:353
↓ 4 callers
Function
add_api_headers
(resp: Response)
newTrackon/utils.py:22
↓ 4 callers
Function
attempt_from_txt_prefs
(submitted_url: ParseResult, failover_ip: str, txt_prefs: list[ProtocolPref])
newTrackon/scraper.py:105
↓ 4 callers
Function
attempt_udp
(failover_ip: str, tracker_netloc: str)
newTrackon/scraper.py:187
↓ 4 callers
Function
get_added_before_or_abort
(default_min_age_days: int = 0)
newTrackon/views.py:159
↓ 4 callers
Function
get_server_ip
(ip_version: str)
newTrackon/scraper.py:423
↓ 4 callers
Method
read_until
(self, token: bytes)
newTrackon/bdecode.py:118
↓ 3 callers
Method
ip_api
(ip: str)
newTrackon/tracker.py:302
↓ 3 callers
Method
peek
(self)
newTrackon/bdecode.py:104
↓ 3 callers
Function
udp_create_binary_connection_request
()
newTrackon/scraper.py:343
↓ 3 callers
Function
udp_get_transaction_id
()
newTrackon/scraper.py:419
↓ 2 callers
Function
api_percentage
(percentage: int, added_before: int | None = None)
newTrackon/views.py:132
↓ 2 callers
Function
log_grouped_ip_conflicts
(conflicts: dict[str, set[str]], label: str, tracker_url: str)
newTrackon/ingest.py:25
↓ 2 callers
Function
log_ip_conflicts
(tracker_candidate: Tracker, trackers: list[Tracker])
newTrackon/ingest.py:62
↓ 2 callers
Function
log_wrong_interval_denial
(reason: str)
newTrackon/ingest.py:187
↓ 2 callers
Function
main
(form_feedback: str | None = None)
newTrackon/views.py:63
↓ 2 callers
Function
process_new_tracker
(tracker_candidate: Tracker)
newTrackon/ingest.py:145
↓ 2 callers
Method
refresh_recent_ips
(self)
newTrackon/tracker.py:274
↓ 1 callers
Function
add_one_tracker_to_submitted_queue
(url: str)
newTrackon/ingest.py:81
↓ 1 callers
Function
build_ip_indexes
(trackers: list[Tracker])
newTrackon/trackon.py:16
↓ 1 callers
Function
collect_ip_conflicts
(tracker_candidate: Tracker, trackers: list[Tracker])
newTrackon/ingest.py:42
↓ 1 callers
Function
create_db
()
newTrackon/db.py:18
↓ 1 callers
Method
decode_dict
(self)
newTrackon/bdecode.py:129
↓ 1 callers
Method
decode_int
(self)
newTrackon/bdecode.py:150
↓ 1 callers
Method
decode_list
(self)
newTrackon/bdecode.py:141
↓ 1 callers
Method
decode_str
(self)
newTrackon/bdecode.py:154
↓ 1 callers
Function
warn_of_duplicate_ips
(all_ips: list[str])
newTrackon/trackon.py:52
↓ 1 callers
Function
warn_of_ip_conflicts
()
newTrackon/trackon.py:91
↓ 1 callers
Function
warn_of_recent_ip_overlaps
(trackers: list[Tracker], recent_index: dict[str, set[str]])
newTrackon/trackon.py:65
Method
__init__
(self, data: bytes)
newTrackon/bdecode.py:78
Method
__init__
( self, url: str, host: str, ips: list[str] | None, latency: int | Non
newTrackon/tracker.py:40
Method
__init__
(self, url_map: Map, *items: str)
newTrackon/views.py:27
Method
__init__
(self, conn: sqlite3.Connection)
tests/unit/test_db.py:22
Function
about
()
newTrackon/views.py:197
Function
api_all
()
newTrackon/views.py:183
Function
api_best
()
newTrackon/views.py:178
Function
api_docs
()
newTrackon/views.py:121
Function
api_multiple
()
newTrackon/views.py:190
Function
api_stable
()
newTrackon/views.py:173
Function
app_things
(filename: str, filetype: str)
newTrackon/views.py:209
Function
bencoded_tracker_response
Return a valid bencoded tracker response.
tests/conftest.py:260
Function
clean_global_state
Automatically clean global state before and after each test.
tests/conftest.py:35
Method
create_tracker
(url: str)
tests/unit/test_trackon.py:916
Function
delete_tracker
(tracker: Tracker)
newTrackon/db.py:74
Function
empty_queues
Provide empty buffers for testing.
tests/conftest.py:217
Function
enqueue_new_trackers
(input_string: str)
newTrackon/ingest.py:73
Function
ensure_db_existence
()
newTrackon/db.py:13
Method
fake_exists
(path: str)
tests/unit/test_persistence.py:402
Function
faq
()
newTrackon/views.py:111
Function
favicon
(filename: str, filetype: str)
newTrackon/views.py:202
Function
flask_client
Create Flask test client with mocked database.
tests/conftest.py:228
Function
format_date
Convert Unix timestamp to D-M-YYYY date format.
newTrackon/views.py:44
Function
format_timestamp
Convert Unix timestamp to HH:MM:SS UTC format.
newTrackon/views.py:36
Function
get_added_before_from_query_args
(args: Mapping[str, str], default_min_age_days: int = 0)
newTrackon/utils.py:142
Function
get_all_data
()
newTrackon/db.py:85
Function
get_api_data
( query: str, uptime: int = 0, include_ipv4_only: bool = True, include_ipv6_only: bool = True,
newTrackon/db.py:114
Function
in_memory_db
Provide an in-memory SQLite database with schema.
tests/conftest.py:53
Method
insert_dual_stack_tracker
Insert a tracker with both IPv4 and IPv6 addresses.
tests/integration/test_api_endpoints.py:867
Method
insert_ipv4_only_tracker
Insert a tracker with only IPv4 address.
tests/integration/test_api_endpoints.py:813
Method
insert_ipv6_only_tracker
Insert a tracker with only IPv6 address.
tests/integration/test_api_endpoints.py:840
next →
1–100 of 657, ranked by callers