Skip to main content

Scientific metadata preparation and packaging tool

Project description

OpenData Tool

Version: 0.22.22 | Status: Alpha | License: MIT

A browser-centric, AI-assisted tool for preparing scientific metadata and packaging research projects for the RODBUK repository.

Key Features

  • Browser-Based UI: Powered by NiceGUI for a modern, responsive experience.
  • Desktop Control Anchor: A non-intimidating "Control Window" for process monitoring and simple shutdowns.
  • Interactive Chat Loop: An agent-driven Q&A interface with stop control and transparent status reporting.
  • High-Performance Explorer: A scalable File Explorer for managing massive datasets without UI lag.
  • Domain Meta-Learning: Automatically learns and stores "Field Protocols" based on user interaction.
  • Secure & Read-Only: Strictly analyzes project directories without modification.
  • Frictionless AI: Uses OAuth2 (Sign-in with Google) for Gemini access; no manual API keys required.

Installation

Option 1: Download Pre-built Binaries (Recommended for Users)

Visit the Releases page and download the binary for your platform:

  • Linux: opendata-linux
  • Windows: opendata-win.exe
  • macOS (Apple Silicon): opendata-macos-arm

Simply run the binary - no installation required!

Option 2: Install from PyPI (Lightweight, for Developers)

Prerequisites: Python 3.11+

Using uvx (Recommended - Fastest, Cross-Platform)

uv is an extremely fast Python package manager written in Rust. It works on Windows, macOS, and Linux.

# Install uv (one-time setup)
curl -LsSf https://astral.sh/uv/install.sh | sh  # macOS/Linux
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"  # Windows

# Run OpenData Tool instantly (no manual installation needed)
uvx opendata-tool

# Or install permanently
uv tool install opendata-tool
uvx opendata-tool

Using pipx (Alternative - Cross-Platform)

# Install pipx (one-time setup)
python -m pip install --user pipx
python -m pipx ensurepath

# Install and run OpenData Tool
pipx install opendata-tool
opendata-tool

Using pip (Traditional)

# Create virtual environment (recommended)
python -m venv venv
source venv/bin/activate  # Linux/macOS
venv\Scripts\activate     # Windows

# Install
pip install opendata-tool

# Run
opendata-tool

Option 3: Development Installation

git clone https://github.com/jochym/opendata.git
cd opendata
pip install -e ".[dev]"
python src/opendata/main.py

Architecture

The tool uses a modular Agentic Backend and a component-based NiceGUI Frontend.

  • Frontend (src/opendata/ui/): Decoupled into functional components (components/) and session-managed via AppContext.
  • Backend (src/opendata/agents/): Agentic reasoning loop with specialized modules for parsing and tool execution.
  • Data Safety: Strictly read-only policy for research data. All persistence happens in ~/.opendata_tool/.

Contributing

See AGENTS.md for detailed coding standards and the agentic workflow. See docs/ for comprehensive manuals.

Testing

Quick Start

# Run all CI/CD safe tests (automated)
./tests/run_all_tests.sh

# Or run specific categories
pytest                          # CI/CD safe tests (79+ tests, ~4s)
pytest -m ai_interaction        # AI tests (local only, needs app running)
./tests/run_e2e_tests.sh        # Full E2E suite (needs Xvfb)

Test Coverage

  • Unit Tests: 53+ tests (~2s)
  • Integration Tests: 8+ tests (~2s)
  • AI Tests: 10+ tests (~3s, local only)
  • E2E Tests: 30+ tests (~90s)

Total: 101+ tests, all automated

Documentation

Documentation

For Users

For Developers

Project Status

Badges

License: MIT Python 3.11+ PyPI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opendata_tool-0.22.23.tar.gz (94.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opendata_tool-0.22.23-py3-none-any.whl (111.0 kB view details)

Uploaded Python 3

File details

Details for the file opendata_tool-0.22.23.tar.gz.

File metadata

  • Download URL: opendata_tool-0.22.23.tar.gz
  • Upload date:
  • Size: 94.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for opendata_tool-0.22.23.tar.gz
Algorithm Hash digest
SHA256 4352276c7817a0ece6edd3abceb0f3382ca98f61d554801c1150df6f1961f61a
MD5 2144d810c5e813ad2029ca59b2099c27
BLAKE2b-256 466a91f80dfbbac047d2af4260d98fad4f4892bd5d3ce32abfd8f8a34017c4d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendata_tool-0.22.23.tar.gz:

Publisher: main.yml on jochym/opendata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendata_tool-0.22.23-py3-none-any.whl.

File metadata

  • Download URL: opendata_tool-0.22.23-py3-none-any.whl
  • Upload date:
  • Size: 111.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for opendata_tool-0.22.23-py3-none-any.whl
Algorithm Hash digest
SHA256 a85653a2ee3721f8ce53b6b132b2f4e7884ab44637af13f8b1cc5dd8d895f1da
MD5 ba259afc30c731633c440a44b4a568fe
BLAKE2b-256 4787e68e9610e161de90aa20fdf164ae84b1320507d3708a7f1d382a04519424

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendata_tool-0.22.23-py3-none-any.whl:

Publisher: main.yml on jochym/opendata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page