{"id":27681,"library":"dci-utils","title":"DCI Utilities","description":"A set of Python utilities for DCI (Distributed CI) jobs. Version 0.0.1148 is the latest; releases are frequent (hundreds of minor increments).","status":"active","version":"0.0.1148","language":"python","source_language":"en","source_url":"https://github.com/redhat-cip/dci-utils","tags":["dci","ci","utilities","distributed-ci"],"install":[{"cmd":"pip install dci-utils","lang":"bash","label":"Default install from PyPI"}],"dependencies":[{"reason":"Required for DCI API interaction.","package":"python-dciclient","optional":false}],"imports":[{"wrong":"from dci_utils import DCIUtilsError","symbol":"DCIUtilsError","correct":"from dci_utils import DCIUtilsError"}],"quickstart":{"code":"from dci_utils import get_job_info\nfrom dci_utils import DCIUtilsError\nimport os\n\n# Set environment variables or use defaults\nos.environ['DCI_LOGIN'] = os.environ.get('DCI_LOGIN', 'admin')\nos.environ['DCI_PASSWORD'] = os.environ.get('DCI_PASSWORD', '')\n\ntry:\n    info = get_job_info(job_id='12345')\n    print(info)\nexcept DCIUtilsError as e:\n    print(f'Error: {e}')\n","lang":"python","description":"Fetch job info using the DCI remote API."},"warnings":[{"fix":"Use Python 3.6+ and run 'pip install --upgrade dci-utils'.","message":"v0.0.1000+ dropped support for Python 2.7. All users must migrate to Python 3.6+.","severity":"breaking","affected_versions":">=0.0.1000"},{"fix":"Use 'from dci_utils import ...' – note the underscore.","message":"The top-level module is 'dci_utils' (with underscore), not 'dciutils' (no underscore). Many examples mistakenly use the wrong hyphenated form.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace calls to get_job_files() with list_job_files().","message":"The function 'get_job_files()' is deprecated in v0.0.1100+ and will be removed. Use 'list_job_files()' instead.","severity":"deprecated","affected_versions":">=0.0.1100"},{"fix":"Set DCI_LOGIN and DCI_PASSWORD before using any remote function.","message":"Environment variables DCI_LOGIN and DCI_PASSWORD are required for API calls. If not set, the library fails silently with a cryptic error.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.0.1148':14 'ci':11,26,30 'dci':1,9,25 'distribut':10,29 'distributed-ci':28 'frequent':20 'hundr':21 'increment':24 'job':12 'latest':17 'minor':23 'python':6 'releas':18 'set':4 'util':2,7,27 'version':13","created_at":"2026-05-09T05:51:31.982575+00:00","updated_at":"2026-05-09T05:51:31.982575+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmp6p9ranjm/venv/lib/python3.12/site-packages/dci_utils/__init__.py\", line 3, in <module>\n    from .cloudwatch import *\n  File \"/tmp/tmp6p9ranjm/venv/lib/python3.12/site-packages/dci_utils/cloudwatch.py\", line 10,"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":"https://ewegithub.sb.karmalab.net/EWE/dci-data-dci-utils","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/dci-utils/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","workflow"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}