-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Proposal
Split the project into two components by a caching mechanism instead of using git submodule:
- Core REPL (Pantograph)
- Python wrapper (PyPantograph)
Implementation details
Cache dir for different systems:
PANTOGRAPH_CACHE_DIR = Path(platformdirs.user_cache_dir("pantograph"))
Use the cached proc
in self.proc_path
:
pexpect.spawn(f"{self.proc_path} {self.args}", cwd=self.cwd,...)
Planned cli tools:
pantograph list
: Show available versionspantograph install
: Install specific versionpantograph update
: Update to the latest tagpantograph default
: Set default version if theproc_path
is not specified
...
Looking for feedback and suggestions on implementation. I would be happy to contribute to this effort :)
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed