Fond
Foundation for Cooking, Foundation for Life.
Experimental: This package is under active development. APIs may change without notice.
A C++26 header-only library shipped on PyPI as a build-time dependency, the same way pybind11 is. Your build pulls the headers in; your end users get a prebuilt wheel and never install fond.
Requirements
- A C++26 compiler: Clang + libc++ (primary), or GCC 16 (which also enables C++26 reflection with
-freflection) - Python 3.12+ for the package itself
Optional integrations (pybind11, CTRE, glm, Lua/sol2, httplib, ...) are detected with __has_include and switch on only when present.
Usage
[build-system]
requires = ["fond>=0.3.0", "build-cub", "pybind11"]
import fond
fond.get_include() # -I path for the headers
#include <fond/collections/maps.hpp>
#include <fond/logger/fwd.hpp>
#include <fond/toml/reader.hpp>
What's Inside
- collections: policy-based Set/Map (ordered, frozen), Arena, Pool, BitFlag, Trie, LRU caches, ring buffers, sparse sets
- bytes / msgpack / toml / lua: endian-aware binary readers and writers, plus
*_DEFINEmacros for struct serialization - logger:
BasicLogger<Sinks...>with sinks composed at compile time - argparse: Python-style argument parsing
- config: ConfigManager with TOML and env-var overrides, KeyStore
- strings / cli: string helpers, UTF-8, fuzzy matching, a Rich-style console
- math: constexpr Vec/Mat4/quaternion, compile-time math, glm interop
- types: Bounded, UUID, Selfaboo/Identity mixins, reflection helpers
- time / concurrency / events / hashlib / files: timers and epochs, thread pool and queues, events and FSM, SHA-256/CRC64/SipHash, file walking and watching
For the header-by-header map, see config/PROJECT_STRUCTURE.md.
Metadata
Release files for fond 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fond-0.3.2-cp314-cp314-macosx_15_0_arm64.whl | CPython 3.14 | CPython 3.14 | macOS 15.0+ ARM64 | Details |
| fond-0.3.2-cp313-cp313-macosx_15_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 15.0+ ARM64 | Details |
| fond-0.3.2-cp312-cp312-macosx_15_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 15.0+ ARM64 | Details |
Total release size: 2.2 MB
Release files / fond-0.3.2-cp314-cp314-macosx_15_0_arm64.whl
| Download URL | fond-0.3.2-cp314-cp314-macosx_15_0_arm64.whl |
|---|---|
| Size | 734.9 kB |
| Tags | CPython 3.14 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
19036d0c1d471849430ef6915b9f3e7956225ff688f4915c00f252a3bdee043d
|
|
BLAKE2b-256 checksum How to use checksums |
04eaab13e639ea3ba05013c33ed3f399c6a95f18f31286a13e8a9f2166348397
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / fond-0.3.2-cp313-cp313-macosx_15_0_arm64.whl
| Download URL | fond-0.3.2-cp313-cp313-macosx_15_0_arm64.whl |
|---|---|
| Size | 734.9 kB |
| Tags | CPython 3.13 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
eec09f91c759a489e363a54aec0dc12e3e6debb448ae503953df7194bf8ed069
|
|
BLAKE2b-256 checksum How to use checksums |
70e47b67fbf1a7a42d67652fe9d2522c3b198c257ab4e710c7954fc9797db8e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / fond-0.3.2-cp312-cp312-macosx_15_0_arm64.whl
| Download URL | fond-0.3.2-cp312-cp312-macosx_15_0_arm64.whl |
|---|---|
| Size | 729.5 kB |
| Tags | CPython 3.12 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3f0a279ecf51159c355d5d97d448a6dd7f65c4dffffe3e38440af2c99a322602
|
|
BLAKE2b-256 checksum How to use checksums |
0e530095bbc570518c11846e45e30fc552934121edeb1e415a663d8c6e2ee860
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|