Coder Social home page Coder Social logo

solglass / fslab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fslaborg/zzarchive-fslab

0.0 1.0 0.0 2.96 MB

A collection of packages for data science with F#

Home Page: http://fslab.org

License: Other

Shell 1.04% F# 89.81% CSS 3.17% TeX 1.02% JavaScript 1.10% C# 1.05% HTML 2.26% Batchfile 0.56%

fslab's Introduction

FsLab

FsLab is a curated set of templates, libraries and scripts-as-journals support for doing data science with F#.

See https://fslab.org for getting started. One way is as follows:

dotnet new -i FsLab.Templates
dotnet new fslab-journal -lang F# -n Experiment1

then

cd Experiment1
build html
build show
build run  (watches for changes)
edit Experiment1.fsx or open Experiment1.fsproj

Developer notes

Project structure

The project produces three things:

  1. FsLab A NuGet package containing the FsLab.fsx load script for a consistent set of packages, plus some extra formatters
  2. FsLab.Templates Templates for 'dotnet new' and Visual Studio. Each template includes an FsLab build script and F5 launcher for processing the literate scripts into reports.
  3. fsx2html Used by FsLab build scripts to process F# literate scripts into HTML and LaTex

The source files in the repository are organized as follows:

Directory or file Comment
misc Icons and other non-source-code things
src/fsx2html Source for the DLL in the fsx2html NuGet package
src/Html HTML formatters for literate scripts not included in other packages
src/Text Text formatters for literate scripts not included in other packages
src/Shared Styling and server support for literate scripts not included in other packages
src/experiments Item templates
src/journal Journal project template
src/dotnet-templates Extra files for 'dotnet new' template support
src/vs-templates Extra files for Visual Studio template support
src/FsLab.fsx Script included in the FsLab NuGet package
src/*.nuspec NuGet files for building the packages
build.fsx FAKE script that does all the magic (below)

Building FsLab

If you want to be able to build FsLab Journal template, you'll need Visual Studio 2017 SDK. To update one or more dependencies, use the following steps:

  • Run git clean -xfd to make sure that there are only source files around
  • Run .paket/paket.exe update to update the dependencies
  • Run build to build and test everything
  • Add new line with version information to RELEASE_NOTES.md!
  • Run publish from command line to upload NuGet package (if you have the rights)

Releasing

set APIKEY=...
.nuget\NuGet.exe push bin\*.nupkg  %APIKEY% -Source https://www.nuget.org

fslab's People

Contributors

tpetricek avatar dsyme avatar forki avatar cdrnet avatar tonyabell avatar krzysztof-cieslak avatar bartelink avatar evelinag avatar tahahachana avatar kyleondy avatar mjhomb avatar dungpa avatar reedcopsey avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.