Code Monkey home page Code Monkey logo

mathematica-tools's Introduction

Mathematica Tools

This is a collection of basic Mathematica tools, generally implemented as one-off packages.

NotebookTabbing

This is a package that provides a tabbed notebook interface. Load it like so:

Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/NotebookTabbing.wl"]

Here’s a sample usage:

test1=CreateDocument["Input"];
SetDockedTabs[test1,
 Table[i->i,{i,3}]
 ];

title-8919251785266428182

An example can be found in [Tabbing Example.nb](Tabbing Example.nb)

Paclet Installation

This is functionality developed to put in my PackageData.net Service Connection . It provides auto-installation of packages, especially from GitHub or the Wolfram Library Archive.

Load it like so:

Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/PackageDataPacletInstall.m"]

Then use it like so:

PDInstallPaclet["https://github.com/szhorvat/MaTeX"]
(*Out:*)

title-4907962479876499562

Block Builder

This is a little block-programming interface, first introduced in this StackExchange answer . Load it like so:

Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/BlockBuilder.m"]

And use it like this

BlockBuilder[]

title-7464017383694232051

File Browser

This is a file browser, built kinda like the Finder on a Mac computer. A more sophisticated version is in BTools. Load it like so:

Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/FileBrowser.wl"]

You can use it like so:

FileBrowser[Directory[]];
(*Loads a sidebar pre-populated with $HomeDirectory and friends*)
FileBrowser[Directory[],
 Function->Print
 ];
(*Prints files instead of opening them on double-click*)
FileBrowser[BTools`$AppDirectory,
 {$InstallationDirectory, $BaseDirectory, $UserBaseDirectory}
 ]
(*Loads a different root directory and sidebar*)
(*Out:*)

title-5470197701854498057

OldHelpBrowser

Creates an old-style (pre-Version 6) help browser. Also includes a search function. Builds an index of all existing documentation pages. Load it like so:

Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/OldHelpBrowser.wl"]

Then use it like so:

OpenHelpBrowser[CurrentValue[HomePage] (* Optional. Blank will open faster. *)]
(*Out:*)

NotebookObject[FrontEndObject[LinkObject["36tt4_shm", 3, 1]], 681]

title-7242757585790016598

It also implements documentation search:

HelpPagesSearch[
 {
  "type"->"Symbol",
  "title"->"*My*"
  },
 True
 ]
(*Out:*)

title-731980004634513015

Clicking on one of those links will open the browser

title-6203410312044118217

mathematica-tools's People

Contributors

b3m2a1 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.