pcdshub / pcdshub/hutch-python
Support IPython profile
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 18
- Avg merge
- 7d 9h
- Merged PRs (30d)
- 1
Description
Expected Behavior
Allow an ipython profile to be specified by path or some other reasonable way in the config file, and then load the profile when we start the IPython shell
Current Behavior
User has no easy way to do simple config changes e.g. no-confirm-eixt
Possible Solution
conf.yaml -> ipython_profile key
in cli.py load the ipython profile by passing config= appropriately (not 100% sure where to do this and if we need to pre-read the file using traitlets)
Context
Old python it was easy to modify a --no-confirm-exit
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading cli.py and the conf.yaml configuration path to find where configuration is loaded and the IPython shell starts. Verify how IPython accepts a profile through its config argument. Done means a configured profile path or equivalent setting is loaded when the IPython shell starts, including options such as no-confirm-exit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, yaml
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100