Replies: 2 comments 17 replies
-
Yeah, the documentation is very far from complete. Could you try this and let me know if it is enough for you to get started? That code creates a single document with one requirement in it: https://github.com/strictdoc-project/reqif/blob/main/tests/integration/examples/01_create_reqif_objects/script.py. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I could create an Excel example over this weekend but don't have it in hand right now. |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! First of all many thanks for making this project. I tried to implement a super basic reqif parser in Javascript and it worked for some very basic documents but now I'm running into issues with more complex documents so I've looked to your library which is clearly much much better than what I currently have. My current project requires that I be able to import requirements from reqif format and add them a simple relational database.
My first task in doing this would be to try and convert a reqif document to csv.
Your Readme.md states
The first-stage parser (implemented by the class ReqIFParser) can be used by user's second-stage parser/converter scripts that convert the ReqIF in-memory structure into a desired format such as Excel
But I'm a little lost as to how to go about doing this. I was hoping there might be a simple example I could follow, or maybe just a code snippet that would show hot to extract requirement data from a reqif file and map it out to a simple array that I can then do as I wish with.
Any code snippet would be very appreciated to help me get started.
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions