semvec/pypi-packages huggingface dataset:
xpdc 0.1.2
XPDC (X-Platform Device Connector) is designed to bridge the gap between devices across multiple platforms (Android, HarmonyOS, iOS).
Requires Python: >=3.12

<p align="center">
    <img src="logo.png" alt="pyecharts logo" width=200 />
</p>

# Introduction

XPDC (X-Platform Device Connector) is designed to bridge the gap between devices across multiple platforms (Android, HarmonyOS, iOS).

It allows users to operate devices on different platforms with the same set of code.

**Before using XPDC, you need to install the corresponding debug environment separately for each platform's device.**

Android is `adb`, HarmonyOS is `hdc`

# Installation

```shell
# Using uv
pip install uv
uv add xpdc

# Using pip
pip install xpdc
```

# Quick Start

## Install Dependencies

```python
from xpdc import connection, DeviceType

# Specify connect device type
conn = connection(DeviceType.ADB)
# conn = connection(DeviceType.HDC)
# iOS will support it in the future.

conn.cmd(['devices'])

device = conn.devices[0]
# You can also specify the device by its device id
# device = conn.device(device_id='device_id')

device.tap(500, 500)
device.type_text(text='lanbaoshen')
device.screenshot()
device.cmd(cmd=['shell', 'ls'])
device.shell(cmd=['ls'])

# For Android devices, additionally install ADBKeyboard.apk and enable it to support Chinese input.
device.install_and_set_adb_keyboard()
```
madrigal-jl 0.1.1
Python wrapper for Madrigal.jl - access the Madrigal database via Julia
Requires Python: >=3.9
Keywords: madrigal, julia, atmospheric-science, ionosphere

# Madrigal

Python wrapper for [Madrigal.jl](https://github.com/JuliaSpacePhysics/Madrigal.jl) - access the Madrigal upper atmospheric science database from Python.

## Installation

```bash
pip install madrigal-jl
```

The Julia package installs automatically on first use.

## Usage

```python
import madrigal

# Get all instruments
instruments = madrigal.get_instruments()

# Get experiments for Millstone Hill radar (kinst=30)
experiments = madrigal.get_experiments(30, "2020-01-01", "2020-01-31")

# Get files from an experiment
files = madrigal.get_experiment_files(experiments[0])

# Download a file
path = madrigal.download_file(files[0])
```

## Configuration

```python
madrigal.set_default_server("https://cedar.openmadrigal.org")
madrigal.set_default_user("Your Name", "email@example.com", "Institution")
```

## API

All functions from Madrigal.jl are available:

- `get_instruments(server=None, source=:cache)`
- `get_experiments(code, t0, t1, server=None, source=:cache)`
- `get_experiment_files(experiment, server=None, source=:cache)`
- `get_experiment_file_parameters(file, server=None)`
- `download_file(file, destination=None, format=:hdf5, ...)`
- `download_files(inst, kindat, t0, t1, ...)`
- `get_metadata(id, server=None)`

See the [Madrigal.jl documentation](https://juliaspacePhysics.github.io/Madrigal.jl) for full details.