# Notebook setup package
[](https://travis-ci.org/BlackHC/notebook_setup)
Idea is to
```
import blackhc.notebook
```
and get someuseful stuff in your jupyter notebooks.
Right now 'useful stuff' is:
* finds the project root and changes directory to that;
* adds `$project_root/src` to the Python paths;
* load the autoreload extension and set its mode to 2.
## Installation
To install using pip, use:
```
pip install blackhc.notebook
```
To run the tests, use:
```
python setup.py test
```
## Build and publish a new version
```
pip install build twine
```
```
python -m build
```
```
twine upload dist/*
```
Raw data
{
"_id": null,
"home_page": "https://github.com/blackhc/notebook_setup",
"name": "blackhc.project",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "jupyter",
"author": "Andreas @blackhc Kirsch",
"author_email": "blackhc+notebook_setup@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/b9/f3/2cd0adcce04c32677e5c68db84ace71762ca2bdfb898d93f70e57ea2e152/blackhc_project-6.0.0.tar.gz",
"platform": null,
"description": "# Notebook setup package\n\n[](https://travis-ci.org/BlackHC/notebook_setup)\n\nIdea is to\n```\nimport blackhc.notebook\n```\nand get someuseful stuff in your jupyter notebooks.\n\nRight now 'useful stuff' is:\n\n* finds the project root and changes directory to that;\n* adds `$project_root/src` to the Python paths;\n* load the autoreload extension and set its mode to 2.\n \n## Installation\n\nTo install using pip, use:\n\n```\npip install blackhc.notebook\n```\n\nTo run the tests, use:\n\n```\npython setup.py test\n```\n\n## Build and publish a new version\n\n```\npip install build twine\n```\n\n```\npython -m build \n```\n\n```\ntwine upload dist/*\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Notebook setup code",
"version": "6.0.0",
"project_urls": {
"Homepage": "https://github.com/blackhc/notebook_setup"
},
"split_keywords": [
"jupyter"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1d88a1587de3bae449e1bd0cda63be1bb039d969def9e293d697d93d7e3bc9fd",
"md5": "9a5ee5e3096c983b917765ed07e059b5",
"sha256": "0d10d0684f727c1a0859620f0a9422df9ab15a889d303ed51fb544e91534735f"
},
"downloads": -1,
"filename": "blackhc.project-6.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9a5ee5e3096c983b917765ed07e059b5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 41178,
"upload_time": "2024-07-31T09:34:10",
"upload_time_iso_8601": "2024-07-31T09:34:10.719769Z",
"url": "https://files.pythonhosted.org/packages/1d/88/a1587de3bae449e1bd0cda63be1bb039d969def9e293d697d93d7e3bc9fd/blackhc.project-6.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b9f32cd0adcce04c32677e5c68db84ace71762ca2bdfb898d93f70e57ea2e152",
"md5": "dfd370d4e2143ffe4dcb8a5ce4ed4de9",
"sha256": "7808e2a1c07146a8ab4329d26cba65d80a3c234db6a0e0b64874fd3e2854387c"
},
"downloads": -1,
"filename": "blackhc_project-6.0.0.tar.gz",
"has_sig": false,
"md5_digest": "dfd370d4e2143ffe4dcb8a5ce4ed4de9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 35539,
"upload_time": "2024-07-31T09:34:14",
"upload_time_iso_8601": "2024-07-31T09:34:14.798763Z",
"url": "https://files.pythonhosted.org/packages/b9/f3/2cd0adcce04c32677e5c68db84ace71762ca2bdfb898d93f70e57ea2e152/blackhc_project-6.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-31 09:34:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "blackhc",
"github_project": "notebook_setup",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "blackhc.project"
}