Skip to main content

Fond — Foundation for Cooking, Foundation for Life

Fond

Foundation for Cooking, Foundation for Life.

pypi version

Experimental: This package is under active development. APIs may change without notice.

C++ header-only utilities distributed via PyPI as a build-time dependency. Your end users never need to install it.

Installation

pip install fond

Usage

As a build dependency

[build-system]
requires = [
    "fond>=0.1.0",
    "build-cub",
    "pybind11",
]

Getting include paths

import fond

fond.get_include()  # Root include path
fond.get_libs()  # Binding source files

In your C++ code

#include <fond/collections/maps.hpp>
#include <fond/logger/logger.hpp>
#include <fond/colors/palette.hpp>
#include <fond/msgpack/packer.hpp>

Available Headers

Collections (fond/collections/)

Policy-based data structures with compile-time Ordered/Frozen variants:

  • Set — unordered, ordered, frozen, frozen-ordered (policy-based)
  • Map — same four variants via policies
  • List / Tuple — mutable list + frozen tuple
  • BloomFilter / BloomSet — probabilistic fast-negative-lookup set
  • LRUCache — simpoo version wrapping Map
  • RingBuffer — fixed-size circular buffer, compile-time sized
  • Trie — prefix tree for string lookup and autocomplete
  • BitFlag — type-safe enum-keyed bitset wrapper
  • Arena — bump allocator for bulk allocation
  • Pool — fixed-size typed object pool with freelist
  • SparseSet — O(1) add/remove/contains with dense iteration
  • DynStack — dynamic LIFO stack, doubles as a freelist

Collections Core (fond/collections/core/)

Composable low-level building blocks for high-performance data structures:

  • OpenMap — open-addressing hash map with tombstones, node pool, intrusive LRU list
  • IntrusiveList — doubly-linked list that doesn't own nodes
  • NodePool — pre-allocated typed pool for ListNode-derived types
  • HashUtils — probing, power-of-2 masking, hash mixing, load factor math

High-Performance (fond/collections/)

  • FastLRU — LRU cache built on OpenMap (zero allocations per get/put)

Colors (fond/colors/)

  • Color — RGBA color struct with conversions to ANSI, ImGui, uint32
  • Palette — named color constants (single source of truth)
  • ANSI — terminal color constants (constexpr, zero allocation)
  • ImGui — ImVec4/ImU32 color constants (generated from palette)

Logger (fond/logger/)

  • Compile-time configurable logging with function pointer dispatch
  • ANSI color support, file output with rotation, buffer mode, callbacks
  • std::format template overloads on all log methods

Info (fond/info/)

  • ProjectInfo — version, exit codes, project metadata with pybind11 bindings
  • VersionHelpers — version bump/parse utilities

MsgPack (fond/msgpack/)

  • Binary serialization with MSGPACK_DEFINE macro (powered by FOND_FOR_EACH)
  • Packer, Unpacker, Python packer/unpacker variants

Lua (fond/lua/)

  • Lua table serialization with LUA_DEFINE macro (powered by FOND_FOR_EACH)

Macros (fond/macros/)

  • FOND_FOR_EACH — preprocessor for-each over variadic args (generated, up to 100 args)

Tools

  • ByteBuffer — unified read/write byte buffer
  • Timer — scoped timer with auto unit selection, lap times, time_it() lambda
  • EpochTimestamp — configurable timestamp formatting
  • KeyStore — file-backed key/value store using MsgPack
  • Locking — mutex helpers (C and C++ variants)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fond-0.0.99-cp314-cp314-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.14Windows x86-64

fond-0.0.99-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

fond-0.0.99-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

fond-0.0.99-cp314-cp314-macosx_15_0_arm64.whl (556.1 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

fond-0.0.99-cp313-cp313-win_amd64.whl (911.2 kB view details)

Uploaded CPython 3.13Windows x86-64

fond-0.0.99-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

fond-0.0.99-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

fond-0.0.99-cp313-cp313-macosx_15_0_arm64.whl (555.9 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

fond-0.0.99-cp312-cp312-win_amd64.whl (751.3 kB view details)

Uploaded CPython 3.12Windows x86-64

fond-0.0.99-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

fond-0.0.99-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

fond-0.0.99-cp312-cp312-macosx_15_0_arm64.whl (555.9 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

File details

Details for the file fond-0.0.99-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: fond-0.0.99-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fond-0.0.99-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a429446ae76f1ee51da7879fe803bd3e3326eefdbe3172db8b445aab44f885a9
MD5 692bfa8cda152c750c8d98a4814040b9
BLAKE2b-256 dbbfe439b96ea14c2b331e366da7e89e6d5c7e24489fba94a36eddc3762adf6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.99-cp314-cp314-win_amd64.whl:

Publisher: build-wheels.yml on sicksubroutine/fond

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fond-0.0.99-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fond-0.0.99-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e2333f2ef8fd99aef67385147f144816d2b41c465f742e161a0b30a558133ddf
MD5 dc12c6d56590d50107f2051ac9074d28
BLAKE2b-256 af0461381a5a9bc2c5f77bf5077f576f8fab1babba2bad9647a1c8af82e60fc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.99-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on sicksubroutine/fond

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fond-0.0.99-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fond-0.0.99-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 04359fff9ba819eaff164e43329af63ebfc6d68ef761083aaa491a57eb6278bf
MD5 5c0c7b170ad042bbae3d104334b3c5af
BLAKE2b-256 e67eba0729d81243bfc1c313e9eb1b4d78032c9697c68fe605a55413f05719dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.99-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-wheels.yml on sicksubroutine/fond

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fond-0.0.99-cp314-cp314-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for fond-0.0.99-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bcac989b41e0151533727e982b6dfdde026f9541d6f40d2bbc3346d42b932f26
MD5 59443106206cb1ba793af0d02b4c18e7
BLAKE2b-256 c344c5ef838016732d01a7a53139f116b81bfe4546a785bfb53583e07eab36fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.99-cp314-cp314-macosx_15_0_arm64.whl:

Publisher: build-wheels.yml on sicksubroutine/fond

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fond-0.0.99-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: fond-0.0.99-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 911.2 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fond-0.0.99-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 776717aeaba66f66a7eaafdeff0e9a8410facd5f8eb4c6322cfdfc0659a88298
MD5 333498a0e9c3a9e8a04fc3f3eaa55cf3
BLAKE2b-256 19c702ba0bb2cbcdd83758440b95fab420a9b9ff9c0a502596801300959615d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.99-cp313-cp313-win_amd64.whl:

Publisher: build-wheels.yml on sicksubroutine/fond

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fond-0.0.99-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fond-0.0.99-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1181375e8152889f6fb72b1bc4132eb30c167365347d537db0909e6a553a6ac7
MD5 0c0b1429d1f631a27a9e40f301409c82
BLAKE2b-256 c3f55a393f4cd841c37eab3dfa7b89eaaf2a7740e4437a88f6a01ade5d3556fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.99-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on sicksubroutine/fond

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fond-0.0.99-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fond-0.0.99-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 50648b6171a898a25393ea6151d9d72c76d03c86ae9930d93f6e56aa8129060e
MD5 43ac0be8ce4845605297b8a1a83fd892
BLAKE2b-256 e33883249579b89b0285497006a7402e4033c9b389b34c2f5b6cb5650ff0c9a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.99-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-wheels.yml on sicksubroutine/fond

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fond-0.0.99-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for fond-0.0.99-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1c390c205d9285b04583b5fcf0bedd0fdcab75dd5939913f6d22b6f85c501980
MD5 4cab75d0b1290f4c0b7b0ed9efebd1fa
BLAKE2b-256 01379fa6a4b7e3517327ebf860c3d77e76850a2f3a47834fbac7035eae7deb80

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.99-cp313-cp313-macosx_15_0_arm64.whl:

Publisher: build-wheels.yml on sicksubroutine/fond

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fond-0.0.99-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: fond-0.0.99-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 751.3 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fond-0.0.99-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 06c0ce94841ff5dc6468f2de8c2117890053b8e5b0e678ff4fddac9e5c4cf658
MD5 4df5db4aac82b08e9c7331448ff3a6bf
BLAKE2b-256 6310a678b796522087d06f40c68115ac71f5611f1a157cb226a44afb60ef4bb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.99-cp312-cp312-win_amd64.whl:

Publisher: build-wheels.yml on sicksubroutine/fond

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fond-0.0.99-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fond-0.0.99-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cffb2646c54e724eff071967605bbc9d74b8d6129a23581d5de0599519fd1faf
MD5 a688578c27da73537a95e29e5b6a097c
BLAKE2b-256 0ae611eeaaf6fae9a8fe75dc72c72f6edbd25db91cd1b4e740d84bb0161f34bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.99-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on sicksubroutine/fond

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fond-0.0.99-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fond-0.0.99-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 caa03c59ac87116a062409a71960897dc6144ad477d739ccef8d36c72ecae549
MD5 d25adf21eefbd526d4280fc245087a35
BLAKE2b-256 55a53b4faa456eae0ff27028edf554a0e812f95c064289e1666c855d19943ab4

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.99-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-wheels.yml on sicksubroutine/fond

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fond-0.0.99-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for fond-0.0.99-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e6af2363052129725b7b6dbc9249ee6cf5654b67ec737d5ed996dc15b9b30160
MD5 9a7f8a26dcd87a498ce18cc8afce32c3
BLAKE2b-256 84d3185d707a0c94868f48b6246a0a460aebbbb194d762262d8284dd45bda39e

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.99-cp312-cp312-macosx_15_0_arm64.whl:

Publisher: build-wheels.yml on sicksubroutine/fond

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.17

3 files

0.1.15

12 files

0.1.10

12 files

0.1.5

12 files

0.1.4

12 files

0.1.3

12 files

0.1.2

12 files

0.1.1

12 files

0.1.0

12 files

This release

0.0.99 This release

12 files

0.0.98

12 files

0.0.97

12 files

0.0.95

9 files

0.0.94

9 files

0.0.93

9 files

0.0.92

9 files

0.0.91

9 files

0.0.90

9 files

0.0.89

9 files

0.0.88

9 files

0.0.87

9 files

0.0.86

9 files

0.0.85

9 files

0.0.84

9 files

0.0.83

9 files

0.0.82

9 files

0.0.81

9 files

0.0.76

9 files

0.0.75

9 files

0.0.73

12 files

0.0.66

9 files

0.0.65

9 files

0.0.61

9 files

0.0.59

9 files

0.0.50

9 files

0.0.49

9 files

0.0.48

9 files

0.0.47

9 files

0.0.46

9 files

0.0.45

9 files

0.0.42

9 files

0.0.41

9 files

0.0.40

9 files

0.0.39

9 files

0.0.38

9 files

0.0.37

9 files

0.0.36

9 files

0.0.35

9 files

0.0.34

9 files

0.0.33

9 files

0.0.31

9 files

0.0.26

9 files

0.0.22

9 files

0.0.21

9 files

0.0.17

3 files

0.0.16

3 files

0.0.15

2 files

0.0.14

2 files

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page