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

Uploaded CPython 3.14Windows x86-64

fond-0.1.0-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.1.0-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.0-cp314-cp314-macosx_15_0_arm64.whl (565.0 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

fond-0.1.0-cp313-cp313-win_amd64.whl (920.2 kB view details)

Uploaded CPython 3.13Windows x86-64

fond-0.1.0-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.1.0-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.0-cp313-cp313-macosx_15_0_arm64.whl (564.8 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

fond-0.1.0-cp312-cp312-win_amd64.whl (760.3 kB view details)

Uploaded CPython 3.12Windows x86-64

fond-0.1.0-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.1.0-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.0-cp312-cp312-macosx_15_0_arm64.whl (564.7 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: fond-0.1.0-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.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 445af26c2108b93e510d83ecbd9ea7d00e3285fd1d2139a9430c344eb3d7fda9
MD5 b34353c29fa5fcbb7c95bd427442dc99
BLAKE2b-256 3ca0099fed24a018f6a7229603ad474c83337afc0926e84fe0c6d542281202ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4ed432444a652a4fa61e400f7b800b2bee328a03c98753d84d4f2a91ada4dbdc
MD5 2c3384ed714a0b82adc807889fc92f98
BLAKE2b-256 db07ea7c19562260cda540c4b3837a213786cf320fcef97e4b98d198aaa0443e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f0a6bce3aa2e2e514833be7cfa228e0f66f1992099dc4e6ec99c4606a02663b8
MD5 70640c4878dc2f5ea510ecb70fbc9055
BLAKE2b-256 9a084ad499b159a8ae2793dfddab9d4188b67eab12fba90a54cc65f40b82f59f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.0-cp314-cp314-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 565.0 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.0-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0985d596d9a26e4edbcc1d03825c5b6fd077ba6eed6317ad3d9d2d4ab8620b49
MD5 c0c5798cf3acb82532964a9151bb2a70
BLAKE2b-256 c61e2a26a3f49ab109d240d70a68cca52e5d6e515159965bbcba14ebc1bc241b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 920.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.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3d54786d83e1fa4b3f24ab55e3898ea9682a7a25f8c948f80e82aaf42ea5da8e
MD5 f1cef8d645ce2ae29887df3cb913e66b
BLAKE2b-256 12ef661689fc4cc30f2fb7a9d91b842f625bd7ec85bafedbf8b0c6f241f9bff9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fe1afca212cfa858bf38d8e4566b7f3c772e55c1af3433d396e487d3fbbcd8d9
MD5 d0339783d7ee8984cff2d41b27db44f1
BLAKE2b-256 48480154b1de53af28714a4710e6aa029024c18673b9f9b057a075f0f83b3478

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 52ef52076ee5493a3dfd647ec89161c75e9ded128d29ca6b94bf079f450fe86b
MD5 3ec01529a2fe4b6f7cacc9187718e68c
BLAKE2b-256 ea05cc478ce5305774bfb2074ff291ffd2fabc24d81addfe90841546ea55ba9d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.0-cp313-cp313-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 564.8 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.0-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d1e2d352ac8de230ed2f8eacf4d4f08bd0d2dcf495ef91984796e32d1bf6846f
MD5 ecb40d7f195d24fcf7ae0fd4bf67f866
BLAKE2b-256 bc6e355689ef7ddee36cb507b708599a5c478dd9eb1c764a6b96ae74449545ee

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 760.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.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9c27c497a5bc4e993f45c24b76cc78649c13619d9167308fe05e3820536eac9e
MD5 02c6e1da386b5ee684fc9f27db9baa5f
BLAKE2b-256 c2cba911ff8bcd4910e17aff6f8a1c150128aff8ff59d5b5d2a6155170cb126e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4c6fac8d07e2db31aedd9f2883afa7e724e49ff3f41ce52acfaa250fd90db87f
MD5 f5dd2fad3f2282f6d8fc73256a96c285
BLAKE2b-256 3d9780345740643c738be5a96e711b8e941b7ff0341a1baab21532fd7903d8f6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 adc410f0b44f38e803fb66977a222b9f15103143f8ac2f9dc7b2725b646c3804
MD5 570abcd582b03ccf5f8fb4f754ec5ffc
BLAKE2b-256 73899f2baa4025f3b0979da6fa3c5d49bf9ddc26f3dd0d51fa4ba24848c8b883

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.0-cp312-cp312-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 564.7 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.0-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 636e50a9bb8e94fdc07f84da3db07315d2eae55d3f49bbaad710acfdee8d3b07
MD5 763d9f076d843b03451a3b8edf27a14f
BLAKE2b-256 276f3b10d0b8e34746666274f85a884dd7306553253455aa69daf63d3c946e06

See more details on using hashes here.

Provenance

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

This release

0.1.0 This release

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