Registry / crm-productivity / dxpy
library0.408.2pypypi✓ verified 84d ago

DNAnexus Platform API bindings for Python (dxpy). Current version 0.408.2, requires Python >=3.8. Used to interact with the DNAnexus platform for managing genomic data, workflows, and analyses. Actively maintained with frequent releases.

pip install dxpy
INSTALL
IMPORT
SIG · DXPY
D
dxpy
crm-productivitypythonv0.408.2
Install
4.5s avg
Import
416ms
Disk
37MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.408.2 · 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.428s · 38.4MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 4.5s · import 0.404s · 39MB
37MB installed
● package 37MB
Code
Verified usage

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

DXHTTPRequest
import dxpy
from dxpy import DXHTTPRequest
DXHTTPRequest is not in the public API; use dxpy.DXHTTPRequest() from the top-level import.
DXJob
import dxpy
from dxpy.exceptions import *
Many classes are re-exported from the top-level `dxpy` package. Prefer `dxpy.DXJob` over deeply nested imports.

Sets authentication and lists accessible projects.

import os import dxpy dxpy.set_security_context({ 'auth_token': os.environ.get('DX_AUTH_TOKEN', ''), 'project_id': os.environ.get('DX_PROJECT_ID', '') }) # List projects for p in dxpy.find_projects(): print(p.name)
dx --version
Debug
Known issues
breakingPython 2 support dropped in dxpy >=0.300. Upgrade your code to Python 3.8+.
fix
Use Python 3.8+ and update any deprecated API calls.
affects: >=0.300
gotchaDon't import individual submodules (e.g., `from dxpy import DXHTTPRequest`). Always use `import dxpy` and access attributes via `dxpy.`.
fix
Use `import dxpy` and call `dxpy.DXHTTPRequest()`.
affects: all
gotchaEnvironment vars `DX_AUTH_TOKEN` and `DX_PROJECT_ID` must be set or authentication will fail silently.
fix
Set environment variables or call `dxpy.set_security_context()` with explicit credentials.
affects: all
Errors
Common errors & fixes
ImportError: No module named dxpy
dxpy not installed or not in the current Python environment.
fix
Run `pip install dxpy` in the target environment.
dxpy.exceptions.DXAPIError: Authentication required
Auth token missing or expired.
fix
Set `DX_AUTH_TOKEN` environment variable or use `dxpy.set_security_context({'auth_token': '...'})`.
AttributeError: module 'dxpy' has no attribute 'DXJob'
Outdated dxpy version (<0.300) or incorrect import.
fix
Upgrade dxpy: `pip install --upgrade dxpy` and ensure you use `import dxpy`.
Upgrade
Version history
0.408.2latest on PyPI · released Apr 13, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
41 hits · last 30 days
node
36
OpenAI (training)
1
Resources
dxpy — pip install dxpy · libregistry