awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索Open-source alternativesSelf-hosted software博客网站地图
项目关于How we rank媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
awesome-repositories.com博客
分类

35 个仓库

Awesome GitHub RepositoriesData Type Casting

Conversion of column data types with validation and error handling.

Distinguishing note: Focuses on explicit type conversion rather than type inspection.

Explore 35 awesome GitHub repositories matching data & databases · Data Type Casting. Refine with filters or upvote what's useful.

Awesome Data Type Casting GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • pola-rs/polarspola-rs 的头像

    pola-rs/polars

    38,855在 GitHub 上查看↗

    Polars is a high-performance columnar data processing library designed for efficient analytical workflows. It functions as a structured data library that organizes information into typed columns, utilizing the Apache Arrow memory format to enable zero-copy data sharing and cache-friendly, vectorized operations. The engine is built to handle large-scale tabular datasets, providing both local and distributed analytical runtimes that scale from single-machine environments to multi-node clusters. The project distinguishes itself through a sophisticated lazy query engine that constructs abstract e

    Converts the data type of a column to a new format with strict error handling.

    Rustarrowdataframedataframe-library
    在 GitHub 上查看↗38,855
  • jquense/yupjquense 的头像

    jquense/yup

    23,673在 GitHub 上查看↗

    Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as an object schema validator and a data coercion engine, allowing developers to transform raw input values into desired types before performing validation checks. The library is distinguished by its support for dynamic schema validation, where rules can be adjusted at runtime based on sibling field values or external context. It also enables recursive data structuring for polymorphic fields and provides a system for extracting static TypeScript interfaces from runtime schema def

    Transforms input data through a sequence of coercion rules before performing correctness assertions.

    TypeScript
    在 GitHub 上查看↗23,673
  • hapijs/joihapijs 的头像

    hapijs/joi

    21,192在 GitHub 上查看↗

    Joi is a JavaScript data validation library used to define schemas that validate, cast, and sanitize data objects. It functions as an object schema validator and parser, ensuring that input data matches specific types and formats before it is processed by an application. The library features a conditional validation engine capable of dynamic schema enforcement, where validation logic and dependencies change based on the values of other keys within an object. It also serves as a data casting and sanitization tool, transforming input values into target types and removing sensitive keys from the

    Converts input values into required types, such as transforming numeric strings into numbers, before validation.

    JavaScripthapijavascriptschema
    在 GitHub 上查看↗21,192
  • sideway/joisideway 的头像

    sideway/joi

    21,192在 GitHub 上查看↗

    Joi is a JavaScript data validation library used to define schemas that ensure the structure and data types of objects remain consistent. It functions as a schema-based validator and object schema definition tool, preventing invalid information from entering an application by checking data against predefined constraints and rules. The library employs a chainable fluent interface and a constraint-based validation engine to build complex validation pipelines. It utilizes recursive tree traversal to validate nested data structures and a type-coercion pipeline to transform input values into the t

    Transforms input values into target schema types via a coercion pipeline before applying validation rules.

    JavaScript
    在 GitHub 上查看↗21,192
  • crystal-lang/crystalcrystal-lang 的头像

    crystal-lang/crystal

    20,299在 GitHub 上查看↗

    Crystal is a statically typed, compiled programming language designed for high performance and memory safety. It leverages an LLVM-based compiler to translate source code into optimized machine-executable binaries, while its type-inference-based static analysis enforces strict safety rules during the build process. The language distinguishes itself through a fiber-based concurrent runtime that manages lightweight execution units for asynchronous input and output without blocking the main process. It also features a powerful compile-time macro system that allows for the inspection and transfor

    Attempts to cast an object to a specific type and returns nil instead of raising an error if the conversion is not possible.

    Crystalcompilercrystalcrystal-language
    在 GitHub 上查看↗20,299
  • mysqljs/mysqlmysqljs 的头像

    mysqljs/mysql

    18,623在 GitHub 上查看↗

    This project is a MySQL database driver and client for Node.js. It provides a JavaScript implementation of the MySQL protocol to facilitate connecting to, querying, and managing data within MySQL databases. The driver includes a connection pool manager to maintain a cache of reusable database connections, reducing the overhead of frequent network handshakes. It also supports row-by-row result streaming to process large datasets without loading entire result sets into memory. Core capabilities cover SQL query execution, the management of database transactions, and the coordination of multiple

    Provides a configurable transformation layer to map MySQL binary data types to JavaScript objects.

    JavaScriptjavascriptmysqlnodejs
    在 GitHub 上查看↗18,623
  • trekhleb/learn-pythontrekhleb 的头像

    trekhleb/learn-python

    18,058在 GitHub 上查看↗

    This project is an educational resource designed for learning the Python programming language. It serves as a tutorial repository and programming guide, providing a collection of annotated scripts, code examples, and cheatsheets to help users master syntax and core fundamentals. The resource focuses on moving from basic language syntax to advanced implementation, with a particular emphasis on object-oriented programming, the use of the Python standard library, and scripting automation for business workflows. The content covers a broad range of programming capabilities, including control flow

    Provides examples of changing values between different data types using constructor functions.

    Pythonlearninglearning-by-doinglearning-python
    在 GitHub 上查看↗18,058
  • nim-lang/nimnim-lang 的头像

    nim-lang/Nim

    18,071在 GitHub 上查看↗

    Nim is a statically typed, compiled systems programming language designed for high performance and cross-platform development. It translates high-level source code into C, C++, or JavaScript, allowing developers to produce efficient native binaries or web-compatible scripts from a single codebase. The language emphasizes a clean, indentation-based syntax that simplifies code hierarchy while maintaining the power of a full-featured systems language. What distinguishes Nim is its robust metaprogramming framework, which allows developers to inspect, modify, and generate code structures during th

    Transforms values between compatible types with validation and error handling.

    Nimcompilerefficienthacktoberfest
    在 GitHub 上查看↗18,071
  • prestodb/prestoprestodb 的头像

    prestodb/presto

    16,711在 GitHub 上查看↗

    Presto is a distributed SQL query engine designed for high-performance analytical processing across heterogeneous data sources. It functions as a data federation platform and massively parallel processing engine, allowing users to execute interactive queries against diverse storage systems without requiring data migration. By mapping remote metadata and structures to a unified relational namespace, it enables seamless cross-platform analysis through a standard SQL interface. The engine distinguishes itself through a pluggable connector architecture and a shared-nothing distributed processing

    Transforms values between different data types explicitly with support for null-handling on conversion failure.

    Javabig-datadatahadoop
    在 GitHub 上查看↗16,711
  • tidwall/gjsontidwall 的头像

    tidwall/gjson

    15,521在 GitHub 上查看↗

    gjson is a Go JSON parser designed for schema-less reading and value extraction. It allows for the retrieval of specific data from JSON documents using dot-notation paths without requiring the definition of predefined Go structs. The library provides tools for path-based querying, including the use of wildcards and index-based queries to locate data within objects and arrays. It also functions as a JSON lines processor, treating multi-line documents as arrays to iterate and query individual entries. Additional capabilities include converting JSON values into native Go types such as strings,

    Converts raw JSON bytes into native Go types only when explicitly requested by the user.

    Go
    在 GitHub 上查看↗15,521
  • mikefarah/yqmikefarah 的头像

    mikefarah/yq

    14,913在 GitHub 上查看↗

    This tool is a command-line processor designed for querying, updating, and transforming structured data files. It functions as a versatile engine for manipulating YAML, JSON, TOML, and XML documents, allowing users to perform complex operations directly from the terminal. By utilizing a path-based expression language, it enables precise navigation and modification of data structures within configuration files and infrastructure-as-code workflows. What distinguishes this tool is its ability to perform in-place document mutations while preserving original formatting, comments, and metadata. It

    Forces specific data types for input values to override automatic detection.

    Gobashclicsv
    在 GitHub 上查看↗14,913
  • epoberezkin/ajvepoberezkin 的头像

    epoberezkin/ajv

    14,748在 GitHub 上查看↗

    Ajv is a JSON Schema validator and schema compilation engine used to verify that JavaScript objects conform to specific JSON Schema definitions. It functions as a data coercer and localization tool, allowing for the application of default values and the translation of validation error messages into different languages. The project converts declarative JSON Schema definitions into optimized JavaScript functions to increase validation speed. It supports the extension of validation logic through custom keywords and the generation of standalone validation code that executes without external depen

    Casts data values into required types based on schema definitions during the validation process.

    TypeScript
    在 GitHub 上查看↗14,748
  • dbt-labs/dbt-coredbt-labs 的头像

    dbt-labs/dbt-core

    13,051在 GitHub 上查看↗

    dbt-core is a command-line framework for transforming data within a warehouse using modular SQL and version control. It functions as a data transformation engine that enables users to define data structures and business logic through declarative configuration files, which the system then compiles into executable code. By managing complex data dependencies through a directed acyclic graph, it ensures that transformation tasks execute in the correct order while maintaining a manifest-driven state to track lineage and execution history. The project distinguishes itself through an adapter-based d

    Specifies explicit data types for columns during the loading process to ensure data consistency.

    Rustanalyticsbusiness-intelligencedata-modeling
    在 GitHub 上查看↗13,051
  • alexeymezenin/laravel-best-practicesalexeymezenin 的头像

    alexeymezenin/laravel-best-practices

    12,299在 GitHub 上查看↗

    This project is a comprehensive guide to architectural standards and coding patterns for developing maintainable applications within the Laravel framework. It focuses on clean code standards, applying the single responsibility and DRY principles to ensure codebase predictability and consistency. The guide emphasizes decoupling components by moving business logic into service layers and shifting input validation into dedicated request classes to keep controllers lean. It advocates for the use of a service container and dependency injection to reduce class coupling and improve testability. The

    Uses model casting to automatically convert database timestamps into date objects for consistent manipulation.

    在 GitHub 上查看↗12,299
  • scikit-learn-contrib/imbalanced-learnscikit-learn-contrib 的头像

    scikit-learn-contrib/imbalanced-learn

    7,104在 GitHub 上查看↗

    imbalanced-learn is a dataset balancing framework and Python machine learning extension designed to resample training data and reduce the impact of class imbalance. It provides a toolkit of algorithms for adjusting class distributions to improve model performance on minority class prediction. As a scikit-learn resampling library, it extends the ecosystem with specialized tools for balancing datasets through over-sampling and under-sampling techniques. This allows for the correction of skewed class proportions to reduce model bias toward the majority class. The library implements the scikit-l

    Ensures input arrays are converted into consistent NumPy or Pandas formats before applying sampling algorithms.

    Python
    在 GitHub 上查看↗7,104
  • reactivex/rxkotlinReactiveX 的头像

    ReactiveX/RxKotlin

    7,041在 GitHub 上查看↗

    RxKotlin is a reactive programming library and asynchronous stream processor that provides Kotlin language extensions for composing event-based data streams. It serves as a set of Kotlin bindings for RxJava, allowing developers to transform, filter, and flatten sequences of data emitted over time. The library focuses on integrating RxJava patterns into Kotlin projects by applying language-specific conventions and idioms. It utilizes extension functions to simplify reactive programming patterns, reduce boilerplate, and optimize workflows within the reactive ecosystem. The toolkit covers a bro

    Uses language-level type constraints to filter and cast stream elements while maintaining compile-time type safety.

    Kotlinkotlinrxjava
    在 GitHub 上查看↗7,041
  • eto-ai/lanceeto-ai 的头像

    eto-ai/lance

    6,671在 GitHub 上查看↗

    Lance is a versioned columnar data format and storage engine designed as a multimodal AI lakehouse. It serves as a vector database storage engine and a cloud object store dataset manager, organizing images, video, audio, and embeddings into a unified format optimized for machine learning workflows. The project distinguishes itself by combining a columnar layout for structured data with a specialized blob store for large multimodal tensors. It implements a hybrid search engine that integrates vector similarity search, full-text search, and SQL analytics on a single dataset, supported by a stor

    Changes the data type of a specific column by rewriting only that column's data to disk.

    Rust
    在 GitHub 上查看↗6,671
  • hazelcast/hazelcasthazelcast 的头像

    hazelcast/hazelcast

    6,570在 GitHub 上查看↗

    Hazelcast is a distributed data platform that combines an in-memory data grid with a stream processing engine to support real-time analytics and event-driven applications. It functions as a partitioned, distributed key-value store that replicates data across cluster nodes to provide low-latency access and high availability. The platform also serves as a distributed SQL query engine, allowing users to execute standard SQL statements against both in-memory datasets and external data sources. What distinguishes Hazelcast is its use of a distributed consensus subsystem to maintain strongly consis

    Converts values between different types using casting and formatting functions for strings, numbers, and timestamps.

    Javabig-datacachingdata-in-motion
    在 GitHub 上查看↗6,570
  • larastan/larastanlarastan 的头像

    larastan/larastan

    6,430在 GitHub 上查看↗

    Larastan is a static analysis extension and type inference engine for PHP designed to detect bugs and type errors in Laravel applications. It extends PHPStan to resolve framework-specific patterns and magic methods, providing a rule-based scanning engine to audit code quality without executing the application. The tool specializes in Eloquent analysis, verifying that model properties, casts, and relationships align with database schemas and migrations. It tracks types across Eloquent collections, custom builders, and model factories to ensure type safety during database operations and iterati

    Checks that the return type and array shape of model casts match the expected configuration.

    PHP
    在 GitHub 上查看↗6,430
  • amitshekhariitbhu/from-java-to-kotlinamitshekhariitbhu 的头像

    amitshekhariitbhu/from-java-to-kotlin

    6,324在 GitHub 上查看↗

    From Java To Kotlin - Your Cheat Sheet For Java To Kotlin

    Shows Kotlin's safe-cast operator combining type checking and smart casting.

    Javaandroidcheet-sheetjava
    在 GitHub 上查看↗6,324
上一个12下一个
  1. Home
  2. Data & Databases
  3. Data Type Casting

探索子标签

  • Custom Casting Rules2 个子标签User-defined rules for converting source data types to PostgreSQL types during migration. **Distinct from Data Type Casting:** Distinct from Data Type Casting: focuses on user-defined overrides rather than default type conversion.
  • LLM Type CastingsTransforms input data from one type to another while preserving its semantic meaning using a language model. **Distinct from Data Type Casting:** Distinct from Data Type Casting: uses LLM inference for semantic type conversion, not explicit column type conversion.
  • Load-Time Type Casting3 个子标签Specifications for explicit column data types during the data loading process. **Distinct from Data Type Casting:** Distinct from Data Type Casting: focuses on the specification of types during ingestion rather than general runtime conversion.
  • Migration Casting RulesUser-defined rules that match source types, column names, or default values to apply custom type transformations during database migration. **Distinct from Data Type Casting:** Distinct from Data Type Casting: focuses on rule-based matching and transformation during migration rather than general runtime type conversion.
  • Prompt Attribute CastingConverts input variables into specific types required by prompt components. **Distinct from Attribute Casting:** Distinct from database attribute casting; this occurs during the rendering of a prompt template.
  • Safe Casting2 个子标签Type conversion operations that return null instead of raising errors on failure. **Distinct from Data Type Casting:** Focuses on safe, non-raising type casting, distinct from general data type conversion or arithmetic-specific casting.