Skip to content

dillorr/viewport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Viewport

Viewport is a native macOS application for inspecting Apache Parquet and CSV files efficiently. It combines the performance of native SwiftUI with the data processing power of the Python scientific stack (Pandas, PyArrow) served via a local FastAPI backend.

Viewport App Screenshot

Features

  • Native Experience: Built with SwiftUI for a smooth, native macOS look and feel.
  • Large Dataset Support: Implements virtualization and pagination to load data on-demand, ensuring the UI remains responsive even with large files.
  • Self-Contained: Uses PyInstaller to bundle a complete Python environment inside the app bundle. No need for users to install Python or dependencies.
  • Robust Typing: Handles complex Parquet data types (timestamp normalization, null handling) via Pandas.
  • Hybrid Architecture: Leverages local Uvicorn/FastAPI server for reliable IPC and async data serving.

Installation

Download the latest version from the Releases Page.

  1. Download Viewport.dmg.
  2. Open the disk image and drag Viewport to your Applications folder.

Usage

  1. Launch Viewport.
  2. Click Open Parquet File.
  3. Select any .parquet file to instantly view its contents.

Build from Source (for Developers)

To build the standalone app manually or for development:

Requirements

  • macOS
  • Xcode (or Swift command line tools)
  • Python 3

Build Instructions

# 1. Clone the repository
git clone https://github.com/dillorr/viewport.git
cd viewport

# 2. Make the build script executable
chmod +x scripts/bundle.sh

# 3. Create the App
./scripts/bundle.sh

Once complete, Viewport.app will appear in the project folder. You can drag this to your Applications folder or open it directly.

open Viewport.app

Creating an Installer

To distribute the app, you can create a standard macOS disk image (.dmg) using the included utility script:

# Make the dmg script executable (if not already)
chmod +x scripts/create_dmg.sh

# Generate the DMG
./scripts/create_dmg.sh

This will generate Viewport.dmg containing the signed application and an Applications folder shortcut.

License

This project is licensed under the terms of the MIT License.

About

Simple CSV and Parquet viewer for MacOS

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors