{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/7"}],"enrichment":{"capability":"Returns the filename or full path of the currently running Jupyter notebook when executed in a browser-based notebook environment.","skillfed_tags":["jupyter-integration","notebook-automation"],"use_cases":["Automating blog post publishing workflows by detecting which notebook is being converted and routing it to the correct destination.","Logging or tracking which notebook generated a particular output or result in a data analysis pipeline.","Dynamically naming output files or directories based on the source notebook filename without manual configuration.","Building notebook-aware automation that needs to know its own filename for reproducibility or audit purposes."],"what_it_does":"ipynbname solves a surprisingly difficult problem: getting the filename or full path of the notebook you're currently running in Jupyter. When executed in a browser-based notebook, it queries the Jupyter kernel to retrieve this metadata, which is not otherwise easily accessible from within the notebook itself. The package exposes two main functions\u2014name() to get just the filename and path() to get the full file path\u2014making it straightforward to automate workflows that depend on knowing which notebook is running.\n\nThe package was originally created to automate publishing blog posts written in Jupyter notebooks directly to GitHub Pages. It has a single runtime dependency on ipykernel and requires Python >=3.4. The main limitation is that it only works reliably in browser-based Jupyter notebooks; it does not currently work with nbconvert or papermill.","worth_installing":"Yes, if you need to programmatically access the current notebook's filename or path within a browser-based Jupyter environment. The low install friction and permissive MIT license make it a lightweight addition. However, be aware that maintenance is aging (last release 362 days ago) and the package has known limitations outside browser notebooks, so verify it works with your specific Jupyter setup before relying on it in production workflows."},"id":"ipynbname","links":{"html":"https://skillfed.io/packages/ipynbname","md":"https://skillfed.io/packages/ipynbname.md","pypi":"https://pypi.org/project/ipynbname/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-08-17","license_spdx":null,"license_treatment":"permissive","name":"ipynbname","python_support":"supports_current","summary":"Simply returns either notebook filename or the full path to the notebook when run from Jupyter notebook in browser."},"popularity":{"monthly_downloads":251605,"position":8574,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2025.8.0.0"}
