Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Conversation

osolmaz
Copy link
Contributor

@osolmaz osolmaz commented Oct 25, 2022

#12 was previously created to address the hacky way prompts are parsed and generated code is executed. Now, IPython magic commands seem like an even better solution that uses the existing API and solves the issues stated there.

TODO

  • Created %prompt and %p magics to replace /
  • Created %icortex magic to replace //
  • Save execution output to ICortexHistory
  • Print expression values for lines that have expressions and are also in the global scope

@osolmaz osolmaz self-assigned this Oct 25, 2022
@osolmaz osolmaz added the enhancement New feature or request label Oct 25, 2022
@osolmaz
Copy link
Contributor Author

osolmaz commented Oct 26, 2022

Fixes #10, #12

@osolmaz osolmaz merged commit 2a0da8e into develop Oct 26, 2022
osolmaz added a commit that referenced this pull request Oct 26, 2022
* Minor improvements (#16)

* Starting work on Jupyterlite build of icortex

* Changed metadata

* Minor

* Currently trying to fix jupyter_client import

* Kernel resources get installed

* Removed JupyterLite work for now because it's not as straightforward as expected

* Bumped to version 0.1.0 to conform standards

* Migrate prompt parsing to magic commands (#18)

* Replaced / and // with magic commands %p and %icortex

* Execute generated code with InteractiveShell.run_cell()

* Cell outputs are saved to ICortexHistory

* Minor
osolmaz added a commit that referenced this pull request Oct 31, 2022
* Minor improvements (#16)

* Starting work on Jupyterlite build of icortex

* Changed metadata

* Minor

* Currently trying to fix jupyter_client import

* Kernel resources get installed

* Removed JupyterLite work for now because it's not as straightforward as expected

* Bumped to version 0.1.0 to conform standards

* Migrate prompt parsing to magic commands (#18)

* Replaced / and // with magic commands %p and %icortex

* Execute generated code with InteractiveShell.run_cell()

* Cell outputs are saved to ICortexHistory

* Minor

* Improve documentation (#20)

* Added issue templates

* Minor

* Minor

* Minor

* Minor

* Minor

* Minor

* Minor

* Updated README

* Updated README

* wip

* wip

* Minor

* Added docstrings and more dcoumentation

* Minor

* Added rtd config

* Added badge

* Updated README

* Minor

* Minor

* Minor

* Minor
@osolmaz osolmaz deleted the dev-001 branch November 9, 2022 13:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant