awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

16 dépôts

Awesome GitHub RepositoriesOptional Value Types

Types that explicitly represent the presence or absence of a value, such as std::optional.

Distinct from Optional Containers: Focuses on the general type definition and semantics of optional values rather than specific container implementations or serializers.

Explore 16 awesome GitHub repositories matching data & databases · Optional Value Types. Refine with filters or upvote what's useful.

Awesome Optional Value Types GitHub Repositories

Trouvez les meilleurs dépôts grâce à l'IA.Nous recherchons les dépôts les plus pertinents grâce à l'IA.
  • federico-busato/modern-cpp-programmingAvatar de federico-busato

    federico-busato/Modern-CPP-Programming

    15,808Voir sur GitHub↗

    This project is a comprehensive educational resource and programming course covering C++ language semantics and features from C++03 through C++26. It provides structured tutorials and technical guides focused on modern C++ development. The material offers specialized instruction on template metaprogramming, including the use of type traits and compile-time computations. It features detailed guides on concurrency and parallelism for multi-core execution, as well as a reference for software design applying SOLID principles and RAII. Additionally, it covers build performance optimization to redu

    Provides instruction on using wrappers like std::optional to represent values that may or may not exist.

    HTMLc-plus-pluscode-qualitycompilers
    Voir sur GitHub↗15,808
  • gcanti/fp-tsAvatar de gcanti

    gcanti/fp-ts

    11,523Voir sur GitHub↗

    fp-ts is a TypeScript library that brings pure functional programming patterns to the language through algebraic data types, type class abstractions, and composable combinators. It provides foundational data types like Option for optional values, Either for typed error handling, and Task for lazy asynchronous computations, all designed to make invalid states unrepresentable and side effects explicit. The library is built on category theory concepts, offering type classes such as Functor, Applicative, Monad, Semigroup, and Monoid with lawful instances for common data structures. The library di

    Extracts the inner value from an Option, returning null when absent.

    TypeScriptalgebraic-data-typesfunctional-programmingtypescript
    Voir sur GitHub↗11,523
  • mobxjs/mobx-state-treeAvatar de mobxjs

    mobxjs/mobx-state-tree

    7,050Voir sur GitHub↗

    MobX State Tree is a structured, tree-based state management library for JavaScript applications that combines typed model definitions with reactive snapshots and patch-based change tracking. It provides a reactive state container with runtime and compile-time type safety, where application state is defined as a tree of typed models with collocated actions, computed views, and lifecycle hooks for predictable state mutations. The library is built around an action-centric mutation model that encapsulates all state changes within named functions that directly modify the tree, supported by genera

    Defines types with default values used when no value is provided during model instantiation.

    TypeScripthacktoberfestmobxmobx-state-tree
    Voir sur GitHub↗7,050
  • vandadnp/flutter-tips-and-tricksAvatar de vandadnp

    vandadnp/flutter-tips-and-tricks

    6,822Voir sur GitHub↗

    This repository is a collection of practical code snippets and implementation patterns for Flutter and Dart. It serves as a comprehensive guide and reference for asynchronous programming, state management patterns, and UI component design. The project provides advanced language reference material covering generics, reflection, factory constructors, and null-aware operators. It also includes specific utilities for manipulating Dart collections, such as helper methods for transforming and filtering maps, lists, and iterables. The coverage extends to high-level capabilities including asynchrono

    Provides patterns for supplying fallback values when dealing with null or optional variables.

    Dartdartflutterflutter-ui
    Voir sur GitHub↗6,822
  • amitshekhariitbhu/fast-android-networkingAvatar de amitshekhariitbhu

    amitshekhariitbhu/Fast-Android-Networking

    5,906Voir sur GitHub↗

    🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀

    Combines multiple independent network request results into a single merged output.

    Java
    Voir sur GitHub↗5,906
  • ruby-concurrency/concurrent-rubyAvatar de ruby-concurrency

    ruby-concurrency/concurrent-ruby

    5,830Voir sur GitHub↗

    Concurrent Ruby is a comprehensive concurrency toolkit for the Ruby language that provides thread-safe data structures, synchronization primitives, and asynchronous execution patterns. It implements core concurrency abstractions including an actor model framework where isolated actors communicate through asynchronous message passing, a future and promise system for composing non-blocking operations, and thread pool executors that manage reusable worker threads for concurrent task execution. The library distinguishes itself through a broad set of coordination mechanisms that go beyond basic th

    Implements Just and Nothing containers to explicitly represent computed value presence or absence.

    Ruby
    Voir sur GitHub↗5,830
  • cloudevents/specAvatar de cloudevents

    cloudevents/spec

    5,801Voir sur GitHub↗

    CloudEvents is an open specification for describing event data in a common format across cloud platforms and services. It defines a standard structure and set of metadata attributes for events, enabling interoperability across different systems so producers and consumers can exchange events without custom translation. The specification provides a protocol-agnostic serialization framework that maps CloudEvents attributes and payloads to multiple serialization formats including JSON, Avro, and Protobuf, and defines transport bindings for mapping events onto protocols like HTTP, AMQP, Kafka, MQTT

    Defines how to mark optional CloudEvent fields as nullable in Avro using union types.

    Pythonserverlessspecification
    Voir sur GitHub↗5,801
  • biolab/orange3Avatar de biolab

    biolab/orange3

    5,635Voir sur GitHub↗

    Orange3 is a visual data mining platform that provides an interactive canvas for building data analysis workflows without writing code. At its core, it offers a widget-based visual programming environment where users connect configurable components to perform data preprocessing, machine learning model training, statistical evaluation, and interactive visualization. The platform is built on NumPy-backed data tables with domain descriptors that define variable names, types, and roles, and includes a lazy SQL query proxy for working with database tables without loading all data into memory. The

    Ships a widget that selects data instances with no undefined values, optionally restricting the check to specific columns.

    Python
    Voir sur GitHub↗5,635
  • simonlin1212/a-stock-dataAvatar de simonlin1212

    simonlin1212/a-stock-data

    5,603Voir sur GitHub↗

    Ce projet est une boîte à outils complète de données de marché et un système d'analyse financière spécifiquement conçu pour les actions A chinoises. Il sert de pipeline de données pour récupérer des cotations en temps réel, agréger les états financiers des entreprises et automatiser la recherche en actions. Le système se distingue par des moniteurs spécialisés pour les mouvements de capitaux institutionnels, incluant les flux de fonds Northbound, les soldes de trading sur marge et les transactions en gros blocs. Il dispose également d'un calculateur de Grecs d'options dédié pour les dérivés ETF et d'outils pour jauger le sentiment du marché via des classements de popularité de détail et des tags de concepts tendance. Les capacités s'étendent à l'analyse fondamentale des entreprises via l'extraction de bilans et d'annonces officielles des bourses. La boîte à outils couvre également l'identification des tendances du marché, le classement des performances sectorielles et l'agrégation de rapports de recherche institutionnels professionnels et de prévisions de bénéfices. Le système inclut des fonctionnalités de gestion du trafic telles que le throttling de requêtes et le jitter pour maintenir la stabilité lors des intégrations d'API.

    Fetches ETF option contracts and calculates Delta, Gamma, Theta, and Vega values.

    Voir sur GitHub↗5,603
  • typelevel/catsAvatar de typelevel

    typelevel/cats

    5,447Voir sur GitHub↗

    Cats est une bibliothèque de programmation fonctionnelle et de classes de types pour Scala, conçue pour implémenter des patterns algébriques et des abstractions fonctionnelles. Elle fournit un ensemble standardisé d'interfaces et une boîte à outils modulaire de wrappers et conteneurs fonctionnels pour permettre le polymorphisme ad-hoc et la programmation générique sur des types disparates. Le projet sert de standard d'abstraction fonctionnelle, offrant une suite de transformateurs de monades pour composer des contextes à effets imbriqués et gérer de multiples effets de bord computationnels au sein d'un pipeline unique. Il permet en outre la construction de langages dédiés (DSL) embarqués en représentant la logique du programme sous forme de structures de données interprétées séparément de leurs définitions. La bibliothèque couvre de larges domaines de capacités, incluant la manipulation de données algébriques pour combiner et réduire des valeurs, la gestion d'état typée, et la gestion fonctionnelle des erreurs pour formaliser l'accumulation et la récupération d'erreurs. Elle fournit également des outils pour la gestion de calculs à effets et l'extension des types de collection standard avec des capacités fonctionnelles. La bibliothèque inclut des mécanismes de validation des lois algébriques pour garantir que les instances de classes de types respectent les propriétés mathématiques.

    Provides mechanisms to merge multiple independent result containers while accumulating errors via semigroups.

    Scala
    Voir sur GitHub↗5,447
  • estree/estreeAvatar de estree

    estree/estree

    5,421Voir sur GitHub↗

    ESTree est un schéma formel et un ensemble d'interfaces d'objets utilisés pour représenter le code source JavaScript comme un arbre de syntaxe abstraite standardisé. Il sert de format d'arbre commun et de standard de parsing pour assurer l'interopérabilité entre différents parsers JavaScript et outils de transformation. La spécification fournit un moyen cohérent de modéliser les constructions du langage, incluant les déclarations, les expressions et les déclarations de modules. Elle inclut des représentations détaillées pour les fonctionnalités modernes du langage telles que les classes, les identifiants privés et la logique de court-circuit comme le nullish coalescing et l'optional chaining. Le projet couvre une large surface d'outillage linguistique, incluant la modélisation de systèmes de modules avec imports dynamiques et alias d'export, la gestion des littéraux entiers larges, et le support d'extensions de syntaxe expérimentales pour les propositions de langage au stade précoce. Il définit également comment mapper les nœuds de l'arbre aux coordonnées sources originales pour un suivi précis de la localisation. Ce modèle standardisé facilite l'analyse de code statique, la transformation automatisée de code source et l'interopérabilité générale des outils de compilation.

    Models member accesses and function calls that short-circuit when a reference is null or undefined.

    astestreejavascript
    Voir sur GitHub↗5,421
  • alexandru/scala-best-practicesAvatar de alexandru

    alexandru/scala-best-practices

    4,352Voir sur GitHub↗

    Ce projet est une collection de directives et de manuels curatés pour écrire du code propre, idiomatique et maintenable en Scala. Il sert de guide complet pour les standards de codage Scala, la conception de programmation fonctionnelle et l'architecture logicielle d'entreprise. Le dépôt fournit des stratégies spécifiques pour la gestion de la concurrence, incluant des modèles pour les acteurs, les futures et les pools de threads afin d'assurer la sécurité des threads. Il contient également un manuel d'optimisation des performances axé sur la réduction des allocations mémoire et la gestion de la pression du garbage collector pour améliorer l'efficacité au runtime. Les guides couvrent un large éventail de capacités, notamment l'architecture d'application, la gestion des erreurs typée et l'utilisation de structures de données immuables. Il aborde également l'assurance qualité logicielle via des conventions de nommage standardisées, une conception modulaire des traits et l'implémentation de la contre-pression (back-pressure) et de la signalisation de demande.

    Advocates for the use of optional value types to eliminate unsafe getters and null pointer exceptions.

    Voir sur GitHub↗4,352
  • dry-python/returnsAvatar de dry-python

    dry-python/returns

    4,310Voir sur GitHub↗

    Returns est une bibliothèque de programmation fonctionnelle pour Python qui fournit des conteneurs typés pour gérer l'état, la gestion d'erreurs et l'optionalité. Elle sert de bibliothèque de conteneurs monadiques et de framework de gestion d'erreurs typé, remplaçant les blocs try-catch traditionnels et les vérifications de nullité par des conteneurs Result et Optional pour traiter les exceptions comme des données. Le projet se distingue par son utilisation d'un plugin d'analyse statique Mypy spécialisé pour valider les pipelines fonctionnels et émuler des types d'ordre supérieur. Il fournit des mécanismes pour isoler les effets de bord via des conteneurs IO et offre un framework pour l'injection de dépendances typée qui diffère la fourniture des dépendances jusqu'à l'exécution finale d'un calcul. La bibliothèque couvre un large éventail de primitives fonctionnelles, incluant le currying, l'application partielle et la composition de pipelines de données déclaratifs. Elle prend en charge la gestion de workflow asynchrone en enveloppant les coroutines dans des conteneurs pour enchaîner des opérations non bloquantes et inclut des utilitaires pour la gestion du cycle de vie des ressources et la vérification des lois algébriques pour les conteneurs personnalisés.

    Provides operations to unwrap values from side-effect or optional containers for compatibility with imperative APIs.

    Python
    Voir sur GitHub↗4,310
  • ts-essentials/ts-essentialsAvatar de ts-essentials

    ts-essentials/ts-essentials

    4,068Voir sur GitHub↗

    ts-essentials is a comprehensive toolkit of utility types and libraries for TypeScript, providing advanced primitives for recursive structural transformations, runtime assertions, and type guards. It serves as a utility library for performing complex type-level programming to ensure stronger type safety and reduce boilerplate. The project distinguishes itself through a specialized set of tools for deep object manipulation, such as recursively applying read-only or optional modifiers across nested hierarchies. It also provides a dedicated set of strict type constraints to ensure data structure

    Identifies all optional properties within an object type and creates a union of those keys.

    TypeScriptessentialstoolboxtype-level-programming
    Voir sur GitHub↗4,068
  • johnsundell/swifttipsAvatar de JohnSundell

    JohnSundell/SwiftTips

    4,014Voir sur GitHub↗

    SwiftTips is a curated collection of guides, libraries, and design patterns focused on Swift language mastery, application architecture, and API design. It provides a technical resource for implementing advanced coding techniques and architectural best practices. The project emphasizes creating type-safe and conversational interfaces through strategic protocol composition and generics. It offers specialized patterns for building modular UI systems and managing complex view hierarchies, alongside comprehensive strategies for unit testing and dependency injection. The resource covers a broad s

    Executes a sequence of operations on optional values without nested conditional unwrapping.

    Voir sur GitHub↗4,014
  • foonathan/type_safeAvatar de foonathan

    foonathan/type_safe

    1,641Voir sur GitHub↗

    This library is a collection of zero-overhead C++ abstractions designed to replace primitive types with strict wrappers. By leveraging template metaprogramming, it enforces compile-time type safety and validates data integrity, ensuring that logic errors are caught during the build process rather than at runtime. The project distinguishes itself by providing a zero-cost abstraction layer that maps high-level type safety wrappers directly to machine instructions. It utilizes static type identity enforcement to treat logically distinct data as incompatible types, even when they share the same u

    Manages optional and variant values using memory-efficient containers and type-safe unions.

    C++c-plus-plustype-safety
    Voir sur GitHub↗1,641
  1. Home
  2. Data & Databases
  3. Null Value Representations
  4. Optional Containers
  5. Optional Value Types

Explorer les sous-tags

  • Associative Value Combinations1 sous-tagOperations for merging values of the same type using associative binary operations. **Distinct from Optional Value Combinations:** Covers general associative combinations (Semigroups) for any type, not just optional containers.
  • Comparison LogicOperations for determining the relative order of optional values based on defined priority or presence. **Distinct from Optional Value Types:** Focuses on the comparison and ordering of optional values, rather than the type definition of the container itself.
  • Defaulted Optional TypesTypes that provide a default value when no value is supplied during model creation. **Distinct from Optional Value Types:** Distinct from Optional Value Types: adds a default value fallback, not just presence/absence semantics.
  • Functor TransformationsApplying functions to the contents of an optional container without altering the container structure. **Distinct from Optional Value Types:** Focuses on transforming the wrapped value rather than the general type definition.
  • Nullable and Optional Conversions3 sous-tagsUtilities for converting between nullable types and explicit optional containers. **Distinct from Optional Value Types:** Focuses on the active conversion process between nulls and Options, whereas the parent focuses on the type definition.
  • Optional ChainingSequencing operations on optional types that short-circuit upon encountering an absent value. **Distinct from Optional Value Types:** Focuses on the sequential composition (chaining) of operations, not just the type definition.
  • Optional Collection SequencingTransformation of collections of optional values into a single optional collection. **Distinct from Optional Value Types:** Focuses on the sequencing operation (traversal) rather than the definition of the optional type itself.
  • Optional FallbacksMechanisms to provide a default value when an optional container is empty. **Distinct from Optional Value Types:** Specifically handles the recovery/fallback logic rather than the general type definition.
  • Optional Value Combinations2 sous-tagsMerging two optional values using an associative binary operation. **Distinct from Optional Value Types:** Distinct from Optional Value Types: focuses on the combination logic using semigroups rather than the type definition.
  • Optional Value Extractions2 sous-tagsOperations to retrieve the inner value of an optional type or a default value. **Distinct from Optional Value Types:** Focuses on extracting the value out of the container, not on the type definition itself.
  • Optional Value Filtering3 sous-tagsLogic that replaces an optional value with an empty container if it fails a predicate check. **Distinct from Optional Value Types:** Focuses on the filtering operation rather than the general optional type.
  • Optional Value Transformations3 sous-tagsFunctions that apply transformations to the inner value of an optional container while preserving the empty state. **Distinct from Optional Value Types:** Focuses on the transformation logic (mapping) rather than the general type definition.
  • Presence PredicatesFunctions to test the presence of a value or validate it against a predicate within an optional container. **Distinct from Optional Value Types:** Specializes Optional Value Types by focusing on the act of testing and predicate checking.