MCPcopy Create free account

hub / github.com/CorralPeltzer/newTrackon / functions

Functions657 in github.com/CorralPeltzer/newTrackon

↓ 86 callersMethodexecute
(self, *args: Any, **kwargs: Any)
tests/unit/test_db.py:31
↓ 52 callersMethoddecode
(self)
newTrackon/bdecode.py:82
↓ 41 callersMethodcommit
(self)
tests/unit/test_db.py:28
↓ 41 callersMethodcursor
(self)
tests/unit/test_db.py:25
↓ 24 callersFunctionbdecode
(data: bytes)
newTrackon/bdecode.py:25
↓ 20 callersFunctionformat_time
(last_time: int | float)
newTrackon/utils.py:55
↓ 16 callersMethodclose
(self)
tests/unit/test_db.py:34
↓ 16 callersFunctioncreate_test_tracker
Create a minimal Tracker object for testing.
tests/unit/test_trackon.py:17
↓ 16 callersMethodupdate_status
(self)
newTrackon/tracker.py:112
↓ 15 callersFunctionprocess_txt_prefs
(txt_record: str)
newTrackon/utils.py:117
↓ 14 callersFunctionbuild_httpx_url
(submitted_url: ParseResult, tls: bool)
newTrackon/utils.py:128
↓ 14 callersFunctionsave_deque_to_disk
(obj: deque[HistoryData], filename: str)
newTrackon/persistence.py:35
↓ 13 callersFunctiondecode_binary_peers_list
(buf: bytes, offset: int, ip_family: int)
newTrackon/bdecode.py:61
↓ 13 callersMethodupdate_ips
(self)
newTrackon/tracker.py:246
↓ 12 callersFunctionannounce_http
(url: str, thash: bytes = urandom(20))
newTrackon/scraper.py:231
↓ 12 callersMethodread
(self, length: int)
newTrackon/bdecode.py:110
↓ 12 callersFunctionremove_ipvx_only_trackers
(raw_list: Sequence[TrackerEndpointInput], version: int)
newTrackon/utils.py:94
↓ 10 callersMethodfrom_url
(cls, url: str)
newTrackon/tracker.py:80
↓ 10 callersMethodupdate_uptime
(self)
newTrackon/tracker.py:240
↓ 10 callersMethodvalidate_url
(self)
newTrackon/tracker.py:225
↓ 9 callersFunctionformat_uptime_and_downtime_time
(trackers_unprocessed: list[Tracker])
newTrackon/utils.py:35
↓ 9 callersFunctionredact_origin
(response: str)
newTrackon/scraper.py:436
↓ 8 callersFunctionudp_parse_announce_response
( buf: bytes, sent_transaction_id: int, ip_family: socket.AddressFamily )
newTrackon/scraper.py:392
↓ 8 callersMethodupdate_scheme_from_bep_34
(self)
newTrackon/tracker.py:166
↓ 7 callersFunctionannounce_udp
(udp_url: str, thash: bytes = urandom(20))
newTrackon/scraper.py:278
↓ 6 callersMethodclear_tracker
(self, reason: str)
newTrackon/tracker.py:208
↓ 6 callersFunctionformat_list
(raw_list: list[TrackerEndpoint])
newTrackon/utils.py:109
↓ 6 callersFunctionget_bep_34
Querying for http://bittorrent.org/beps/bep_0034.html
newTrackon/scraper.py:216
↓ 6 callersMethodupdate_ipapi_data
(self)
newTrackon/tracker.py:281
↓ 5 callersFunction_make_mock_row
Create a MagicMock that behaves like sqlite3.Row (supports indexing and len).
tests/unit/test_utils.py:61
↓ 5 callersFunctionattempt_all_protocols
(submitted_url: ParseResult, failover_ip: str)
newTrackon/scraper.py:124
↓ 5 callersFunctionattempt_https_http
(failover_ip: str, url: ParseResult, log_to_submitted: bool = True)
newTrackon/scraper.py:144
↓ 5 callersFunctionattempt_httpx
(failover_ip: str, submitted_url: ParseResult, tls: bool = True, log_to_submitted: bool = True)
newTrackon/scraper.py:161
↓ 5 callersFunctionattempt_submitted
(tracker: Tracker)
newTrackon/scraper.py:70
↓ 5 callersFunctiondict_factory
(cursor: sqlite3.Cursor, row: sqlite3.Row)
newTrackon/utils.py:28
↓ 5 callersFunctiondrain_submitted_queue
(persistence: ModuleType)
tests/conftest.py:25
↓ 5 callersMethodis_down
(self)
newTrackon/tracker.py:296
↓ 5 callersMethodis_up
(self)
newTrackon/tracker.py:291
↓ 5 callersFunctionmemory_limited_get
(url: str)
newTrackon/scraper.py:427
↓ 5 callersFunctionudp_create_announce_request
(connection_id: int | None, thash: bytes)
newTrackon/scraper.py:372
↓ 5 callersFunctionudp_parse_connection_response
(buf: bytes, sent_transaction_id: int)
newTrackon/scraper.py:353
↓ 4 callersFunctionadd_api_headers
(resp: Response)
newTrackon/utils.py:22
↓ 4 callersFunctionattempt_from_txt_prefs
(submitted_url: ParseResult, failover_ip: str, txt_prefs: list[ProtocolPref])
newTrackon/scraper.py:105
↓ 4 callersFunctionattempt_udp
(failover_ip: str, tracker_netloc: str)
newTrackon/scraper.py:187
↓ 4 callersFunctionget_added_before_or_abort
(default_min_age_days: int = 0)
newTrackon/views.py:159
↓ 4 callersFunctionget_server_ip
(ip_version: str)
newTrackon/scraper.py:423
↓ 4 callersMethodread_until
(self, token: bytes)
newTrackon/bdecode.py:118
↓ 3 callersMethodip_api
(ip: str)
newTrackon/tracker.py:302
↓ 3 callersMethodpeek
(self)
newTrackon/bdecode.py:104
↓ 3 callersFunctionudp_create_binary_connection_request
()
newTrackon/scraper.py:343
↓ 3 callersFunctionudp_get_transaction_id
()
newTrackon/scraper.py:419
↓ 2 callersFunctionapi_percentage
(percentage: int, added_before: int | None = None)
newTrackon/views.py:132
↓ 2 callersFunctionlog_grouped_ip_conflicts
(conflicts: dict[str, set[str]], label: str, tracker_url: str)
newTrackon/ingest.py:25
↓ 2 callersFunctionlog_ip_conflicts
(tracker_candidate: Tracker, trackers: list[Tracker])
newTrackon/ingest.py:62
↓ 2 callersFunctionlog_wrong_interval_denial
(reason: str)
newTrackon/ingest.py:187
↓ 2 callersFunctionmain
(form_feedback: str | None = None)
newTrackon/views.py:63
↓ 2 callersFunctionprocess_new_tracker
(tracker_candidate: Tracker)
newTrackon/ingest.py:145
↓ 2 callersMethodrefresh_recent_ips
(self)
newTrackon/tracker.py:274
↓ 1 callersFunctionadd_one_tracker_to_submitted_queue
(url: str)
newTrackon/ingest.py:81
↓ 1 callersFunctionbuild_ip_indexes
(trackers: list[Tracker])
newTrackon/trackon.py:16
↓ 1 callersFunctioncollect_ip_conflicts
(tracker_candidate: Tracker, trackers: list[Tracker])
newTrackon/ingest.py:42
↓ 1 callersFunctioncreate_db
()
newTrackon/db.py:18
↓ 1 callersMethoddecode_dict
(self)
newTrackon/bdecode.py:129
↓ 1 callersMethoddecode_int
(self)
newTrackon/bdecode.py:150
↓ 1 callersMethoddecode_list
(self)
newTrackon/bdecode.py:141
↓ 1 callersMethoddecode_str
(self)
newTrackon/bdecode.py:154
↓ 1 callersFunctionwarn_of_duplicate_ips
(all_ips: list[str])
newTrackon/trackon.py:52
↓ 1 callersFunctionwarn_of_ip_conflicts
()
newTrackon/trackon.py:91
↓ 1 callersFunctionwarn_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
Functionabout
()
newTrackon/views.py:197
Functionapi_all
()
newTrackon/views.py:183
Functionapi_best
()
newTrackon/views.py:178
Functionapi_docs
()
newTrackon/views.py:121
Functionapi_multiple
()
newTrackon/views.py:190
Functionapi_stable
()
newTrackon/views.py:173
Functionapp_things
(filename: str, filetype: str)
newTrackon/views.py:209
Functionbencoded_tracker_response
Return a valid bencoded tracker response.
tests/conftest.py:260
Functionclean_global_state
Automatically clean global state before and after each test.
tests/conftest.py:35
Methodcreate_tracker
(url: str)
tests/unit/test_trackon.py:916
Functiondelete_tracker
(tracker: Tracker)
newTrackon/db.py:74
Functionempty_queues
Provide empty buffers for testing.
tests/conftest.py:217
Functionenqueue_new_trackers
(input_string: str)
newTrackon/ingest.py:73
Functionensure_db_existence
()
newTrackon/db.py:13
Methodfake_exists
(path: str)
tests/unit/test_persistence.py:402
Functionfaq
()
newTrackon/views.py:111
Functionfavicon
(filename: str, filetype: str)
newTrackon/views.py:202
Functionflask_client
Create Flask test client with mocked database.
tests/conftest.py:228
Functionformat_date
Convert Unix timestamp to D-M-YYYY date format.
newTrackon/views.py:44
Functionformat_timestamp
Convert Unix timestamp to HH:MM:SS UTC format.
newTrackon/views.py:36
Functionget_added_before_from_query_args
(args: Mapping[str, str], default_min_age_days: int = 0)
newTrackon/utils.py:142
Functionget_all_data
()
newTrackon/db.py:85
Functionget_api_data
( query: str, uptime: int = 0, include_ipv4_only: bool = True, include_ipv6_only: bool = True,
newTrackon/db.py:114
Functionin_memory_db
Provide an in-memory SQLite database with schema.
tests/conftest.py:53
Methodinsert_dual_stack_tracker
Insert a tracker with both IPv4 and IPv6 addresses.
tests/integration/test_api_endpoints.py:867
Methodinsert_ipv4_only_tracker
Insert a tracker with only IPv4 address.
tests/integration/test_api_endpoints.py:813
Methodinsert_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