-
Notifications
You must be signed in to change notification settings - Fork 37
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
Is this project still maintained or abandoned #137
Comments
Hi! I wouldn't say that this project is unmaintained so much as not high on my priority list at the moment. To answer your questions:
Yes, you could! You would have to implement it yourself, but the dom structure is iterable - you could recurse into each substructure/etc. Do you know what type of information you would want in the JSON document? I'm assuming you'd want pretty much all metadata available. I maybe be able to add this as part of working on #136 |
Hmm, you should be able to pickle the AST that results from parsing the template so that you can load it directly again without the template. |
Expect some movement on this this week - I have a number of items queued up for pfp/py010parser. |
Absolutely impressed with your reply because this is the best library I found so far that can easily use with the 010 templates, so bit worried to use it as there were no update since mid last year. Yes simply want to output the same information that you print on the screen when we invoke Believe it or not this binary files heavily used in telco industry and some companies use 010 templates to define the schema, so it is ideal to use a converter like
Well I tried but it gave the error saying
This is extremely useful in high velocity environment where thousands of files are consumed and if we try to parse the template every time it is unnecessary overhead. If we can parse the template once and persist it memory, it would be ideal. I actually followed few steps by looking at the code you provided.
This is fine for once execution but if the script runs again it will load the template and parse again. This is what I want to eliminate. Another possible bug or intended behavior is
|
ex: current print output as a different output format (ex: json) ex: Current output
Simplified json output
extended json output incliding types and other properties as shown in current print output
Since you've already implemented |
We're planning to use this library in our project and would like to know this is still maintained and whether can we get some clarification on the usage?.
dom
or any guide on how to do itThe text was updated successfully, but these errors were encountered: