breeze-framework alternatives and similar libraries
Based on the "Misc" category.
Alternatively, view breeze-framework alternatives based on common mentions on social networks and blogs.
-
jclasslib
jclasslib bytecode editor is a tool that visualizes all aspects of compiled Java class files and the contained bytecode. -
kotlin-logging
Lightweight Multiplatform logging framework for Kotlin. A convenient and performant logging facade. -
kotlinx-datetime
KotlinX multiplatform date/time library -
kotlin-telegram-bot
🤖 A wrapper for the Telegram Bot API written in Kotlin -
kotlinx.atomicfu
The idiomatic way to use atomic operations in Kotlin -
tinylog
tinylog is a lightweight logging framework for Java, Kotlin, Scala, and Android -
lingua
The most accurate natural language detection library for Java and the JVM, suitable for long and short text alike -
Kotlift
Kotlift is the first source-to-source language transpiler from Kotlin to Swift -
kotlinx.reflect.lite
Lightweight library allowing to introspect basic stuff about Kotlin symbols -
Humanizer.jvm
Humanizer.jvm meets all your jvm needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities. -
actions-on-google-kotlin
Unofficial Actions on Google SDK for Kotlin and Java -
klutter
A mix of random small libraries for Kotlin, the smallest reside here until big enough for their own repository. -
solr-undertow
Solr / SolrCloud running in high performance server - tiny, fast startup, simple to configure, easy deployment without an application server. -
kassava
This library provides some useful kotlin extension functions for implementing toString(), hashCode() and equals() without all of the boilerplate. -
SimpleDNN
SimpleDNN is a machine learning lightweight open-source library written in Kotlin designed to support relevant neural network architectures in natural language processing tasks -
units-of-measure
Type-safe dimensional analysis and unit conversion in Kotlin. -
kotlin-futures
A collections of extension functions to make the JVM Future, CompletableFuture, ListenableFuture API more functional and Kotlin like. -
TLSLibrary
Simple TlsLibrary written in Kotlin - Provides DSL for creating TLS connections -
scientist
A kotlin library for refactoring code. Port of GitHub's scientist. -
kasechange
🐫🐍🍢🅿 Multiplatform Kotlin library to convert strings between various case formats including Camel Case, Snake Case, Pascal Case and Kebab Case -
kjob
A lightweight coroutine based persistent job/cron scheduler written in Kotlin -
KDispatcher
Simple and light-weight event dispatcher for Kotlin -
PrimeCalendar
PrimeCalendar provides all of the java.util.Calendar functionalities for Persian, Hijri, and ... dates. It is also possible to convert dates to each other. -
kotlin-pluralizer
:sunny: Kotlin extension to pluralize and singularize strings -
aleksa
Aleksa is a small framework for writing Alexa Skills in Kotlin -
kformula
Mathematical expression engine written in Kotlin, running on JVM. -
kase-format
Multiplatform kotlin string case conversion and detection library.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of breeze-framework or a related project?
README
概述
[中文文档](README.md) | [English Document](README_en.md)
基于Kotlin的整合代码框架,为标准库和其他框架提供各种有用的扩展。
注意:
- 这个框架仍然有待完善,但是你现在就可以使用它的一些有用的功能。
- 这个框架是为Kotlin-JVM设计的,但是你自然可以在Java中使用它的一部分功能。
- 这个框架仍在更新中,未来将会提供更多的模块和功能。
模块
breeze-core
为Kotlin标准库补充功能和扩展,并且提供许多日常项目开发中经常用到的工具和扩展。例如:
- 额外的运算符重载方法。如
String.minus
、String.times
和String.div
。 - 额外的类型转换方法。如
String.toFile
、String.toLocalDateTime
和String.toIntRange
。 - 额外的字符串处理方法。如
String.quote
、String.escapeBy
、String.switchCaseBy
。 - 额外的集合操作方法。如
List.bind
、List.deepGet
、List.deepSet
和List.deepQuery
。 - 额外的元组操作方法。如
Tuple.map
、Tuple.toList
和Tuple.toRange
。 - 用于委托实现
equals
、hashCode
和toString
的工具方法。如equalsBy
、hashCodeBy
、toStringBy
和toStringByReference
。
breeze-dsl
提供简洁而灵活的领域特定语言的api,为常见的标记语言提供支持,便于生成对应的文本,并允许进行充分的配置。例如:
Xml
、Markdown
、Creole
等标记语言。Mermaid
、Flow
、Sequence
等绘图语言。- 其他一些特殊格式的文本。
breeze-functional
提供一些函数式编程中可能用到的扩展方法。支持0到11个参数的函数。例如:
- 用于柯里化/反柯里化当前函数的
curried
和uncurried
方法。 - 用于反转当前函数的参数的
reversed
方法。 - 用于绑定/解绑当前函数的参数的
tupled
和untupled
方法。 - 用于得到当前函数的偏函数的
partial
和partialLast
方法。
breeze-generator
[有待完善] 提供一些具有特定用途的生成器。例如:
- 用于生成各种格式的链接的
UrlGenerator
。 - 用于生成扩展Json Schema的
JsonSchemaGenerator
。
breeze-http
[有待完善] 提供简洁而直观的Http api,封装Java原生的Http api,并允许进行充分的配置。
注意:可能需要配合第三方序列化库如Gson
使用。
breeze-javafx
[有待完善] 为JavaFX补充功能和扩展。
breeze-linq
[有待完善] 提供简洁而直观的语言集成查询的api,允许以类似sql的方式,实现集合的查询操作。
注意:这个api本身不包含集合数据。
breeze-logger
[有待完善] 提供简单而独立的日志器的api,并允许进行充分的配置。例如:
- 包含了一般日志信息的
SimpleLogger
。 - 可以输出彩色的控制台文本的
ColorfulLogger
。
breeze-mapper
[有待完全实现] 提供简单而独立的映射器的api,用于进行数据的序列化与反序列化操作,并允许进行充分的配置。例如:
- 用于映射和反映射对象的
ObjectMapper
。 - 用于映射常见标记语言的
JsonMapper
、YamlMapper
、XmlMapper
和PropertiesMapper
。
breeze-reflect
为Java反射和Kotlin反射补充功能和扩展。例如:
- 直接得到类型、对象、属性、方法的名字的
nameOf
方法。 - 直接得到Java类型的
javaTypeOf
方法。 - 直接得到取值方法和赋值方法的
Class.getters
和Class.setters
属性。
breeze-serializer
提供简洁而统一的序列化器的api,用于进行数据的序列化和反序列化操作,并允许进行充分的配置。由第三方库委托实现,例如:
- 由
breeze-mapper
委托实现的BreezeJsonSerializer
、BreezeXmlSerializer
等。这是默认的实现,也是最简单的一种实现。 - 由
Kotlinx Serialization
委托实现的KotlinJsonSerializer
等。这是最推荐的一种实现。 - 由
Jackson
委托实现的JacksonJsonSerializer
、JacksonXmlSerializer
等。这是最全面的一种实现。 - 由
Gson
委托实现的GsonSerializer
。 - 由
FastJson
委托实现的FastJsonSerializer
。 - 另外还提供了一些便于进行序列化和反序列化的扩展方法。如
Any?.serialize
和String.deserialize
。
breeze-spring-boot
[有待完善] 为Spring Boot补充功能和扩展,并且提供额外的组件和自动配置。
breeze-time
为Java的时间api补充功能和扩展。
- 支持传统的时间api。包括
Date
、Calendar
等。 - 支持Java8的时间api。包括
LocalDate
、LocalDateTime
等。 - 为数字类型提供额外的属性,用于生成时间。如
1.seconds
、2.minutes
和3.years
。 - 为时长和时期提供额外的运算符重载方法。如
Duration.unaryMinus
和Period.times
。
参考
依赖 & 可选依赖
- Spring Boot
- Spring Cloud
- Kodein Framework
- Spek Framework
- Kotlinx Serialization
- charleskorn/kaml
- Jackson
- Gson
- FastJson
- MicroUtils/kotlin-logging
- pmwmedia/tinylog
- MiloszKrajewski/stateful4k
实现参考
- Awesome Kotlin
- Google Guava
- MehdiK/Humanizer.jvm
- kohesive/klutter
- hotchemi/khronos
- yole/kxdate
- cesarferreira/kotlin-pluralizer
- consoleau/kassava
- sandjelkovic/kxjtime
- hankdavidson/ktime
- vanshg/KrazyKotlin
- MarioAriasC/funKTionale
- KotlinTuples
- Json Pointer
- Json Path
用法
项目已发布到JCenter。
Maven
<dependency>
<groupId>com.windea.breezeframework</groupId>
<artifactId>${module}</artifactId>
<version>${version}</version>
</dependency>
Gradle
implementation "com.windea.breezeframework:$module:$version"
Gradle Kts
implementation("com.windea.breezeframework:$module:$version")
示例
参见:
- [ExampleTest.kt](breeze-core/src/test/kotlin/ExampleTest.kt)