porcupine-core: Express portable, composable and reusable data tasks and pipelines
porcupine is centered around the PTask datatype, which represents a computation that will request access to some resources (both in read and write modes) and require some options (parameters, with docstrings and default values). PTasks are composable both sequentially and in parallel, into a pipeline of tasks. The resources and parameters are organized in a tree which will be automatically exposed to the outside world. This makes the pipeline self-documented, and makes it so any option or file required at some point by any task can be visualized and set or remapped (via a combination of a YAML or JSON config file and command-line arguments) before the pipeline will run. That means that the PTasks are completely agnostic of their data inputs, and that new data sources can be added without having to change any of the tasks' logic or even their types. This is done via the LocationAccessor typeclass. `porcupine-core` provides only access to local files (via resourcet), other location accessors will be in separate packages. See for instance the https://hackage.haskell.org/package/porcupine-http package to access HTTP urls. PTasks also provide caching thanks to the funflow package. See the README at https://github.com/tweag/porcupine#README.md and the examples in `porcupine-core` package.
Modules
- Control
- Arrow
- Control.Arrow.FoldA
- Arrow
- Data
- Data.Locations
- Data.Locations.Accessors
- Data.Locations.FunflowRemoteCache
- Data.Locations.Loc
- Data.Locations.LocVariable
- Data.Locations.LocationTree
- Data.Locations.LogAndErrors
- Data.Locations.Mappings
- Data.Locations.SerializationMethod
- Data.Locations.VirtualFile
- Data.Representable
- Data.Locations
- Porcupine
- Porcupine.Foldl
- Porcupine.Run
- Porcupine.Serials
- Porcupine.Tasks
- Porcupine.VFiles
- Streaming
- Streaming.TaskPipelineUtils
- System
- System.ClockHelpers
- System.TaskPipeline
- System.TaskPipeline.CLI
- System.TaskPipeline.Caching
- System.TaskPipeline.ConfigurationReader
- System.TaskPipeline.Logger
- System.TaskPipeline.Options
- System.TaskPipeline.PTask
- System.TaskPipeline.PTask.Internal
- System.TaskPipeline.PorcupineTree
- System.TaskPipeline.Repetition
- System.TaskPipeline.Repetition.Foldl
- System.TaskPipeline.Repetition.Internal
- System.TaskPipeline.Repetition.Streaming
- System.TaskPipeline.Run
- System.TaskPipeline.VirtualFileAccess
Flags
Manual Flags
Name | Description | Default |
---|---|---|
usemonadbayes | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- porcupine-core-0.1.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates