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

Uploaded CPython 3.14Windows x86-64

fond-0.1.3-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.3-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.3-cp314-cp314-macosx_15_0_arm64.whl (578.1 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

fond-0.1.3-cp313-cp313-win_amd64.whl (933.4 kB view details)

Uploaded CPython 3.13Windows x86-64

fond-0.1.3-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.3-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.3-cp313-cp313-macosx_15_0_arm64.whl (577.9 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

fond-0.1.3-cp312-cp312-win_amd64.whl (773.5 kB view details)

Uploaded CPython 3.12Windows x86-64

fond-0.1.3-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.3-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.3-cp312-cp312-macosx_15_0_arm64.whl (577.9 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: fond-0.1.3-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.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a72fe33cc16e7ccba8f85a1590f950a0629ce642e7a37dc58c263fe73626f4a2
MD5 a0f65bfa08a68960c28441ed7e1f7863
BLAKE2b-256 95f1be92b86f3733eefabf9619127b734a8b2bc58b14f67a0f49d7fceff751ec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fd3ac9ba29bc8ea82f757231cade22a13e760c6eab366bc08c78e77d9569aa6d
MD5 f88264d0e9417a80c719750225c221c1
BLAKE2b-256 0c220f96c84d7c92f6d1c5422d9269769bc9683a35abf4b8d4d4efb3828edde0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.3-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1c28a55802aabb3d61dd9cd356f7853463e2651919f4cbfb504f012c2f1e58ed
MD5 56d8de604af3868deefdfe7a3f35705b
BLAKE2b-256 e4e235f6a8d0d26c48d1bad1ee7dcdbd8660ad527776514fbeeb3b2ed67dc1ee

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.3-cp314-cp314-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 578.1 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.3-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9728be8836729fb41f489779024f13be3834d730330646eb81afb68738baa819
MD5 9aa6a8461bc98421a0f39019125a1cc0
BLAKE2b-256 ca550da84a0fe7117568f1215f5a280d8381abbae7b23bd456e68abe4f0d1860

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.3-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 933.4 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.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ba1b1953cb82256aff67d2fdd3bd51dad02fccde913f30e17f8065e2c51212b5
MD5 4378e28b883d8d38cc01f4042d04873c
BLAKE2b-256 527baf03e03c90a57f80c5f8cba98f1eb001ae91c828c9a57f7be84f25e44b0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3bf65177bc39824de539e4f8524312a6f2ab519f0514cbd2e33b0103d107cb6c
MD5 054631a3110399f7a485295023947a8c
BLAKE2b-256 5e64969f5b9eeaf32a7d64e215cea5e68b3b8920eaad6aa3d4ee3a0a563f3a3c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.3-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 573d2c757d0d803a3daa4ac5750b315f261e602a0d688eb9313a8cfb77ac0458
MD5 d3576f2964ffc6851cd1d96a0a06b5c0
BLAKE2b-256 84b1e043279112cb58cd0d851ffa4a7440fb4dc127e7eaf1f0afb8993d520771

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.3-cp313-cp313-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 577.9 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.3-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7a87760291170a2ae38fc8d50b2a0b2c73e99fa48553c68592a557049081c5df
MD5 5b88e7387375aacb8dda60f913b103e8
BLAKE2b-256 1ec9e72adaea7147d615668d045c5166da4cf8ada0ea0a4d8966338ac8fda042

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.3-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 773.5 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.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f0a84b51dc19d637e6d63d08cb655eb2885298b3fde522196e572cc54da657e4
MD5 49aa9dec1504ec93a7bd0ab43d1c739c
BLAKE2b-256 d6b3454560317face681a98b936c1a98364d88da1b39168ba45c603c1376a32b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d5abedbbe599ef0c10f58dee85df9531a5f72ad9007c3a8e59f5354b399f6505
MD5 f1f341bd5345f7e3475f19289fa35502
BLAKE2b-256 588f458636394c3ddf3976de02d9826635dbeb584b29ddfb49d20854eaf12880

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fond-0.1.3-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 507089a64b88971c3d4ebace5734c8e6bbd1b6a5fe1168f90cd0da3fec592adc
MD5 a3ad95601d14108c9965db85771bee16
BLAKE2b-256 9182bd79cbf1020915e31698c0baa0bf00028b8cd248a5e502a81bf53fe85f10

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fond-0.1.3-cp312-cp312-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 577.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.3-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7133fae3a9533c59e9a38954210843aa675ae8eb9ebd0694108c1a8fad755b8c
MD5 2bcfbe7b8dcc8ab1cf18925821270605
BLAKE2b-256 094cc66a9427f2a4ae00ec5c9369570a8d20e8b50872e89c3b660b3cb4fc09be

See more details on using hashes here.

Provenance

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

This release

0.1.3 This release

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