freeview: Interactive FreeSurfer Stats Dashboard
Quick install (recommended)
Use a Python 3.10+ interpreter when creating the virtual environment.
Install freeview:
- Linux / macOS:
# ensure you pick a 3.10+ interpreter (3.12 recommended)
python3.12 -m venv freeviewer
./freeviewer/bin/python -m pip install --upgrade pip
./freeviewer/bin/python -m pip install freeview
./freeviewer/bin/freeview cert
./freeviewer/bin/freeview serve
- Windows (PowerShell):
py -3.12 -m venv freeviewer
.\freeviewer\Scripts\python.exe -m pip install --upgrade pip
.\freeviewer\Scripts\python.exe -m pip install freeview
.\freeviewer\Scripts\freeview.exe cert
.\freeviewer\Scripts\freeview.exe serve
Key Note: If mkcert is not available, freeview cert and freeview serve will print installation hints and will not start until valid, trusted certs exist. freeview will call mkcert -install and then mkcert -ecdsa to generate localhost.pem and localhost-key.pem in the per-user cert directory.
Setup local certificates (important)
Certificates are required for the recommended HTTPS-only local setup.
freeviewrequires HTTPS forlocalhost. The CLI commandfreeview certwill create and trust a local CA usingmkcert(explicit consent is requested) and generate ECDSA P-256 certs.- Generated certs are stored per-user:
- macOS / Linux:
$XDG_DATA_HOME/freeview/certsor~/.local/share/freeview/certs - Windows:
%APPDATA%\\freeview\\certs
- macOS / Linux:
(Dependency) Install mkcert to create local certificates:
- Linux:
sudo apt install -y mkcert libnss3-tools
- macOS:
brew install mkcert
- Windows (Admin PowerShell):
choco install mkcert -y
# mkcert -install
For other Linux distros, see mkcert's official guidelines: use your distro package or download the binary from https://github.com/FiloSottile/mkcert and run mkcert -install.
After installing mkcert, create the local certificates
Create local certificates
./freeviewer/bin/freeview cert # to create local certificates
INSTALLATION COMPLETE
Launch freeview dashboard
./freeviewer/bin/freeview serve --port 8501 # when using a local venv
Note: The viewer should be running in the default URL: https://localhost:8501
Troubleshooting
ERROR: Package 'freeview' requires a different Python: your venv Python is older than 3.10 — recreate the venv with a 3.10+ interpreter (for examplepython3.12 -m venv freeviewer).no such file or directory: ./freeviewer/bin/freeview: the package failed to install into that venv (or you typed an extra dot likefreeview..). Re-run the install steps above.- Browser certificate warnings: run
mkcert -install(orfreeview cert), then restart the browser. - Upgrade pip inside the venv if you see pip warnings:
./freeviewer/bin/python -m pip install --upgrade pip
Install from a local wheel (developer / offline)
Build a wheel in the project root (requires the build package):
./freeviewer/bin/python -m pip install --upgrade pip build
./freeviewer/bin/python -m build
./freeviewer/bin/python -m pip install *.whl
Replace ./freeviewer/bin/python with the interpreter you used to create the venv (or python3.12 if you are not in a venv yet).
Alternate launch method with Streamlit directly (advanced / debugging)
python -m streamlit run path/to/freeview/streamlit_app.py -- \\
./output/consolidated_stats.csv ./output/summary.csv
When running Streamlit directly and wanting HTTPS you must pass --server.sslCertFile and --server.sslKeyFile.
CSV conversion
freeview stats2csv --stats-dir /path/to/A_T1/stats --out-dir ./output
Citation
This software is released for broad research, educational, and engineering use. If this package helps your work, please cite the following paper:
@misc{tarafdar2026interpretablefrugallearningsystems,
title={Interpretable and Frugal Learning Systems Employing Multiresolution Pyramids and Volterra Kernels},
author={Kishore Kumar Tarafdar},
year={2026},
eprint={2606.15011},
archivePrefix={arXiv},
primaryClass={eess.SP},
url={https://arxiv.org/abs/2606.15011},
}
Copyright © 2026 Kishore Kumar Tarafdar
Released under the GNU General Public License v3.0 — see LICENSE
Metadata
Release files for freeview 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| freeview-0.0.3.tar.gz | 27.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| freeview-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.9 kB
Release files / freeview-0.0.3.tar.gz
| Download URL | freeview-0.0.3.tar.gz |
|---|---|
| Size | 27.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99632880d54c73373e5c0cf7906339a7327a5279cb34db6d60398532af8fa31f
|
|
BLAKE2b-256 checksum How to use checksums |
8bb36604024cad9887d42a9477d0892c15de3368534fcdb38a2716825ea85cb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / freeview-0.0.3-py3-none-any.whl
| Download URL | freeview-0.0.3-py3-none-any.whl |
|---|---|
| Size | 32.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28c8b93bf5ba68161200ca9599ee313e62e52cad35da035b841a9006cf410764
|
|
BLAKE2b-256 checksum How to use checksums |
0964f65ced6ab2491bf81da7e851f66e117e285cc3a177e76aa5cea159c535ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for freeview 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.