Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/b3m2a1/mathematica-tools
One-off tools and packages
https://github.com/b3m2a1/mathematica-tools
mathematica
Last synced: 3 months ago
JSON representation
One-off tools and packages
- Host: GitHub
- URL: https://github.com/b3m2a1/mathematica-tools
- Owner: b3m2a1
- License: mit
- Created: 2016-11-25T05:14:11.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-03-04T04:09:04.000Z (almost 4 years ago)
- Last Synced: 2024-08-05T09:11:44.532Z (7 months ago)
- Topics: mathematica
- Language: Mathematica
- Homepage:
- Size: 1.94 MB
- Stars: 33
- Watchers: 9
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-wolfram-language - mathematica-tools - off tools and packages. (Prototyping and Utilities)
README
# 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:
```(*mathematica*)
Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/NotebookTabbing.wl"]
```Here’s a sample usage:
```(*mathematica*)
test1=CreateDocument["Input"];
SetDockedTabs[test1,
Table[i->i,{i,3}]
];
```
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](https://www.wolframcloud.com/objects/b3m2a1.paclets/PacletServer/serviceconnectionpackagedata.html) . It provides auto-installation of packages, especially from GitHub or the Wolfram Library Archive.
Load it like so:
```(*mathematica*)
Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/PackageDataPacletInstall.m"]
```Then use it like so:
```(*mathematica*)
PDInstallPaclet["https://github.com/szhorvat/MaTeX"]
```(*Out:*)
## Block Builder
This is a little block-programming interface, first introduced in this [StackExchange answer](https://mathematica.stackexchange.com/a/154868/38205) . Load it like so:
```(*mathematica*)
Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/BlockBuilder.m"]
```And use it like this
```(*mathematica*)
BlockBuilder[]
```
## 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:
```(*mathematica*)
Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/FileBrowser.wl"]
```You can use it like so:
```(*mathematica*)
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:*)
## 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:
```(*mathematica*)
Get["https://raw.githubusercontent.com/b3m2a1/mathematica-tools/master/OldHelpBrowser.wl"]
```Then use it like so:
```(*mathematica*)
OpenHelpBrowser[CurrentValue[HomePage] (* Optional. Blank will open faster. *)]
```(*Out:*)
NotebookObject[FrontEndObject[LinkObject["36tt4_shm", 3, 1]], 681]
It also implements documentation search:
```(*mathematica*)
HelpPagesSearch[
{
"type"->"Symbol",
"title"->"*My*"
},
True
]
```(*Out:*)
Clicking on one of those links will open the browser
