Release notes#
🏷️ 0.5.0.1.post1.dev13 (2026-08-05)#
🐛 Bug Fixes#
pydantic is a data validation and settings management library for Python, based on type annotations. It allows you to define data models with type hints, and it automatically validates and parses input data according to those types. Instances of a parametrised model must use a parameterised type, e.g.
Resource[MyType], whereMyTypeis a concrete type that satisfies the constraints of the model. (#10)Ensure that
lcmreturns 0 when input is empty and fix stubs forlcmandgcdto return an integer. (#12)Fix
Lattice.__ge__method to correctly compare twoLatticeobjects. The previous implementation did not account for all cases, leading to incorrect comparisons. The new implementation ensures that the comparison is based on the underlying data structure and its properties, providing accurate results when using the greater than or equal to operator. (#13)
🏷️ 0.5.0.1 (2026-07-05)#
💥 Other Notes#
Update dependencies to the latest versions.
🏷️ 0.5.0.0 (2026-07-04)#
✨ Features#
Add an
IntegerSetclass able to efficiently represent subset of integers using either:a compact form if
array.arraycan be used;a list of integers.
The
FiniteSubSetuses nowIntegerSet.(#2)
Create one named tuple for clarifying code:
Neighbourhoodfor representing element neighbourhoods;
(#3)
Make changes to the function
_reduced_context_completion(). In-place enlarge the lattice with an iterable of elements. Implementation of a naive version of this algorithm. Should be optimized.Also makes changes to testing files and add
test_extend_idempotence(). Test of the idempotency property of the RᴇᴅᴜᴄᴇᴅCᴏɴᴛᴇxᴛCᴏᴍᴘʟᴇᴛɪᴏɴ algorithm. (#4)Give the possibility to create a finite subset using a sorted array of intervals of
int.Implement
FiniteUniversemethods:parts()singletons()
Implement
FiniteUniverseattributes:emptywhole.
Implement
FiniteSubSetmethods:from_intervals()intervals()subsets()supersets()
(#8)
💥 Other Notes#
Major overhaul of the GALACTIC core, separating it into several parts, including the kernel that makes up this package. (#7)