{"id":16567408,"url":"https://github.com/bruxisma/brujeria","last_synced_at":"2025-10-29T00:31:02.278Z","repository":{"id":55088584,"uuid":"122401809","full_name":"bruxisma/brujeria","owner":"bruxisma","description":"Black Magic to hook into setuptools and distutils for Extensions","archived":false,"fork":false,"pushed_at":"2021-04-02T09:53:22.000Z","size":278,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T20:25:53.385Z","etag":null,"topics":["build-system","importlib","ninja-build","occult","python","setuptools"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bruxisma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-21T22:27:36.000Z","updated_at":"2025-01-09T23:18:03.000Z","dependencies_parsed_at":"2022-08-14T11:40:20.513Z","dependency_job_id":null,"html_url":"https://github.com/bruxisma/brujeria","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruxisma%2Fbrujeria","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruxisma%2Fbrujeria/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruxisma%2Fbrujeria/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruxisma%2Fbrujeria/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bruxisma","download_url":"https://codeload.github.com/bruxisma/brujeria/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238743981,"owners_count":19523216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build-system","importlib","ninja-build","occult","python","setuptools"],"created_at":"2024-10-11T21:06:30.301Z","updated_at":"2025-10-29T00:31:01.923Z","avatar_url":"https://github.com/bruxisma.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/slurps-mad-rips/brujeria/blob/master/docs/logo.png?raw=true\"\u003e\n\u003c/p\u003e\n\n# Overview\n\nBrujería is a python library that simplifies development workflow for native\nextensions. It does this by providing import hooks that allow you to compile\nyour extensions on import (much like [cppimport]) so you can play around with\nthe API in a REPL. Lastly, it provides some hooks so that using these from\ntools like [poetry] are just a single line. It does all of this via CMake, but\nin a way to reduce the need to touch CMake in the first place.\n\nBrujería currently utilizes [IXM](https://ixm.one) to reduce the overhead of\nmaintaining a CMake project.\n\n## Features\n\nCurrently, Brujería provides the following:\n\n * [x] Automatic discovery of C and C++ extensions.\n * [x] Basic MinGW Support (CPython does not guarantee this)\n * [x] Works on Windows, macOS, and Linux\n * [x] The ability to mix C *and* C++ in a single extension (`distutils`/\n       `setuptools` do not currently permit this)\n * [ ] Basic [poetry] integration via preprovided `build` function.\n * [ ] `pyproject.toml` integration for configuration settings\n\n## Why the name?\n\nBrujería is a spanish word for \"witchcraft\". Given the strange, mystic, and\nsometimes arcane steps that distutils and setuptools must take when building\nnative extensions, it only makes sense that a library that takes advantage of\nvarious undocumented hooks might be labelled Black Magic.\n\n[build_ext]: https://git.io/vAz6X\n[cppimport]: https://github.com/tbenthompson/cppimport\n[poetry]: https://poetry.eustace.io\n[CMake]: https://cmake.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbruxisma%2Fbrujeria","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbruxisma%2Fbrujeria","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbruxisma%2Fbrujeria/lists"}