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.1
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.1-cp314-cp314-macosx_15_0_arm64.whl | CPython 3.14 | CPython 3.14 | macOS 15.0+ ARM64 | Details |
| fond-0.3.1-cp313-cp313-macosx_15_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 15.0+ ARM64 | Details |
| fond-0.3.1-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.1-cp314-cp314-macosx_15_0_arm64.whl
| Download URL | fond-0.3.1-cp314-cp314-macosx_15_0_arm64.whl |
|---|---|
| Size | 734.8 kB |
| Tags | CPython 3.14 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a6638ff3cf40995182b88d95f958930b9fbb6cc04f11e6ec38b42a1d2e4130a1
|
|
BLAKE2b-256 checksum How to use checksums |
4bfe102f44845c39658285bf7da5121ff2c022e0dd95320ef0ca23d0bae16987
|
| 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.1-cp313-cp313-macosx_15_0_arm64.whl
| Download URL | fond-0.3.1-cp313-cp313-macosx_15_0_arm64.whl |
|---|---|
| Size | 734.8 kB |
| Tags | CPython 3.13 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4960eb4148d615f317b3a1d4533f072e76b73734f1bd2e1554ffc22dd4a2bdee
|
|
BLAKE2b-256 checksum How to use checksums |
e00c02fa8a22147e5c855bf2084aa465a7c35efe311db37b0e60f837280e4646
|
| 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.1-cp312-cp312-macosx_15_0_arm64.whl
| Download URL | fond-0.3.1-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 |
991856dce08174a94cae505a05340d4274e1f160b270a69718f257c0aa40516c
|
|
BLAKE2b-256 checksum How to use checksums |
204df3f97e56ab2f93e93ab0a16b1ac319b14213855bec88c5bd7221340af13b
|
| 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}
|