{"id":15014437,"url":"https://github.com/carlthome/ipytoolbox","last_synced_at":"2026-01-18T18:33:17.263Z","repository":{"id":212171884,"uuid":"730847738","full_name":"carlthome/ipytoolbox","owner":"carlthome","description":"A collection of IPython magics and other utilities","archived":false,"fork":false,"pushed_at":"2024-04-18T18:17:17.000Z","size":146,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T10:45:45.184Z","etag":null,"topics":["ipython","jupyter","matplotlib","numpy"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carlthome.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-12T20:04:23.000Z","updated_at":"2024-02-19T22:25:42.000Z","dependencies_parsed_at":"2023-12-16T01:26:58.617Z","dependency_job_id":"10503393-51e7-41d5-ab19-4c3f893e4b8f","html_url":"https://github.com/carlthome/ipytoolbox","commit_stats":null,"previous_names":["carlthome/ipytoolbox"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlthome%2Fipytoolbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlthome%2Fipytoolbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlthome%2Fipytoolbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlthome%2Fipytoolbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlthome","download_url":"https://codeload.github.com/carlthome/ipytoolbox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247278122,"owners_count":20912670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ipython","jupyter","matplotlib","numpy"],"created_at":"2024-09-24T19:45:38.190Z","updated_at":"2026-01-18T18:33:17.257Z","avatar_url":"https://github.com/carlthome.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ipytoolbox\n\nA collection of IPython magic commands and other utilities.\n\n## Features\n\n### `%autocuda`\n- A line magic to automatically select the local CUDA device(s) with the most free memory.\n\n\u003cimg width=\"673\" alt=\"image\" src=\"https://github.com/carlthome/ipytoolbox/assets/1595907/7634b369-1c68-4e69-a2fd-fc938c7a2261\"\u003e\n\n### `%%animate`\n\n- A cell magic to automatically capture `plt.plot(); plt.show()` calls and display them as an animation once the cell has finished executing.\n\n[Example notebook](./notebooks/demo.ipynb)\n\n## Install\n\nFirst make sure Python is installed, then run:\n\n```sh\npip install ipytoolbox\n```\n\nThen you can use it in IPython or Jupyter Notebooks by\n\n```ipython\n%load_ext ipytoolbox\n```\n\n## Develop\n\nFirst clone the repo and set it as working directory. Then install the package in development mode (preferably within its own virtual environment):\n\n```sh\npip install -e \".[tests]\"\n```\n\nIf you have `direnv` installed, you can run `direnv allow` to automatically create and activate a Python virtual environment when you enter the directory.\n\n### Test\n\n```sh\npytest\n```\n\n### Lint\n\n```sh\npre-commit run --all-files\n```\n\nOr `pre-commit install` to run automatically on `git commit`.\n\n### Publish\n\n```sh\ngh release create\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlthome%2Fipytoolbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlthome%2Fipytoolbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlthome%2Fipytoolbox/lists"}