SkillAgentSearch skills...

MedspacyV

The medspacyV is a desktop application developed by the Mayo Clinic's Center for Clinical and Translational Science (CCaTS) Informatics Team. It offers a visual interface for the open-source medspacy library.

Install / Use

/learn @medspacy/MedspacyV
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

License: MIT

medspacyV: A Visual Interface for the medspacy NLP Pipeline

medspacyV is a desktop application specifically for Windows OS that provides a visual interface to interact with the medspacy NLP pipeline. Developed by the Mayo Clinic’s Center for Clinical and Translational Science (CCaTS) Informatics Team, it allows users to configure and run medspacy's clinical text processing models without needing to write code.

This application helps in annotating clinical texts, detecting various concepts, and processing notes with a user-friendly graphical interface.

Project Strucutre

  • helper/ - Contains helper modules

    • __init__.py
    • annotations.py
    • constants.py
  • resources/ - Rule and configuration files

    • concepts.xlsx
    • context_rules.json
    • exclude_terms.txt
    • section_rules.tsv
    • sentence_rules.tsv
  • .gitignore - Git ignore file

  • controller.py - Main application controller

  • controller.spec - PyInstaller configuration

  • create_splash_image.py - Script to create a splash image

  • debug.log - Log file

  • model.py - Core processing logic

  • README.md - Project documentation

  • requirements.txt - Dependencies list

  • splash_image.PNG - Splash screen image

  • view.py - UI module

Application Preview

<p align="center"> <img src="./img/home_page.PNG" alt="home"/> </p> <p align="center"> <img src="./img/annote.png" alt="annotation"/> </p>

Installation and Setup

Prerequisites

Python 3.8.10 or higher is preferred for best compatibility.

Clone the Repository

    git clone https://github.com/medspacy/medspacyV
    cd medspacyV

Create Virtual Environment and Activate

    python -m venv application
  • On Windows:
    application\Scripts\activate

Install Dependencies

Ensure you have Python installed (preferably Python 3.8+), then install the required dependencies:

    pip install -r requirements.txt  

Get Started

To launch the application please run the following command:

python controller.py

Create an Executable (.EXE) File

To generate a standalone .exe file using PyInstaller, run:

The following command creates a lauching image which will be used by the .EXE file. It is a one time application, not needed to re-run everytime unless you want to make changes to the image.

python create_splash_image.py

The following command is used to create the .EXE file using pyinstaller.

pyinstaller --add-data="resources;resources" --add-data="resources;resources/en" --splash=splash_image.png --noconfirm --onefile --windowed Controller.py

This will create an executable inside the dist/ folder.

For a full deployment including icons and additional assets, you may customize the PyInstaller configuration in a .spec file.

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated9d ago
Forks0

Languages

Python

Security Score

90/100

Audited on Mar 30, 2026

No findings