https://github.com/biocpy/assorthead
Assorted C++ headers, vendored into a Python package.
https://github.com/biocpy/assorthead
Last synced: 2 months ago
JSON representation
Assorted C++ headers, vendored into a Python package.
- Host: GitHub
- URL: https://github.com/biocpy/assorthead
- Owner: BiocPy
- License: mit
- Created: 2023-08-31T17:57:54.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-12-13T10:29:10.000Z (5 months ago)
- Last Synced: 2025-12-22T11:03:41.872Z (4 months ago)
- Language: Python
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Authors: AUTHORS.md
Awesome Lists containing this project
README
[](https://pypi.org/project/assorthead/)

# Assorted C++ headers
**assorthead** vendors an assortment of header-only C++ libraries for compilation of downstream packages.
This centralizes the acquisition and versioning of these libraries for a smoother development experience.
Downstream dependencies include
[**mattress**](https://github.com/tatami-inc/mattress),
[**knncolle**](https://github.com/knncolle/knncolle-py),
[**scranpy**](https://github.com/libscran/scranpy)
and [**singler**](https://github.com/SingleR-inc/singler),
to name a few.
Developers can install **assorthead** via the usual `pip` commands:
```shell
pip install assorthead
```
We add all headers to the compiler's search path using the `include_dirs` argument in the `setup()` command in our `setup.py`:
```python
setup(
use_scm_version={"version_scheme": "no-guess-dev"},
ext_modules=[
Extension(
"foo.core",
[
"src/lib/foo.cpp",
"src/lib/bar.cpp",
],
include_dirs=[
assorthead.includes(),
],
language="c++",
extra_compile_args=[
"-std=c++17",
],
)
],
)
```
See [`extern/manifest.csv`](extern/manifest.csv) for the list of vendored libraries and their versions.
Licenses are available in the directory returned by the `licenses()` function.