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

Uploaded CPython 3.14Windows x86-64

fond-0.1.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.7 MB view details)

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

fond-0.1.5-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.1.5-cp314-cp314-macosx_15_0_arm64.whl (588.2 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

fond-0.1.5-cp313-cp313-win_amd64.whl (943.6 kB view details)

Uploaded CPython 3.13Windows x86-64

fond-0.1.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.7 MB view details)

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

fond-0.1.5-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.1.5-cp313-cp313-macosx_15_0_arm64.whl (588.0 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

fond-0.1.5-cp312-cp312-win_amd64.whl (783.7 kB view details)

Uploaded CPython 3.12Windows x86-64

fond-0.1.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.7 MB view details)

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

fond-0.1.5-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.1.5-cp312-cp312-macosx_15_0_arm64.whl (587.9 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: fond-0.1.5-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.1.5-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 9f43b534fb2ded49a067fc517691244ae6b365f157e8a785504b609da4be5f1e
MD5 89532453c6fbeddc0c9a344796ea5c63
BLAKE2b-256 5bf64c1f1633b78f0825f888699a71e867ce4976eee0a4142b33b5d3a78f7302

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 16fa10e3c1b40c127724c76f98b05ccebd441b5e43e62b401ec41a3700b984e3
MD5 3230b229fa652c0d2ae397a6e20bd3e5
BLAKE2b-256 54e6ede1ad9c263530d0c6dc5ac02f6243ba59ce7643a80cb2aa459d624dfb51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.5-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c86389de1b2228ff4cdc84a53ac00031a402cbf650bea7931a91e55f32e75e44
MD5 a0bc2139bb874b3f2b5f78d1223ed1e6
BLAKE2b-256 1f29e2e71eb379d2f2e32092dafc8b10e8398d689b38757546d6b7cf67e0302e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.5-cp314-cp314-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 588.2 kB
  • Tags: CPython 3.14, macOS 15.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fond-0.1.5-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b0413171a8e9e1732369681835debbb48462471f83d9e768e10dbac375089c1b
MD5 5de88ce064f5bad83bb63372ed771362
BLAKE2b-256 d76af5433e6a99036165a23bcae7f74ef9700197222f63db7ce92075e3d46ba0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.5-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 943.6 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.1.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7a180e77acb373d2f30df30c70d903705ad1fb3957d2528fd2f476166632d35b
MD5 34281accf2bb0321dd2aa35814503554
BLAKE2b-256 bcfc6c981d083f5a0765a3af6cb739edef88569086c38b5c15670779c66bf00f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 12d6d1608fb3783c22b72115eb220660d4453926b9a6d463aacf9044c35399ad
MD5 3200b4ce80d83261d2d6bb1a6401bbde
BLAKE2b-256 bdb93cf4c907561260effa18061b14681c578b0cdf7e59e2ebb42b3388aa5131

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.5-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cac851d113d0f54b1f4a94873c34cf6c0438c2b400650b1f9c82d57216cb757c
MD5 931a76a3d939adbce066b91d52185027
BLAKE2b-256 98704048d8f7d58e264f742807236eb394576455039ba0ec421cec3a5d750b91

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.5-cp313-cp313-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 588.0 kB
  • Tags: CPython 3.13, macOS 15.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fond-0.1.5-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4ec98cfd5eaad661b561dab40c20973f2d83d93b5d78665f7a7c26c904ad43eb
MD5 48f634b4e918e14083672e73d403e2d6
BLAKE2b-256 68f224fa9eb27d0d01bfc2a37582f163f782ca0bb49dc435f3d1fd7eb1ff5f31

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.5-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 783.7 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.1.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ba6948df2380ad1235b7d25c89bb85874edcca70f40e40e1cbb7a033e82bf6fa
MD5 e0f8ff3b62a7a2313f3c4a005fd8faa6
BLAKE2b-256 251ce9bcec6650b14db005f21236f8afdf3bda5d65841acf2f45eed1a950e751

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2a76b221033a792badc60547d4f15078c92b5d5222dd0e5fff4269e16ba1a345
MD5 a4cc3c607036502d72567fbf77c8190d
BLAKE2b-256 3e22a64050af149bf4b822ab0d4440a6f72f2865f2d80826f1f79d8267e07c1d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.5-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f0c282c99c8e77c7888376a25eb4547f1f73c45a1d4fcd88172fa134ce0c4f1c
MD5 fe3d2522ef9a72906b37b6940f44e32e
BLAKE2b-256 3f1936f32cf2fabdae4b636c54ebf97375b3ef540a5e5188fa800d185c28a631

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.5-cp312-cp312-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 587.9 kB
  • Tags: CPython 3.12, macOS 15.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fond-0.1.5-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 741ba29196d3f03a39ef92376dae51f9c647372754ed69dcc55775614df7827f
MD5 5b839bbca0baee96697f4a48613734fc
BLAKE2b-256 a2389efadd1d7a5829ee964f772914b4a85c433ea592f2bbaf0f8de5804382ff

See more details on using hashes here.

Provenance

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

This release

0.1.5 This release

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

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