{"id":23138,"library":"ozi","title":"OZI - Package Python projects with Meson","description":"OZI is a build system helper that wraps Meson to simplify packaging Python projects. It provides project scaffolding, dependency management, and automated builds for C extensions. Current version 2.1.31, requires Python 3.10-3.13. Active development with monthly releases.","status":"active","version":"2.1.31","language":"python","source_language":"en","source_url":"https://gitlab.com/ozi/ozi","tags":["build","meson","packaging","c-extension","scaffolding"],"install":[{"cmd":"pip install ozi","lang":"bash","label":"Latest stable"}],"dependencies":[{"reason":"Core build system","package":"meson","optional":false},{"reason":"Build backend for Meson","package":"ninja","optional":false}],"imports":[{"wrong":"from ozi import OZI","symbol":"get_version","correct":"from ozi import get_version"},{"wrong":"from ozi import OZI","symbol":"current_version","correct":"from ozi import current_version"},{"wrong":"from ozi import OZI","symbol":"version","correct":"from ozi import version"}],"quickstart":{"code":"from ozi import OZI\nimport os\n\n# Initialize OZI with a project path\nproj_path = os.path.expanduser('~/my_project')\nozi = OZI(proj_path)\n\n# Create a new project scaffold\nos.environ['OZI_PROJECT_NAME'] = 'example'\nozi.create_project()\n\nprint('Project created at', proj_path)","lang":"python","description":"Initialize OZI and create a new project scaffold. Requires OZI_PROJECT_NAME environment variable."},"warnings":[{"fix":"Migrate manually or use `ozi scaffold` to generate a new template.","message":"OZI v2 removes the `meson.build` template auto-generation; you must provide your own Meson configuration.","severity":"breaking","affected_versions":"<2.0 -> >=2.0"},{"fix":"Replace `ozi.dist(...)` with `Project(proj_path).build(...)`.","message":"The `OZI.dist()` method is deprecated since v2.1. Use `Project.build()` instead.","severity":"deprecated","affected_versions":"2.0 - 2.1.x"},{"fix":"Use Python 3.10-.13 for now.","message":"OZI does not support Python 3.14 yet despite declaring `<3.14`. The version constraint actually limits to 3.13 max.","severity":"gotcha","affected_versions":">=2.1"}],"env_vars":null,"search_vec":"'-3.13':39 '2.1.31':35 '3.10':38 'activ':40 'autom':28 'build':10,29,45 'c':31,49 'c-extens':48 'current':33 'depend':25 'develop':41 'extens':32,50 'helper':12 'manag':26 'meson':6,15,46 'month':43 'ozi':1,7 'packag':2,18,47 'project':4,20,23 'provid':22 'python':3,19,37 'releas':44 'requir':36 'scaffold':24,51 'simplifi':17 'system':11 'version':34 'wrap':14","created_at":"2026-05-01T06:02:37.691484+00:00","updated_at":"2026-05-01T06:02:37.691484+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"2.1.31","cli_name":"ozi","cli_version":"<ozi_spec-1.1.12>/ozi_spec/python.py:105: FutureWarning: Python 3.11.15 support is pending deprecation as of 2025-10-03.","type":"library","homepage":"https://oziproject.dev/","github":"https://github.com/OZI-Project/OZI","docs":null,"changelog":null,"pypi":"https://pypi.org/project/ozi/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","workflow"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}