"Paclet" (Resource Object Type)

Details

  • Paclet resources provide a tool for developers to manage paclets

Properties

  • Many ResourceObject properties are common to all resource types. Additionally, each resource type defines additional special properties.
  • Special properties for paclet resources include:
  • "PacletFile"location of a paclet archive file
    "LicensingInformation"license specification
  • All paclet resources have the property "ResourceType""Paclet".
  • Properties used for sorting paclet resources include:
  • "Categories"list of domains associated with the paclet
  • Commonly used standard ResourceObject properties for paclet resources include:
  • "Version"version of the local paclet
    "Compatibility"supported enviroments for the paclet

Using a Paclet Resource

Creating a Paclet Resource

  • To create a paclet resource, use the definition notebook available with CreateNotebook["PacletResource"].
  • Using the definition notebook, the resource can also be stored locally, deployed to the cloud or submitted for publication in the Wolfram Language Paclet Repository.
  • Learn more about creating paclets for the public repository on the creating paclets page.

Publishing in the Wolfram Language Paclet Repository

Examples

open allclose all

Basic Examples  (1)

Retrieve a published paclet resource:

The resource has type "Paclet":

Create a PacletObject from the resource:

Use a function from the paclet:

Scope  (1)

Retrieve a published paclet resource:

Install and load the paclet:

Use a function from the paclet:

Create a context alias for the primary context: