-
Notifications
You must be signed in to change notification settings - Fork 83
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
Any way to use bots as Python library? #48
Comments
Can you help me understand what part are you looking to use as a library? We’ve had some brief discussions about extracting messages into a library but depending on how your use case is set it might be a different conversation. |
I need to convert EDI document to python object based on grammar. Is this possible? |
Sure, you're looking for message extraction. Right now, Bots is built around the EDI concept of in and out channels which are tied together by routes. The m-path object used by bots is a python object based on accessor methods; just make sure to grab the grammar you need as well. For now feel free to extract the library manually and I'll label this as a priority for working on the project. Let me know if you run into any issues! |
So can I use bots without starting django server? I found parse_edi_file function(inmessage.py), seems like what I searching. Can I run it outside? |
@shepilov-vladislav Did you make any progress on your project? I'm researching a similar need. |
@ca0abinary, no :( |
Any way to use bots as Python library?
The text was updated successfully, but these errors were encountered: