Package

io.github.mandar2812

dynaml

Permalink

package dynaml

Visibility
  1. Public
  2. All

Type Members

  1. case class DynaML(predefCode: String = "", predefFile: Option[Path] = None, defaultPredef: Boolean = true, storageBackend: Storage = ..., wd: Path = ammonite.ops.pwd, welcomeBanner: Option[String] = Some(Defaults.welcomeBanner), inputStream: InputStream = System.in, outputStream: OutputStream = System.out, errorStream: OutputStream = System.err, verboseOutput: Boolean = true, remoteLogging: Boolean = true, colors: Colors = Colors.Default, replCodeWrapper: CodeWrapper = Preprocessor.CodeWrapper, scriptCodeWrapper: CodeWrapper = Preprocessor.CodeWrapper) extends Product with Serializable

    Permalink

    Contains the various entry points to the DynaML/Ammonite REPL.

    Contains the various entry points to the DynaML/Ammonite REPL.

    Configuration of the basic REPL is done by passing in arguments when constructing the DynaML instance, and the various entrypoints such as run runScript and so on are methods on that instance.

    It is more or less equivalent to the ammonite.repl.Repl object itself, and has a similar set of parameters, but does not have any of the ammonite.repl.Repl's implementation-related code and provides a more convenient set of entry-points that a user can call.

    Note that the instantiateRepl function generates a new Repl every time it is called!

    predefCode

    Any additional code you want to run before the REPL session starts. Can contain multiple blocks separated by @s

    defaultPredef

    Do you want to include the "standard" predef imports provided by Ammonite? These include tools like time, grep, the | or |? pipes from ammonite-ops, and other helpers. Can be disabled to give a clean namespace for you to fill using your own predef.

    storageBackend

    Where will all of Ammonite's persistent data get stored? Things like any predef.sc file, compilation/ivy caches, etc.. Defaults include Storage.Folder and Storage.InMemory, though you can create your own.

    wd

    The working directory of the REPL; when it load scripts, where the scripts will be considered relative to when assigning them packages

    inputStream

    Where input to the Repl is coming from, typically System.in, but it could come from somewhere else e.g. across the network in the case of the SshdRepl

    outputStream

    Primary output of code run using Ammonite

    errorStream

    Error output when things go bad, typically System.err; also gets sent miscellaneous info messages that aren't strictly part of the REPL or script's output

  2. class DynaMLSSH extends AnyRef

    Permalink

    An ssh server which serves ammonite repl as it's shell channel.

    An ssh server which serves ammonite repl as it's shell channel. To start listening for incoming connections call start() method. You can stop() the server at any moment. It will also close all running sessions

  3. case class IpInfo(query: String, country: Option[String], city: Option[String], lat: Option[Double], lon: Option[Double]) extends Product with Serializable

    Permalink
  4. case class IpPairSummary(distance: Option[Double], ip1Info: IpInfo, ip2Info: IpInfo) extends Product with Serializable

    Permalink
  5. case class IpPairSummaryRequest(ip1: String, ip2: String) extends Product with Serializable

    Permalink
  6. class MainRunner extends AnyRef

    Permalink

    Bundles together:

    Bundles together:

    - All the code relying on cliConfig - Handling for the common input/output streams and print-streams - Logic around the watch-and-rerun flag

  7. trait Protocols extends DefaultJsonProtocol

    Permalink
  8. trait Service extends Protocols

    Permalink

Value Members

  1. object DynaML extends Serializable

    Permalink
  2. object DynaMLSSH

    Permalink
  3. object DynaMLSpark

    Permalink

  4. object DynaServe extends App with Service

    Permalink
  5. object IpPairSummary extends Serializable

    Permalink
  6. package openml

    Permalink
  7. package repl

    Permalink

Ungrouped