Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support all magics available in xeus-cling #176

Open
1 of 3 tasks
anutosh491 opened this issue Nov 15, 2024 · 1 comment
Open
1 of 3 tasks

Support all magics available in xeus-cling #176

anutosh491 opened this issue Nov 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@anutosh491
Copy link
Collaborator

anutosh491 commented Nov 15, 2024

I currently see xeus-cling suporting few magics (https://xeus-cling.readthedocs.io/en/latest/magics.html)

  • %%file
  • %%timeit
  • %%executable

I think %%file through os.hpp/os.cpp should work right off the bat, so that can be enabled here

// preamble_manager["magics"].get_cast<xmagics_manager>().register_magic("file", writefile());

These should be supported through a plugin system eventually I think (#140)

@github-actions github-actions bot added the Needs triage Used in auto labelling of new issues label Nov 15, 2024
@anutosh491
Copy link
Collaborator Author

Just framed some dummy code for %%timeit (untested ... somebody could pick it up and test it)

https://gist.github.com/anutosh491/8ef8fddac545acfad05039164679ecf4

@faze-geek faze-geek mentioned this issue Nov 18, 2024
4 tasks
@mcbarton mcbarton added enhancement New feature or request and removed Needs triage Used in auto labelling of new issues labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants