{"id":15043302,"url":"https://github.com/manics/jupyter-pyfilesystem","last_synced_at":"2025-07-30T21:33:32.069Z","repository":{"id":57438261,"uuid":"213001921","full_name":"manics/jupyter-pyfilesystem","owner":"manics","description":"Jupyter Notebook PyFilesystem Contents Manager","archived":false,"fork":false,"pushed_at":"2020-01-12T15:49:57.000Z","size":58,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T21:13:29.874Z","etag":null,"topics":["jupyter","jupyter-contentsmanager","jupyter-notebook","jupyter-notebook-extension","pyfilesystem","pyfilesystem2"],"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/manics.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}},"created_at":"2019-10-05T13:13:00.000Z","updated_at":"2023-11-05T19:51:26.000Z","dependencies_parsed_at":"2022-08-29T03:01:42.560Z","dependency_job_id":null,"html_url":"https://github.com/manics/jupyter-pyfilesystem","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/manics/jupyter-pyfilesystem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manics%2Fjupyter-pyfilesystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manics%2Fjupyter-pyfilesystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manics%2Fjupyter-pyfilesystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manics%2Fjupyter-pyfilesystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manics","download_url":"https://codeload.github.com/manics/jupyter-pyfilesystem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manics%2Fjupyter-pyfilesystem/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267945178,"owners_count":24170215,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["jupyter","jupyter-contentsmanager","jupyter-notebook","jupyter-notebook-extension","pyfilesystem","pyfilesystem2"],"created_at":"2024-09-24T20:48:49.902Z","updated_at":"2025-07-30T21:33:32.040Z","avatar_url":"https://github.com/manics.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jupyter Notebook PyFilesystem Contents Manager\n[![Build Status](https://travis-ci.com/manics/jupyter-pyfilesystem.svg?branch=master)](https://travis-ci.com/manics/jupyter-pyfilesystem)\n[![PyPI](https://img.shields.io/pypi/v/jupyter-pyfilesystem)](https://pypi.org/project/jupyter-pyfilesystem/)\n\nA [Jupyter Notebooks `ContentsManager`](https://jupyter-notebook.readthedocs.io/en/stable/extending/contents.html#writing-a-custom-contentsmanager) that uses [PyFilesystem](https://www.pyfilesystem.org/) for storing files.\nIncludes a compatible [`Checkpoints`](https://jupyter-notebook.readthedocs.io/en/stable/extending/contents.html#customizing-checkpoints) class.\n\n\n## Installation\n\n```\npip install jupyter-pyfilesystem\n```\n\n\n## Example\n\n`jupyter_notebook_config.py`:\n```python\nc.NotebookApp.contents_manager_class = 'jupyter_pyfilesystem.FsContentsManager'\n\n# In-memory temporary filesystem\nc.FsContentsManager.fs_url = 'mem://'\n```\n\nSee https://docs.pyfilesystem.org/en/latest/openers.html for information on how to define `fs_url`, and https://docs.pyfilesystem.org/en/latest/builtin.html for a list of built-in filesystems.\nThere are also several externally-contributed filesystems that can be used.\nSome are listed on https://www.pyfilesystem.org/page/index-of-filesystems/\n\nNote some filesystems may not behave as you expect.\nFor example, the curent implementations of the `zip://` and `tar://` filesystems do not allow you to update an existing file.\nYou can only create/overwrite an existing file, or open a file read-only.\n\nFor example:\n```python\nc.FsContentsManager.fs_url = 'zip:///tmp/test.zip'\n\nimport os\nif os.path.exists(fs_url[6:]):\n    c.FsContentsManager.create = False\n    c.FsContentsManager.writeable = False\n```\n\nIf you are using a remote filesystem you may want to enable the `keepalive`.\nFor example, this will make a remote request to get the details of `/` every 60 seconds:\n```python\nc.FsContentsManager.keepalive = 60\n```\n\n## Acknowledgements\n\nThis repository is based on https://github.com/quantopian/pgcontents/tree/5fad3f6840d82e6acde97f8e3abe835765fa824b\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanics%2Fjupyter-pyfilesystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanics%2Fjupyter-pyfilesystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanics%2Fjupyter-pyfilesystem/lists"}