<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 17, 2020 at 16:55 Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
anyone in the community with Python knowledge using Postgres that can<br>
spend a bit of time to add support in kamcli?<br>
<br>
  * <a href="https://github.com/kamailio/kamcli" rel="noreferrer" target="_blank">https://github.com/kamailio/kamcli</a><br>
<br>
It should be mainly about the content of the code corresponding to db<br>
subcommand:<br>
<br>
  * <a href="https://github.com/kamailio/kamcli/blob/master/kamcli/commands/cmd_db.py" rel="noreferrer" target="_blank">https://github.com/kamailio/kamcli/blob/master/kamcli/commands/cmd_db.py</a><br>
<br>
The target for it is to replace kamdbctl and has some command line<br>
variants for couple of its functions, now being implemented for MySQL.<br>
<br>
The rest of the code relies on sqlalchemy, which should have transparent<br>
support for both mysql and postgress (even more). Testing the other<br>
commands connecting to database with postgres would be good, though.<br>
<br>
With more and more diversity in the default shell by main Linux/Unix<br>
distros, we hope to be able to replace in the near future the kamctl and<br>
kamdbctl tools, which are more like bash scripting (a few issue being<br>
reported and fixed lately). Besides that, using python allows better<br>
input/parameter checking/validation as well as more options for<br>
formatted output.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio Advanced Training - March 9-11, 2020, Berlin - <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
Kamailio World Conference - April 27-29, 2020, in Berlin -- <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a><br>
<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Dani Popa</div>