Registry / http-networking / drms
library0.9.1pypypiunverified

A Python client for accessing HMI, AIA and MDI data from the Stanford JSOC DRMS (Data Record Management System). Version 0.9.0 requires Python >=3.10.

pip install drms
INSTALL
IMPORT
SIG · DRMS
D
drms
http-networkingpythonv0.9.1
Install
7.7s avg
Import
915ms
Disk
165MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.9.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.584s · 165.7MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 7.7s · import 0.514s · 158MB
165MB installed
● package 165MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
from drms import Client
from drms import Client

Creates a DRMS Client and queries the HMI series for 5 records' observation times.

import os from drms import Client c = Client() ts = c.query('hmi.v_45s', key='T_OBS', count=5) print(ts)
Debug
Known issues
breakingIn version 0.7.0, the `Client` class removed support for Python 3.7 and below. The `export` method now returns a `ExportRequest` object instead of a dict.
fix
Update your code to use the new `ExportRequest` API: call `.wait()` or `.download()` on the returned object.
affects: >=0.7.0
breakingThe `query` method changed its return type from a list of strings to a pandas DataFrame in version 0.6.0.
fix
If you relied on list indexing, use DataFrame column selection or convert with `.values.tolist()`.
affects: >=0.6.0
gotchaDRMS requires an internet connection and the JSOC server may be unreachable during maintenance. Always handle `ConnectionError` or `drms.DrmsOperationError`.
fix
Wrap calls in try/except blocks: try: ... except drms.DrmsOperationError as e: print(e)
affects: all
gotchaWhen accessing private data or making many queries, you must set the `jsoc_email` parameter in the Client constructor, otherwise the server may throttle or reject requests.
fix
Use `Client(email='your.email@example.com')` instead of the default anonymous client.
affects: all
Upgrade
Version history
0.9.1latest on PyPI · released Jun 10, 2026
Audit
Dependencies
numpyrequiredCore dependency for data array handling
pandasoptionalOptional but commonly used with DRMS for metadata
sunpyoptionalOptional integration for solar physics data
Agent activity
19 hits · last 30 days
node
18
OpenAI (training)
1
Resources