No project description provided
Project description
jupyter_server_fileid
A Jupyter Server extension providing an implementation of the File ID service.
Requirements
- Jupyter Server
Install
To install the extension, execute:
pip install jupyter_server_fileid
Uninstall
To remove the extension, execute:
pip uninstall jupyter_server_fileid
Troubleshoot
If you are seeing the frontend extension, but it is not working, check that the server extension is enabled:
jupyter server extension list
Contributing
Development install
# Clone the repo to your local environment
# Change directory to the jupyter_server_fileid directory
# Install package in development mode - will automatically enable
# The server extension.
pip install -e .
You can watch the source directory and run your Jupyter Server-based application at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension. For example, when running JupyterLab:
jupyter lab --autoreload
If your extension does not depend a particular frontend, you can run the server directly:
jupyter server --autoreload
Running Tests
Install dependencies:
pip install -e ".[test]"
To run the python tests, use:
pytest
# To test a specific file
pytest jupyter_server_fileid/tests/test_handlers.py
# To run a specific test
pytest jupyter_server_fileid/tests/test_handlers.py -k "test_get"
Development uninstall
pip uninstall jupyter_server_fileid
Packaging the extension
See RELEASE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for jupyter_server_fileid-0.4.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b2837921ee5f791e2a38ba9aa42cf3c9b78a152b187a0c4f4c3425ea044344 |
|
MD5 | 74d72fa5dc135b96b35fc79a8f516d8c |
|
BLAKE2b-256 | 1af1b481500648673e61714ede61151716b3e6dd2f24583fe5a04489ef1e1ff0 |
Hashes for jupyter_server_fileid-0.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb58a35b5e0da929290216784bad0765be977102eb54e412a6c00acc717a97db |
|
MD5 | 52866491bbb2374a9de9aa14ddd50c10 |
|
BLAKE2b-256 | cecf3ebeb26091fc796227273f67f05e3d20080e5377dc8f042601e38480948b |