DataJoint CLI / launcher script #940
Labels
enhancement
Indicates new improvements
stale
Indicates issues, pull requests, or discussions are inactive
Milestone
Feature Request
Problem
Often, a user wants to quickly check on something in a pipeline, etc. without using a 'full' pipeline environment with pipeline code, dependencies, etc. In these cases, often the workflow is:
It would be nice to provide a simple utility to quickly launch a connected datajoint session with appropriate schemas loaded
as virtual modules for these cases. Potentially this could be designed in a future-proof way for managing other common DataJoint related things (e.g. create pipeline, change password, setup external, launch UI etc)
Requirements
Justification
see 'Problem'
Alternative Considerations
see 'Problem'
Additional Research and Context
Created a basic script to this end for personal use available here:
https://github.com/ixcat/djwip/blob/master/djwip/ixcat/djcli/dj.py
synopsis:
-u
/-p
/-h
should be straightforward;-s
will map the database schema nameddb
to the schema virtual module namedschema
e.g.-s ixcat_subject:subject
to map theixcat_subject
database schema to a virtual module bound to the variableschema
within the resulting interpreter.The text was updated successfully, but these errors were encountered: