Metadata-Version: 2.4
Name: qim-data
Version: 0.1.1
Summary: QIM Center wrapper for magic-wormhole
Author: Felipe Delestro
License: MIT License
        
        Copyright (c) 2026 Center for Quantification of Imaging Data from MAX IV
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/qim-center/qim-data
Keywords: wormhole,cli,file-transfer,qim
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: magic-wormhole
Dynamic: license-file

# qim-data

QIM Center wrapper around `magic-wormhole`.

Architecture and contributor notes: `docs/CLI-wrapper.md`

## Install

```bash
pip install qim-data
```

## Quick usage

```bash
qim-data send /path/to/file
qim-data receive
```

## Current status

Initial Python package structure is in place with a CLI-first backend:

- `qim-data send <source>`
- `qim-data receive [code]`
- `qim-data config`

The current backend invokes the `wormhole` CLI with QIM defaults.
The internal architecture keeps a backend abstraction so we can later add a direct Python API backend.

## Package layout

- `pyproject.toml`: packaging metadata and `qim-data` entrypoint
- `src/qim_data/cli.py`: command parsing and dispatch
- `src/qim_data/app.py`: application orchestration
- `src/qim_data/config.py`: runtime configuration model
- `src/qim_data/constants.py`: QIM endpoint defaults
- `src/qim_data/backends/`: backend interface and CLI backend implementation
