MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / is_pdf_content

Function is_pdf_content

scripts/fetch_pdf.py:30–31  ·  view source on GitHub ↗
(data: bytes)

Source from the content-addressed store, hash-verified

28
29
30def is_pdf_content(data: bytes) -> bool:
31 return b"%PDF-" in data[:1024]
32
33
34def frontiers_pdf_url_from_doi(doi: str) -> str:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected