Multitool 0.1.8
Released under the Apache 2 License
CANDELBio utility library.
Installation
To install, add the following dependency to your project or build file:
[org.candelbio/multitool "0.1.8"]
Namespaces
org.candelbio.multitool.cljcore
Java-only stuff
Public variables and functions:
- base64-decode
- base64-encode
- cd
- content-files
- copy-paths
- dataset-fields
- date+
- date-format
- date-formatter
- directory-files
- download
- ensure-directory
- ensure-file
- error
- error-message
- expand-homedir
- file-delete-recursively
- file-delete-safe
- file-exists?
- file-lines
- file-lines-out
- file-seq-filtered
- git-log-info
- humanize-number
- invoke-private
- java-resource->string
- join-path
- list-dir-recursive
- local-file
- now
- open-url
- parse-boolean-or-nil
- parse-long-or-nil
- pdoseq
- pdoseq*
- pmap-keys
- pmap-values
- process-file-lines
- processors
- read-chars
- read-csv-maps
- read-csv-rows
- read-from-file
- read-tsv-maps
- read-tsv-rows
- reader
- schpit
- schppit
- sh-errchecked
- sh-str
- sh-template
- sleep
- split-path
- start-periodic-process!
- string-search-all
- substitute-file-lines
- temp-dir-path
- temp-file
- temp-file-path
- timing-fn
- warn
- write-csv-maps
- write-csv-rows
- write-tsv-maps
- write-tsv-rows
- writer
org.candelbio.multitool.core
Various generally useful utilities
Public variables and functions:
- *side-walk-context*
- <*
- <=*
- =*
- >*
- >=*
- add-inverse
- add-inverse-multiple
- all-keys
- bag=
- bstr
- clean-map
- clean-maps
- clean-seq
- clean-walk
- coerce-boolean
- coerce-numeric
- coerce-numeric-hard
- collecting
- collecting-merge
- comma-list
- concatv
- contains-chars?
- de-ns
- def-lazy
- default
- default-param-regex
- defaulted
- defn-memoized
- dehumanize
- delete-keys
- delete-subseq
- dissoc-if
- dissoc-in
- dissoc-walk
- distinct*?
- distinctly
- divide-map-by-value
- divide-with
- doall-safe
- doseq*
- duplicates
- error-handling-fn
- every-nth
- expand-template
- expand-template-recur
- expand-template-string
- extend-seq
- filter-rest
- fix
- following-elt
- for*
- forcat
- forf
- freq-map
- get*
- get-in*
- glob->regex
- group-by-and-transform
- group-by-dups
- group-by-multiple
- hex-string
- ignore-errors
- ignore-report
- ignore-return
- index-by
- index-by-and-transform
- index-by-multiple
- index-by-ordered
- index-by-safely
- insert-after
- intercalate
- into-string
- join-seq
- key-counter
- keyword-conc
- keyword-safe
- keywordize
- keywordize-keys
- labelize
- lconj
- ldifference
- lintersection
- lunion
- make-collecter
- map-chunked
- map-diff
- map-entry
- map-invert-multiple
- map-key-values
- map-keys
- map-keys-recursive
- map-values
- mapcatf
- mapf
- mapx
- max*
- max-by
- memoize-cache
- memoize-named
- memoize-rec
- memoize-reset!
- memoizer-stats
- memoizers
- merge-in
- merge-recursive
- merge-recursive-with
- min*
- min-by
- n-chars
- negate
- neighborhood
- nullify
- nullish?
- numeric-prefix-sort-key
- oneof
- or-nil
- ordinal
- ordinal-suffix
- pam
- param-regex-double-braces
- param-regex-javascript
- partition-diff
- partition-if
- pattern-match
- pivot
- position
- position=
- positions
- positions=
- powerset
- preceding-elt
- present?
- punc-chars
- rand-around
- rand-range
- rand-range-int
- random-element
- random-elements
- range-truncate
- re-pattern-literal
- re-quote
- re-seq-positions
- re-substitute
- real-vector?
- remove-nil-values
- remove=
- rename-key
- repeat-until
- rest-while
- round
- safe-name
- safe-nth
- safely
- saferly
- safestly
- sconj
- select-by
- self-label
- separate
- sequencify
- set=
- side-walk
- side-walk-find-paths
- side-walk-paths
- some-thing
- sort-map-by-values
- sort-map-by-values-fn
- sort-with-numeric-prefix
- str-replace-multiple
- stratify
- string-includes-uncased?
- strip-chars
- subseqs
- substitute
- substitute-gen
- swapped
- throwable?
- transitive-closure
- transpose
- trim-chars
- trim-chars-left
- trim-chars-right
- trueish?
- truncate-string
- truthy?
- uncollide
- underscore->camelcase
- union-by
- unique-key
- unique-relative-to
- unlist
- unmap
- update!
- update-some-keys
- validate-template
- vdelete=
- vectorize
- walk-all-keys
- walk-collect
- walk-filtered
- walk-find
- walk-keys
- walk-map-entries
- walk-reduce
- xor
org.candelbio.multitool.math
Public variables and functions:
- coefficent-of-variation
- covariance
- d2r
- divides?
- euclidean-distance
- extrapolate
- factorials
- geometric-mean
- iles
- interpolate
- interpolated
- manhattan-distance
- mean
- median
- outliers-by
- pearson-correlation-coefficient
- prime-factors
- prime?
- primes
- r2d
- rescale
- score-b
- standard-deviation
- standard-deviation-sample