A web-based graphical user interface server for viewing (and manipulating) BIDS datasets, build on lazybids.
Project description
LazyBIDS-UI
LazyBIDS-UI is a web-based user interface for interacting with BIDS datasets. It provides a visual and intuitive way to explore, manage, and analyze BIDS-compliant neuroimaging data, leveraging the power of LazyBIDS as its core io-library.
Furthermore, LazyBIDS-UI's REST-API provides an easy way to interact with datasets on the server, and download only the parts you need, when you need them. The LazyBIDS library showcases how a remote dataset can be accessed in the same way you would access a local dataset.
Finally, LazyBIDS-UI is almost fully written in Python, and aims to keep things simple. Making it easy to modify LazyBIDS-UI to your specific needs. The combination of jinja html templates, with htmx for interactions keeps things simple, responsive and extensability.
Because all assets are availble both in html and throught the REST-API, extensions can even be implemented in frontend frameworks like Angular, React or Vue. Simply:
- Create an htmx enabled div where you'd like your plugin to appear
- Link to your frontend with the right url/parameters
- Query the API for the data you need
- Voilà.
Install the latest version:
pip install lazybids-ui
Features
- Visual Dataset Explorer: Easily navigate through subjects, sessions, and scans with an intuitive interface.
- Interactive Data Viewer: View and interact with neuroimaging data directly in your browser.
- Metadata Management: Explore and edit metadata associated with your BIDS datasets.
- RESTful API: Programmatically interact with your datasets using a comprehensive API.
- Integration with LazyBIDS: Seamlessly work with LazyBIDS objects and functionality.
Documentation
For detailed documentation, including API specifications and advanced usage, please visit our GitHub Pages.
Quick Start
-
Install LazyBIDS-UI:
pip install lazybids-ui
-
Start the LazyBIDS-UI server:
lazybids-ui start
-
Open your web browser and navigate to
http://localhost:8000
to access the LazyBIDS-UI interface.
Screenshots
[Space for screenshots/GIFs of the UI]
REST API
LazyBIDS-UI provides a comprehensive REST API for programmatic interaction with your BIDS datasets. For full API documentation, please refer to our API Specifications.
Example usage:
import requests
# Get all datasets
response = requests.get('http://localhost:8000/api/datasets')
datasets = response.json()
# Get details of a specific dataset
dataset_id = datasets[0]['id']
response = requests.get(f'http://localhost:8000/api/dataset/{dataset_id}')
dataset_details = response.json()
Contributing
We welcome contributions to LazyBIDS-UI! Please see our Contributing Guidelines for more information on how to get started.
License
LazyBIDS-UI is released under the Apache 2 License.
Acknowledgements
LazyBIDS-UI is built upon the excellent LazyBIDS library and is inspired by the BIDS standard and community.
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
File details
Details for the file lazybids_ui-0.0.2.tar.gz
.
File metadata
- Download URL: lazybids_ui-0.0.2.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bab2f119234e02aa7a496c223388d4536c3dd7e43d3c2592ef4a7b834f96acc |
|
MD5 | 33cedf614cd4c04954b64f24d7fd1384 |
|
BLAKE2b-256 | 4a226792d0222652d96c669a5c999432fbe775ec0902aa744469a2e99f54ec4f |
File details
Details for the file lazybids_ui-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: lazybids_ui-0.0.2-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45e86075fcf5c4dee4790b4ebb83cc913b2df1725f7192d7b0ebb1e63a0b1d85 |
|
MD5 | 231a2c5bfadc41358e292e987305e12e |
|
BLAKE2b-256 | 66049d02200604f83a1765d260de417be938a28253b95ae17fb0184adaf957f8 |