Closed MilesCranmer closed 1 year ago
Hey, I'm new to this project and community but it looks like a fantastic tool with a huge range of applications! I'm a software engineer with an academic background in Physics and DS/ML. I'm looking to try and make a first contribution to your open source project, and this issue seems like a good contender.
I just wanted to clarify that the issue involves implementing the following:
pysr.install()
when python -m pysr.install
is run in the console.Please do let me know if I've got the right idea to begin working on the issue!
Hi @w2ll2am,
Thanks so much for offering to work on this, sounds great! I confirm your suggested steps, although, thinking about it now, perhaps it might be better to have the CLI be python -m pysr install
(space rather than dot). You will likely want to add a __main__.py
file to the source folder, maybe with a click
-based CLI. The CLI options could be the same as the arguments to the pysr.install()
command.
Cheers! Miles
Fixed from #298
Right now you install SymbolicRegression.jl using
python -c 'import pysr; pysr.install()'
. However, this is a bit of spooky action at a distance, because you can't quite be sure whichpysr
is actually being called. Thus, it would be great if there was a CLI, similar to how testing is done withpython -m pysr.test main
. For example:If anybody wants to add this, I'd be more than happy to accept a PR!