• Stars
    star
    131
  • Rank 275,867 (Top 6 %)
  • Language
    Julia
  • License
    Other
  • Created over 11 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[deprecated] Sinatra-like micro framework for web programming in Julia

Morsel.jl


2015-09-03: This package is deprecated, and does not have an active maintainer. It is not recommended for use in new projects. Commit access may be given to anyone interested in taking on reviving, maintaining, or furthering development. If you are interested, please submit a PR that updates the package. An alternative package is Mux.jl.


Build Status Coverage Status

Morsel Morsel

Morsel is a Sinatra-like micro framework for declaring routes and handling requests. It is built on top of HttpServer.jl and Meddle.jl.

Installation: Pkg.add("Morsel")

Examples

Here is a brief example that will return a few different messages for different routes, if you run this and open localhost:8000 you will see "This is the root" for GET, POST or PUT requests. The line get(app, "/about") do ... is shorthand for only serving GET requests through that route.

using Morsel

app = Morsel.app()

route(app, GET | POST | PUT, "/") do req, res
    "This is the root"
end

get(app, "/about") do req, res
    "This app is running on Morsel"
end

start(app, 8000)

Here is an example that:

  • Reads data from a csv
  • Runs a linear regression
  • Produces some interactive charts that can be viewed in your browser

The accompanying documentation is written for data scientists who have never written a web app before.


:::::::::::::
::         ::
:: Made at ::
::         ::
:::::::::::::
     ::
Hacker School
:::::::::::::

More Repositories

1

OldGraphs.jl

Working with graphs in Julia
Julia
205
star
2

julia-tutorial

A Julia tutorial
TeX
162
star
3

FactCheck.jl

Midje-like testing for Julia
Julia
81
star
4

CUDArt.jl

Julia wrapper for CUDA runtime API
Julia
78
star
5

CUDA.jl

DEPRECATED: old Julia programming interface for CUDA
Julia
64
star
6

ReverseDiffSource.jl

Reverse automated differentiation from source
Julia
48
star
7

Color.jl

Basic color manipulation utilities.
Julia
47
star
8

QuDirac.jl

A library for performing quantum mechanics using Dirac notation in Julia
Julia
47
star
9

QuBase.jl

A foundational library for quantum mechanics in Julia
Julia
43
star
10

CUDNN.jl

Julia wrapper for the NVIDIA cuDNN GPU deep learning library
Julia
40
star
11

Markdown.jl

Markdown parsing for Julia
Julia
39
star
12

readline

Fork of GNU libreadline, patched to work on Windows.
C
34
star
13

CUBLAS.jl

Julia interface to CUBLAS
Julia
25
star
14

CUSPARSE.jl

Julia interface to NVIDIA's CUSPARSE library
Julia
23
star
15

TOML_old.jl

TOML v0.4.0 parser for Julia
Julia
22
star
16

CUSOLVER.jl

Julia
15
star
17

UUID.jl

Uuid library for Julia
Julia
11
star
18

SparseVectorsOLD.jl

A Julia package for sparse vectors.
Julia
10
star
19

Meddle.jl

[deprecated] Meddle is a middleware stack for use with HttpServer.jl
Julia
9
star
20

Options.jl

A framework for providing optional arguments to functions.
Julia
8
star
21

CUFFT.jl

Wrapper for the CUDA FFT library
Julia
8
star
22

TakingBroadcastSeriously.jl

Julia
7
star
23

libuv-archive

Platform-independent event layer for Node.js.
C
7
star
24

Nullables.jl

Nullable type for Julia > 0.6
Julia
7
star
25

Sound.jl

Reading and writing from WAV files
Julia
6
star
26

Examples

Julia code examples that used to be part of the Julia repo
Julia
6
star
27

Grisu.jl

The old Base.Grisu module made into a package
Julia
4
star
28

DiffBase.jl

This package has been replaced by DiffRules.jl, DiffResults.jl, and DiffTests.jl.
Julia
4
star
29

Benchmarks

Benchmarks that used to be included in the Julia source
Julia
3
star
30

CSparse.jl

CSparse functions that were formerly part of base Julia
Julia
3
star
31

ODE.jl

Assorted basic Ordinary Differential Equation solvers
Julia
2
star
32

XORShiftRNG.jl

XORShift RNGs
Julia
2
star
33

OldPkg.jl

Julia's old package manager
Julia
1
star
34

IndexingBenchmarks.jl

Julia
1
star