{"id":26899,"library":"dipex","title":"DIPEX - OS2mo Data Import and Export","description":"DIPEX (OS2mo Data Import and Export) is a tool for importing and exporting organizational data in the OS2mo platform. Version 5.62.1 requires Python >=3.11 and <4.0. Release cadence is irregular, with frequent updates.","status":"active","version":"5.62.1","language":"python","source_language":"en","source_url":"https://github.com/OS2mo/dipex","tags":["os2mo","data-import","data-export","organizational-data"],"install":[{"cmd":"pip install dipex","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"note":"Main class for data import/export","symbol":"DIPEX","correct":"from dipex import DIPEX"},{"note":"Common import function","symbol":"run_import","correct":"from dipex.importer import run_import"},{"note":"Common export function","symbol":"run_export","correct":"from dipex.exporter import run_export"}],"quickstart":{"code":"from dipex import DIPEX\n\nclient = DIPEX(base_url='https://example.com', api_key=os.environ.get('DIPEX_API_KEY', ''))\nresult = client.run_import('employee_data.csv')\nprint(result)","lang":"python","description":"Initialize DIPEX client and run an import."},"warnings":[{"fix":"Upgrade Python to 3.11 or later; use Python 3.10 if you must stay on dipex<5.","message":"DIPEX 5.x drops support for Python 3.10 and below. Ensure your environment uses Python >=3.11.","severity":"breaking","affected_versions":">=5.0.0"},{"fix":"Migrate to the new API: use `dipex.importer` and `dipex.exporter` instead.","message":"The legacy `dipex.legacy` module is deprecated and will be removed in version 6.0.","severity":"deprecated","affected_versions":">=5.0.0 <6.0"},{"fix":"Explicitly pass the API key: `DIPEX(api_key=os.getenv('DIPEX_API_KEY'))`.","message":"The `api_key` parameter must be passed as a string; environment variable fallback is not automatic.","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use `from dipex import DIPEX` if available; otherwise try `from dipex.client import DIPEX`.","cause":"The main class may not be exposed in the top-level __init__.py; import path changed in recent versions.","error":"ImportError: cannot import name 'DIPEX' from 'dipex'"},{"fix":"Use `api_key` only: `DIPEX(api_key=...)` or check documentation for other parameters.","cause":"In older versions, the client initialization used different parameter names.","error":"TypeError: DIPEX.__init__() got an unexpected keyword argument 'base_url'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}