pucrs-automated-planning / pddl-parser

:snake: Classical Planning in Python
GNU General Public License v3.0
84 stars 23 forks source link

pypi-release? #2

Open brean opened 4 years ago

brean commented 4 years ago

Hey,

this looks quite useful. have you considered packaging it for pypi?

Maumagnaguagno commented 4 years ago

Thanks :smile:

This is mostly an example project for students, I would like to keep it simple for now (never did a package too). I may do it in the future though.

If you are interested in automated planning I did experiments about planning representations at HyperTensioN and classical planning visualizations at Web-Planner.

meneguzzi commented 4 years ago

I the end I have extended it a bit for other separate projects in Python. As Mau said, his serious work in planning is all in Ruby (I'm the pseudo pythonista in the group).

When Maurício and I have a little breathing room, we can try to put it in pypi, if you want to help us out, we can hit you up when we are ready.

brean commented 4 years ago

This is mostly an example project for students

Okay, that is not very assuring to use this library 😁.

I also found pypddl-parser as an alternative, but I am unsure which one to use. My plans have durative actions which are not supported by this nor the pypddl-parser if I see correctly so I need to extend the parser for that anyway. It is based on ply which seems to be a bit better for extending but just writing a new regex is no magic either...

meneguzzi commented 4 years ago

So, if you want to do something quickly, ours is probably much easier to use. From a quick look, Thiago Bueno's parser looks more complete (and he also provides data structures for the domains). Ultimately, it's not an easy choice.

Maumagnaguagno commented 4 years ago

If you are worried about which one is more "battle-tested", the parser in this repo is a simpler version of the one being used by Web-Planner, which you can see here, and we also have a few tests on CI with multiple Python versions (something that you do need to worry with Python) and a basic planner to start with. You could also look for what temporal planners are using at planning wiki - temporal

I will have time to make a package in October, doesn't seem to be too complicated, but I have a few things to finish first.

Maumagnaguagno commented 3 years ago

Sorry about the delay, I had a lot of personal problems to fix before focusing on this project. I will try to work on it in the next few days.

meneguzzi commented 3 years ago

Thanks Mauricio