neuroinformatics-unit / movement

Python tools for analysing body movements across space and time
http://movement.neuroinformatics.dev
BSD 3-Clause "New" or "Revised" License
96 stars 8 forks source link

Provide a CLI entry point for `movement info` #168

Closed niksirbi closed 4 months ago

niksirbi commented 5 months ago

The command could be movement info or movement summary. It should print the movement version, alongside the version of our most important dependencies, and some info about the platform. This will be useful for verifying installation and for debugging: we can ask users to post the output of this command when reporting issues.

adamltyson commented 5 months ago

Over the top mockup:

(movement) adam@snowy:~$ movement info                                                                      
  _ __ ___   _____   _____ _ __ ___   ___ _ __ | |_ 
 | '_ ` _ \ / _ \ \ / / _ \ '_ ` _ \ / _ \ '_ \| __|
 | | | | | | (_) \ V /  __/ | | | | |  __/ | | | |_ 
 |_| |_| |_|\___/ \_/ \___|_| |_| |_|\___|_| |_|\__|

                             #####                                Platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.31
                         ####(########                            System: Ubuntu 20.04.6 LTS
                    ,####(#######(###(**       .                  CPU: 12th Gen Intel i9-12900K (24) @ 5.100GHz 
                /############(###(*/****######                    GPU: NVIDIA 01:00.0 NVIDIA Corporation Device 2216    
            .###(############(*/***/#####(########,               Memory: 11963MiB / 128520MiB      
        *###(#######(####(*****/#####(#######(##(**                    
      &&########(####(*****/#############(##/******(((((((.       Python: 3.10.11     
      &&&&#&#####/*****/####(###########/******(((((((((((((((*   Movement: 0.0.15     
      &#&&#&&&%****/####(#######(###(*****/((((((((((((((((/***   NumPy: 1.23.5     
      &&&&##&&%**/%%########(###/*****/((((((((((((((((/*******   xarray: 2024.3.0     
      &#&&#&&&%***%%%%%%####/*/***/((((((((((((((((/**/********   SciPy: 1.10.1     
      &&&&##&&%***%#%%%%%%****/((((((((((((((((/******/********        
      &&&&#&&&%***%%%%%#%%**/%&&(((((((((((/**********/********        
      &&&&#&&&%***%(%%%%%%***%&&&(&&(((/*******/******/********        
      /&&&#&&&%***%%%%%(%%***%&&&(&&&&*****/**********/*****/**        
          ,&&&%***%%%%%%%%***%&&&(&&&&*/**************/*/******        
               (   %%%%%%%%***%&(&(&&&&**************/*/******          
                  *%%%%%%%***%&&&(&(&&**********/*****/*/              
                       .%%%***%&&&(&&&&******/*******/                  
                              %&&&(&%&&**/*******/                      
                               ,&&(&&&&******/                          
                                    &&&**/                              
niksirbi commented 5 months ago

WOW, ASCII art? what did you use to make this?

adamltyson commented 5 months ago

There's loads of tools online, but in this case I used this for the movement dataset schematic and this for the heading. The text is a mix of neofetch and the napari env reporting.