Re: cool things: python-fire

2018-11-16 Thread Edward K. Ream
On Sun, Nov 4, 2018 at 12:10 PM Matt Wilkie  wrote:

> Drop this in the "cool things seen out there" and "probably room for this
> in my toolkit" bins:
>
> *Python-fire  -*
> *a library for automatically generating command line interfaces (CLIs)
> from absolutely any Python object. *
>

Interesting. I've added it to my long list of urls in the tools folder.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: cool things: python-fire

2018-11-14 Thread john lunzer
Very interesting. Sounds like it removes a lot of the effort for a process 
I execute all the time. 

Another "one liner" I use for code disection is:

from IPython.terminal.embed import InteractiveShellEmbed; ips = 
InteractiveShellEmbed(); ips()


Although if I have pudb available I'll often just use that.

On Sunday, November 4, 2018 at 1:10:23 PM UTC-5, Matt Wilkie wrote:
>
> Drop this in the "cool things seen out there" and "probably room for this 
> in my toolkit" bins:
>
> *Python-fire  -* 
> *a library for automatically generating command line interfaces (CLIs) 
> from absolutely any Python object. *
>
>
> *...call Fire in your library, then you can run all of it's functionality 
> from the command line without having to keep making changes to a main 
> method. *
>
> *...**take an existing module, maybe even one that you don't have access 
> to the source code for, and call Fire on it. This lets you easily see what 
> functionality this code exposes, without you having to read through all the 
> code.*
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


cool things: python-fire

2018-11-04 Thread Matt Wilkie
Drop this in the "cool things seen out there" and "probably room for this 
in my toolkit" bins:

*Python-fire  -* 
*a library for automatically generating command line interfaces (CLIs) from 
absolutely any Python object. *


*...call Fire in your library, then you can run all of it's functionality 
from the command line without having to keep making changes to a main 
method. *

*...**take an existing module, maybe even one that you don't have access to 
the source code for, and call Fire on it. This lets you easily see what 
functionality this code exposes, without you having to read through all the 
code.*

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.