Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse existing excel from template into python datastructure #11

Open
DanCardin opened this issue Jul 1, 2019 · 0 comments
Open

Parse existing excel from template into python datastructure #11

DanCardin opened this issue Jul 1, 2019 · 0 comments

Comments

@DanCardin
Copy link
Contributor

DanCardin commented Jul 1, 2019

Given a htmxl-generated excel file, and the associated template used to generate it, provide a mechanism to reverse engineer a format that's better than hand-writing a parser for the excel format.

hunter said something like

def capture_sheet_details(fn):
    @functools.wraps(fn)
    def wrapper(element, writer, styler, style):
        element, recording = fn(element, writer, styler, style)
        if element.id:
            writer.sheet.details[element.id] = {
                'bounding_ref': get_bounding_ref(recording),
            }

    return wrapper

that may or may not be useful

@DanCardin DanCardin changed the title invert schireson-excel and take an excel and a template and output a datastructure Parse existing excel from template into python datastructure Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant