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

Uploaded CPython 3.14Windows x86-64

fond-0.1.10-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.6 MB view details)

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

fond-0.1.10-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (3.6 MB view details)

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

fond-0.1.10-cp314-cp314-macosx_15_0_arm64.whl (591.8 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

fond-0.1.10-cp313-cp313-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.13Windows x86-64

fond-0.1.10-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.6 MB view details)

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

fond-0.1.10-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (3.6 MB view details)

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

fond-0.1.10-cp313-cp313-macosx_15_0_arm64.whl (591.6 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

fond-0.1.10-cp312-cp312-win_amd64.whl (848.6 kB view details)

Uploaded CPython 3.12Windows x86-64

fond-0.1.10-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.6 MB view details)

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

fond-0.1.10-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (3.6 MB view details)

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

fond-0.1.10-cp312-cp312-macosx_15_0_arm64.whl (591.5 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: fond-0.1.10-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 1.3 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.10-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 f47096ba1c8e0c5cb3016123389ee08ebda7ea749e8fa092266776f7787d5768
MD5 1c9c1c0baf22886c65f2b29eebc4d8b9
BLAKE2b-256 ca8d1cc30690b87e6bd716d043b7d71cde5da89c6ed994a9ac274007be18d3db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.10-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4caa0520f393fcd72cfeff5e1aeeef53c30dc8fc6a01678d5010a6b01232cd15
MD5 8e08c3777e47cd652bacdbde78b19b38
BLAKE2b-256 ee72f27180ac5ce0f720b045e839464bd4dff8a04f5b66ef62b27f3f2de05001

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.10-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fcad45237cafb190067ec5cbc4303d94ddc3170fc5a1b69fa28a748f94f2195c
MD5 aa586a1e4b83126f514813e9bc43b4bf
BLAKE2b-256 cd4ee0860f41e766d6933939652ecb107a05fa9cfca7a028946ef0abcee0b280

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.10-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6a3918efed6060ba3c0e898e5e9b300e3f75af40c4365fab93329e6dd5c83b33
MD5 750159edc99b5cf9c57bf9ea0960ebc8
BLAKE2b-256 4a4d5e54cd73c43fe51f0eae88057fa502cdae3c9f674045b167c8836d6fb79c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.10-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • 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.10-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 50e8afc08dcaf41217020873f6eb8d8da7f4ec4d4c8d3711ff47aab970575689
MD5 072c8b9cca17ca8722c6043396b99c23
BLAKE2b-256 20c54f18c3a70673bc98fabb3253c2a61ca28e458ad2519ee53e17690f117af5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.10-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c7f6382e1119a08c59511825cf7839dcd0bb742d6e45385de9252ed600bf974c
MD5 67424218b4e5788c63aba3c467bea947
BLAKE2b-256 e6f6995ad804874a9cc9018032e0b24ebe1b1714c7ee997d3fdc3206eb0b6566

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.10-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9038bee559c1c44e4a3234a97fc394e2e4a43efdeac3ac6542c9dabde9e91f36
MD5 ed8d473cb3772b649940537b0dec2cae
BLAKE2b-256 a32574c3c5dc01e673125168c172294571c4c5de87ab68350237ff34a16d48f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.10-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 74733fff8da3b2535a6ff36d7b2e646147a15970220d5f0d7cdc946e3b853be7
MD5 d69ca7cd3608933322020a60f7671566
BLAKE2b-256 d2dabad1d4f9dcd00c0969e6d33faa848b7334ca5b7dd954ef08e7f6038aa8c4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.10-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 848.6 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.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8b008c8d86a769cb3ca2adbc7e0ba2d49b80faf9683d3bbe8b0b767567e40ed5
MD5 0cb3ebe8a16896acceec34dde8cd4bd4
BLAKE2b-256 0df24d2d9a46c6a27dbee80e346fe8df658cc0551418d52b035dc24c3a89e317

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.10-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9ec3c27230cebe745290bc5f92eeeecff945b16ce714f7d59435cc4339c54738
MD5 22aa18dadb7941821b5ce51980e7d45d
BLAKE2b-256 a29244c662f1073d8a8d7d80f4ed762a39323213e95f64342455bfac5442f73c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.10-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c23dfc38e1bff0c0841f0ad6de542abb6a86a89f8f4a0efa4ed72c1541546208
MD5 20d91486a8fce80947114f9876f0fccc
BLAKE2b-256 3eca06db126d63ba3fe9d01f25cebb36f9a78875c755d58a4b3a2c6ac73591e3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.10-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9add48cc70c54a7c28e4457a9fbcbdb4e9bb0573bec083714b2874da07f59235
MD5 116657957410434f603bc06bede11b05
BLAKE2b-256 f79d143085e3a1aa235e6ba9dea908287dbb6d6d65e01c2e76c461cd834bbcc0

See more details on using hashes here.

Provenance

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

This release

0.1.10 This release

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

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