fast-nbs


Namefast-nbs JSON
Version 0.0.1 PyPI version JSON
download
home_page
SummaryImport jupyter notebooks fast
upload_time2023-05-25 02:50:39
maintainer
docs_urlNone
author
requires_python>=3.7
licenseMIT License Copyright (c) 2023 The Python Packaging Authority Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords notebooks import jupyter
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Fast-nbs

Import jupyter notebooks fast

## Example

Supposing we have a module directory like:
```
- nbpackage
--  nbs
       other.ipynb
--  mynotebook.ipynb

```

then we can import the ipynb codes into current Python files like:

```python
import os
import fastnbs.vis as nbvis

# call root notebook
from nbpackage import mynotebook
mynotebook.show_name("Chen")

# call sub directory notebook
from nbpackage.nbs import other
other.say_hi('hi')
# show notebook codes
nbvis.show_notebook(os.path.join("nbpackage", "nbs", "other.ipynb"))
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "fast-nbs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "notebooks,import,jupyter",
    "author": "",
    "author_email": "Donghua Chen <douglaschan@126.com>",
    "download_url": "https://files.pythonhosted.org/packages/33/d8/9a5b107b5dcf849767efcbdca7bb21ad6f535f18a41247b7d37efe8861b7/fast-nbs-0.0.1.tar.gz",
    "platform": null,
    "description": "# Fast-nbs\r\n\r\nImport jupyter notebooks fast\r\n\r\n## Example\r\n\r\nSupposing we have a module directory like:\r\n```\r\n- nbpackage\r\n--  nbs\r\n       other.ipynb\r\n--  mynotebook.ipynb\r\n\r\n```\r\n\r\nthen we can import the ipynb codes into current Python files like:\r\n\r\n```python\r\nimport os\r\nimport fastnbs.vis as nbvis\r\n\r\n# call root notebook\r\nfrom nbpackage import mynotebook\r\nmynotebook.show_name(\"Chen\")\r\n\r\n# call sub directory notebook\r\nfrom nbpackage.nbs import other\r\nother.say_hi('hi')\r\n# show notebook codes\r\nnbvis.show_notebook(os.path.join(\"nbpackage\", \"nbs\", \"other.ipynb\"))\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 The Python Packaging Authority  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  ",
    "summary": "Import jupyter notebooks fast",
    "version": "0.0.1",
    "project_urls": {
        "Bug Reports": "https://github.com/dhchenx/fast-nbs/issues",
        "Homepage": "https://github.com/dhchenx/fast-nbs",
        "Source": "https://github.com/dhchenx/fast-nbs/"
    },
    "split_keywords": [
        "notebooks",
        "import",
        "jupyter"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "66085015b5f9c1db0e5fe7d484b1cf75f33db37e671178d0ad4b0a5344cf9971",
                "md5": "64d4168420d51290bf00c13b6bf65f83",
                "sha256": "8a9734aa6c2888e07e7befd79dbe083cb5668747808cb47dd437f9ff6351ca92"
            },
            "downloads": -1,
            "filename": "fast_nbs-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "64d4168420d51290bf00c13b6bf65f83",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 5080,
            "upload_time": "2023-05-25T02:50:37",
            "upload_time_iso_8601": "2023-05-25T02:50:37.189940Z",
            "url": "https://files.pythonhosted.org/packages/66/08/5015b5f9c1db0e5fe7d484b1cf75f33db37e671178d0ad4b0a5344cf9971/fast_nbs-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "33d89a5b107b5dcf849767efcbdca7bb21ad6f535f18a41247b7d37efe8861b7",
                "md5": "7fbf9e04d3b7d0261456f166c2ee767b",
                "sha256": "0808c4b1a29cd608302c5ececbd5c148d8bddcc201ac13b5771d9cb850e1cfec"
            },
            "downloads": -1,
            "filename": "fast-nbs-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7fbf9e04d3b7d0261456f166c2ee767b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 6005,
            "upload_time": "2023-05-25T02:50:39",
            "upload_time_iso_8601": "2023-05-25T02:50:39.095208Z",
            "url": "https://files.pythonhosted.org/packages/33/d8/9a5b107b5dcf849767efcbdca7bb21ad6f535f18a41247b7d37efe8861b7/fast-nbs-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-25 02:50:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dhchenx",
    "github_project": "fast-nbs",
    "github_not_found": true,
    "lcname": "fast-nbs"
}
        
Elapsed time: 0.07824s