{"id":16272058,"url":"https://github.com/sshh12/nb_autoimports","last_synced_at":"2026-04-29T01:33:48.106Z","repository":{"id":70737744,"uuid":"374137829","full_name":"sshh12/nb_autoimports","owner":"sshh12","description":"Automatically add imports when a notebook raises a NameError.","archived":false,"fork":false,"pushed_at":"2021-06-08T23:18:17.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T15:50:14.807Z","etag":null,"topics":["auto-import","data-science-tools","jupyter-notebook"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sshh12.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":"2021-06-05T14:42:02.000Z","updated_at":"2021-06-08T23:18:19.000Z","dependencies_parsed_at":"2023-02-22T22:15:20.571Z","dependency_job_id":null,"html_url":"https://github.com/sshh12/nb_autoimports","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sshh12/nb_autoimports","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshh12%2Fnb_autoimports","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshh12%2Fnb_autoimports/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshh12%2Fnb_autoimports/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshh12%2Fnb_autoimports/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshh12","download_url":"https://codeload.github.com/sshh12/nb_autoimports/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshh12%2Fnb_autoimports/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32407164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["auto-import","data-science-tools","jupyter-notebook"],"created_at":"2024-10-10T18:15:58.408Z","updated_at":"2026-04-29T01:33:48.093Z","avatar_url":"https://github.com/sshh12.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nb_autoimports\n\n## Install\n\n`$ pip install git+https://github.com/sshh12/nb_autoimports --upgrade`\n\n## Usage\n\nLoad with `%load_ext nb_autoimports` and create a cell with just `# autoimport:`. It's best to keep this cell seperate from other code since it's contents will be overridden by this extension.\n\n### Fix basic imports\n\n_See [common_index.py](https://github.com/sshh12/nb_autoimports/blob/main/nb_autoimports/common_index.py) for built-in aliases._\n\n![basic example](https://user-images.githubusercontent.com/6625384/120899493-a0c73000-c5f5-11eb-8888-7f7ecb3b8870.gif)\n\n### Fix and rerun\n\n![rerun example](https://user-images.githubusercontent.com/6625384/120899644-67db8b00-c5f6-11eb-9d23-1d65c93f13c8.gif)\n\n### Import from custom modules\n\n_Include import names as a comma separated list. The order listed will be used as the lookup order._\n\n![custom example](https://user-images.githubusercontent.com/6625384/120899933-bb9aa400-c5f7-11eb-8aa5-6e5c6397e12c.gif)\n\n## More built-in imports\n\nFill free to PR an update [common_index.py](https://github.com/sshh12/nb_autoimports/blob/main/nb_autoimports/common_index.py).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshh12%2Fnb_autoimports","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshh12%2Fnb_autoimports","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshh12%2Fnb_autoimports/lists"}