kache alternatives and similar libraries
Based on the "Misc" category.
Alternatively, view kache 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. -
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 -
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 -
kformula
Mathematical expression engine written in Kotlin, running on JVM.
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 kache or a related project?
README
Kotlin Cache Abstraction
This library applies caching to Kotlin functions, thus reducing the count of function executions.
Documentation
You can read more about Kache on our Documentation.
Setup
Gradle / Groovy
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.themichailov:kache:0.5.0'
}
Gradle / Kotlin
repositories {
maven("https://jitpack.io")
}
dependencies {
implementation("com.themichailov:kache:0.5.0")
}
Maven
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.themichailov</groupId>
<artifactId>kache</artifactId>
<version>0.5.0</version>
</dependency>
Supported cache engines
- Caffeine
- Hazelcast
- Ehcache
Usage
import com.themichailov.kache.KacheConfig
import com.themichailov.kache.cacheable
import com.themichailov.kache.updateCache
import com.themichailov.kache.evictCache
data class User(val email: String, var age: Int)
private val users = mapOf<String, User>()
KacheConfig.config("User", CaffeineKache(Caffeine.newBuilder().build()))
fun fetchUser(email: String): User = cacheable(name = "User", key = email) {
users[email] ?: error("User not found!")
}
fun updateUser(email: String, age: Int) = updateCache(name = "User", key = email) {
val user = users[email] ?: error("User not found!")
user.age = age
}
fun importUsers(source: Path) = evictCache(name = "User", all = true) {
}
Contributing
Thank you for considering contributing to Kache! You can read the contribution guide [here](CONTRIBUTING.md).
Code of Conduct
In order to ensure that the Kache is welcoming to all, please review and abide by the [Code of Conduct](CODE_OF_CONDUCT.md).
License
Kache is open-sourced software licensed under the [MIT licensed](LICENSE).
*Note that all licence references and agreements mentioned in the kache README section above
are relevant to that project's source code only.