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.97-cp314-cp314-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.14Windows x86-64

fond-0.0.97-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.97-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.97-cp314-cp314-macosx_15_0_arm64.whl (555.9 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

fond-0.0.97-cp313-cp313-win_amd64.whl (911.0 kB view details)

Uploaded CPython 3.13Windows x86-64

fond-0.0.97-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.97-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.97-cp313-cp313-macosx_15_0_arm64.whl (555.8 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

fond-0.0.97-cp312-cp312-win_amd64.whl (751.1 kB view details)

Uploaded CPython 3.12Windows x86-64

fond-0.0.97-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.97-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.97-cp312-cp312-macosx_15_0_arm64.whl (555.7 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: fond-0.0.97-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.97-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 acef459b92616ae0e662a4f8f9dd360dd972af03e6e72098cf8f45336adbd118
MD5 99225dc84b2cd2b7cafe4a345024d4ba
BLAKE2b-256 dc0b04cdb28d5d4a7c2443f1fdaa39c6734e1391e4b2df1b22f50eedcb767532

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.97-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.97-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fond-0.0.97-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e1e7a1445836f2524517c9b486206b3061b4f77fa20ee4bbce713a1c88425aca
MD5 ab390597fee9088f6217511874c34624
BLAKE2b-256 3b19a3628d35865b8d51618dcf4aa31eda0faebd8a16724e42667209a67146c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.97-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.97-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fond-0.0.97-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c1ffdb1167803866483e8f71f8f881ea4d035c634718aa8c23838e5b2ddc9fbe
MD5 1e4be57c1882721c15ac36011a097376
BLAKE2b-256 b3324ed809c374df4d8b7f7d7a967f4fa22ff82c5ec824a22887e251ee88d71b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.97-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.97-cp314-cp314-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for fond-0.0.97-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3280ce08bb984ea252952b81e5d697fca80d51b030cc5a3e016b8d6400da492b
MD5 c027446083f9c3c5e6c04d669f4424c4
BLAKE2b-256 02630ea644b1f00c3e343cb0afc937db781d48ea7ed25e5181b4c6f6535e2b83

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.97-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.97-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: fond-0.0.97-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 911.0 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.97-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 bd21ce2d67714887002aa92b57fd28db8a52e8ee997b154af700caa60b03b824
MD5 bc961e857548933108f9d64be0b3d390
BLAKE2b-256 a4a199e7348f9ccb2ad6898d5d2d09e987e7097dc8aca9f5a579efdbea77b9dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.97-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.97-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fond-0.0.97-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4af6e721ba1bcfe679e4070dcc1eb7cde19f5da63aaf7c14f2df1dbfaf90edb9
MD5 35ce9197ba0f5803c7b11732c12f2c45
BLAKE2b-256 99f360fe7e82b77f0663bbb23a51ed4209648f8497a070bf04fb4a5a683aeda3

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.97-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.97-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fond-0.0.97-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 41d9e087820c20442a9e07eda9fe7b5f200c7f79efeb5250a9346138e22d9925
MD5 693fb3f31829c4a962d8c9750f2dbb53
BLAKE2b-256 5effd1b1213e4528da5e92d75ed91bde77b061ac154ab1915670ae6a7260c4df

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.97-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.97-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for fond-0.0.97-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 be63fe1157f463a49ebc190bba7c9a3a5f68e3e340543071ccf7e6c7890d2115
MD5 88516bbf2decdc62613d3bca9766e64f
BLAKE2b-256 72dabfe932e9a37f14d66ce16b189616610500d080b1bb98261e1c034e48ca6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.97-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.97-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: fond-0.0.97-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 751.1 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.97-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8728f50b38daea0f82d8f70f8053bd594d34918feb811e37adafa01c70a86689
MD5 75d388c6f623967930539ff0535be11c
BLAKE2b-256 7c6a46c800bf62b0dc007f81302daae9d3db0b832628c05ac151fd550291672f

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.97-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.97-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fond-0.0.97-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7abbafed1d3bad769444a8216ac5c7ff689f8b1bdc59df0d894fea3f0c8dac5a
MD5 57c074fbcc2fbc0f5b34b213fb1d02ac
BLAKE2b-256 8abba842093191c320e23bfa28088b202e41bb6cba7a9248fcd92e5ba6dbe66a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.97-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.97-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fond-0.0.97-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bed24c3c3f0c1eb06021d534790bddb11bcef863134074e416d55b2b768f04a5
MD5 982c7dde16a3b19c406f581392924bfd
BLAKE2b-256 9e9b3f803013617d9fdd66900b0df2b9e54f31e34140d361ec2b33b1642aeac7

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.97-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.97-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for fond-0.0.97-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d5e040f7adffa7e558b2da024e060697857496d93fcf47178bcc11f10ae8610e
MD5 e406fedf05d5dfb7fc88b6d1922e7024
BLAKE2b-256 05a518fca10fca40e83afbcf12d291168542e02c7457a5d426b4c8d6e97f1350

See more details on using hashes here.

Provenance

The following attestation bundles were made for fond-0.0.97-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

0.0.99

12 files

0.0.98

12 files

This release

0.0.97 This release

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