Replies: 1 comment
-
Technical AnalysisThank you for this excellent question! You've identified an important gap in EdgarTools' current capabilities. Let me provide a comprehensive answer based on our analysis of the codebase. Current StateYou're absolutely correct in your understanding. EdgarTools currently provides:
filing = ...
tenk = filing.obj()
item1 = tenk["Item 1"]
However, there is no direct method to extract individual sections as HTML fragments. This is indeed a missing feature that would be valuable for many use cases. Implementation ConsiderationsAfter analyzing the codebase, here's what we found: Why This Doesn't Currently ExistThe current architecture in
Technical FeasibilityThe good news is that this feature is technically feasible. We've identified several potential implementation approaches:
Community QuestionsTo help shape this potential feature, I'd love to understand your use case better:
Next StepsThis is clearly a valuable feature that aligns with EdgarTools' mission of providing powerful yet simple APIs. I'll document this as a potential enhancement. Your feedback on the questions above would help shape the implementation to best serve the community's needs. Would you be interested in testing a prototype implementation if we develop one? Your real-world use case would be invaluable for ensuring we get the API design right. Thank you for bringing this up - it's exactly the kind of feedback that helps make EdgarTools better for everyone! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am new to using this library. I know that there is a way to get the full HTML for a filing and there’s a way to get each item’s section from a filing as plain text, but is there a way to get each section as full HTML? Like the entire section for “Item 1. Business” as one single html. Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions