# ldqk/Masuit.Tools

全龄段友好的C#万能工具库，码数吐司库，包含一些常用的操作类，大都是静态类，加密解密，反射操作，权重随机筛选算法，分布式短id，表达式树，linq扩展，文件压缩，多线程下载，硬件信息，字符串扩展方法，日期时间扩展操作，中国农历，大文件拷贝，图像裁剪，验证码，断点续传，集合扩展、Excel导出等常用封装。诸多功能集一身，代码量不到2MB！

Repository: https://github.com/ldqk/Masuit.Tools
Canonical: https://ross.abutalabs.com/products/masuittools
Homepage: https://www.masuit.tools/
Language: C#
License: MIT
License Family: permissive
Topics: lambda, reflection, datetime, expression, linq, multithreading, encryption, excel-export, excel, net5, net6
Last push: 2026-08-20T08:51:22+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 92, longevity 100
- inputs: {"age_days": 3471, "days_push": 13, "days_rel": 57, "gap_med": 27.5, "n_releases_24m": 13}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6185, forks 1298 (observed 2026-08-28T04:09:38.827059+00:00)

## What it is
Masuit.Tools is a Swiss-army utility library for C#/.NET bundling dozens of commonly needed helpers: encryption, reflection, LINQ and expression-tree extensions, file compression, multithreaded/resumable downloads, hardware info, Chinese lunar calendar, image cropping, captcha generation, and Excel export. It targets .NET Framework 4.5 through .NET 8 via several NuGet packages while staying under 2MB of code.

## Use cases
- encrypt and decrypt strings in a .NET app
- export data to Excel from C#
- download large files with multithreading and resume support
- get hardware information in .NET
- convert dates to the Chinese lunar calendar
- crop images and generate captchas in C#
- extend LINQ and collections with helper methods
- generate distributed short IDs

## When to choose
- you want one small dependency covering many common .NET utility needs
- you need Chinese-lunar-calendar or China-specific helpers
- you want extension methods for strings, dates, and collections without writing them yourself

## When to avoid
- you prefer minimal, single-purpose libraries with small dependency footprints
- your organization cannot accept the project's labor-law-related usage clause
- you need only one narrow feature and don't want a kitchen-sink library

## Facets
- artifact type: library
- maturity: active
- function: cryptography, serialization, compression, image-processing, concurrency, date-time, math, developer-tools, file-system, logging
- domain: developer-tools, cross-platform, files
- platform: dotnet, cross-platform, windows
- tags: csharp, utility-library, extension-methods, linq-extensions, reflection, expression-trees, chinese-lunar-calendar, excel-export, multithreaded-download, captcha, resumable-download, nuget, automation, linux, macos

## Member repositories
- ldqk/Masuit.Tools (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:38.827059+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:47:23.270299+00:00, confidence not recorded.
  - readme: https://github.com/ldqk/Masuit.Tools (fetched 2026-08-28T04:09:38.827059+00:00, sha d01a2f1cc939)
  - homepage: https://www.masuit.tools/ (fetched 2026-08-29T08:43:55.764641+00:00, sha adbb875aafe7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
