https://github.com/holgerbrandl/kutils
A random collection of kotlin utilities
https://github.com/holgerbrandl/kutils
bioinformatics fasta fastq kotlin kotlin-utilities kscript mpi-cbg
Last synced: 8 months ago
JSON representation
A random collection of kotlin utilities
- Host: GitHub
- URL: https://github.com/holgerbrandl/kutils
- Owner: holgerbrandl
- License: mit
- Created: 2016-02-25T20:04:02.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-05-24T14:49:16.000Z (almost 3 years ago)
- Last Synced: 2024-04-24T03:15:57.065Z (almost 2 years ago)
- Topics: bioinformatics, fasta, fastq, kotlin, kotlin-utilities, kscript, mpi-cbg
- Language: Kotlin
- Size: 200 KB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kutils - A collection of kotlin utilities
[  ](https://mvnrepository.com/artifact/com.github.holgerbrandl/kutils) [](https://github.com/holgerbrandl/kutils/actions?query=workflow%3Abuild)
## Installation
To use the library, simply add
```
implementation 'com.github.holgerbrandl:kutils:1.0'
```
as dependency in your gradle-file.
## What's included?
* [Parallel collections](src/main/kotlin/de/mpicbg/scicomp/kutils/ParCollections.kt) API
```kotlin
listOf(1, 2, 3).parmap(numThreads = 4) { it + 5 }
```
* Bash integration [utilities](src/main/kotlin/de/mpicbg/scicomp/kutils/Bash.kt)
```kotlin
evalBash("echo errtest", showOutput = true, wd = File(".."))
```
* Utils to capture and supress output
```
```
## Questions & Comments
Feel welcome to flood the issue tracker with requests.
## See also
* https://github.com/holgerbrandl/kscript-support-api