{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/3"},{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"A Hatch build hook that integrates Cython compilation into the wheel build process, handling C extension compilation with support for NumPy, PyArrow, and other library includes.","skillfed_tags":["cython","build-backend","c-extensions"],"use_cases":["Building Python packages with Cython-compiled modules using Hatch as the build backend.","Integrating NumPy or PyArrow headers and libraries into Cython extensions without manual path configuration.","Configuring Cython compiler directives (boundscheck, nonecheck, language_level) declaratively in pyproject.toml.","Compiling performance-critical code sections to C while maintaining a pure-Python package structure.","Creating wheels with C extensions for multiple Python versions (3.8\u20133.13) via a single build configuration."],"what_it_does":"hatch-cython is a Hatch build backend plugin that automates Cython compilation during wheel builds. It acts as a bridge between Hatch's modern build system and Cython's C extension compilation, handling the configuration and invocation of the Cython compiler as part of the standard Python package build process.\n\nThe plugin supports integration with scientific libraries (NumPy, PyArrow, Pythran) by resolving their include paths and libraries at build time. It exposes Cython compiler directives, custom compilation arguments, and macro definitions through pyproject.toml or hatch.toml configuration, eliminating the need for custom setup.py scripts. The package requires Cython, hatchling, setuptools, and typing-extensions as runtime dependencies.","worth_installing":"Yes, if you are building Cython extensions with Hatch. The plugin is actively maintained, has low install friction, and eliminates boilerplate setup.py code. It is not needed if you are not using Cython or are using a different build backend. Be aware that build-time dependencies (Cython, setuptools, and any library includes) must be explicitly listed in build-system.requires."},"id":"hatch-cython","links":{"html":"https://skillfed.io/packages/hatch-cython","md":"https://skillfed.io/packages/hatch-cython.md","pypi":"https://pypi.org/project/hatch-cython/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-12-18","license_spdx":"MIT","license_treatment":"permissive","name":"hatch-cython","python_support":"supports_current","summary":"Cython build hooks for hatch"},"popularity":{"monthly_downloads":198359,"position":9734,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.0"}
