Get Started Developing Paclets for the Paclet Repository

Bob Sandheinrich
2022 Wolfram Technology Conference

({{"[◼]", "GIPHYGIF" }})["Release Announcement!!"]

WOLFRAM LANGUAGE PACLET REPOSITORY

Open for Business! 
A distribution system for Wolfram Language technology

Other talks about paclets

Using Paclets from the Wolfram Language Paclet Repository - Todd Gayley (complete)

Continuous Integration & Deployment of Paclets

Richard Hennigan - 2:50 Today - Spartan/Golden Gopher

Documentation Tools/Authoring Documentation for Paclets

Brian Van Vertloo - 3:15 Today - Spartan/Golden Gopher

The Structure of Paclets

Connor Gray - 9:00 Tomorrow - Spartan/Golden Gopher

Advanced Paclet Development

Connor Gray - 9:25 Tomorrow - Spartan/Golden Gopher

Workshop: Hands-on Paclet Development

The Team - 10:30-11:30 Tomorrow - Spartan/Golden Gopher

Creating a new paclet

Programmatically

PacletTools provides a suite of functions for programmatically developing paclets.

Needs["PacletTools`"]

dir=CreateDirectory@FileNameJoin[{Directory[],"Paclets","ComputationalBeer"}]

CreatePaclet builds a standard directory structure

CreatePaclet["ComputationalBeer",dir]

Column@FileNames[All,dir,Infinity]

FilePrint["/Users/bobs/Paclets/ComputationalBeer/ComputationalBeer/PacletInfo.wl"]

NotebookOpen["/Users/bobs/Paclets/ComputationalBeer/ComputationalBeer/Kernel/ComputationalBeer.wl"]

With a Definition Notebook

CreateNotebook["PacletResource"]

Converting an existing paclet for WLPR

CreateNotebook["PacletResource"]

Column@FileNames[All, dir]

ClickToCopy[Panel[Style["Copy Beer ABV Function",30]],Defer[BeerABV[og_,fg_]:=(og-fg)*131.25]]

Hyperlink["Brewing images","https://commons.wikimedia.org/w/index.php?search=brewing&title=Special:MediaSearch&go=Go&type=image"]

Developing for WLPR

Requirements

PublisherID in names: Paclet, Symbol Context, Stylesheet and Palette paths

Conventions (required for featured paclets)

All user symbols documented

All definition notebook fields filled in accurately

Thank you

Learn more

Hyperlink["Prepare a Paclet for WLPR Workflow","https://reference.wolfram.com/language/workflow/PrepareAPacletForPublication"]

Hyperlink["Share a Paclet Workflow","https://reference.wolfram.com/language/workflow/ShareAPaclet"]

Hyperlink["Guide to creating a paclet for WLPR","https://resources.wolframcloud.com/PacletRepository/creating-paclets"]

Hyperlink["WLPR Guidelines","https://resources.wolframcloud.com/PacletRepository/guidelines"]

Other talks about paclets

Using Paclets from the Wolfram Language Paclet Repository - Todd Gayley (complete)

Continuous Integration & Deployment of Paclets

Richard Hennigan - 2:50 Today - Spartan/Golden Gopher

Documentation Tools/Authoring Documentation for Paclets

Brian Van Vertloo - 3:15 Today - Spartan/Golden Gopher

The Structure of Paclets

Connor Gray - 9:00 Tomorrow - Spartan/Golden Gopher

Advanced Paclet Development

Connor Gray - 9:25 Tomorrow - Spartan/Golden Gopher

Workshop: Hands-on Paclet Development

The Team - 10:30-11:30 Tomorrow - Spartan/Golden Gopher