"Paclet" (Resource Object Type)
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
- Paclets from the Wolfram Language Paclet Repository can be used in two ways: temporarily with PacletSymbol or permanently with PacletInstall.
- PacletSymbol["PacletName","symb"] loads the paclet in the current session and becomes the symbol symb from within the paclet.
- PacletInstall["PacletName"] permanently installs the paclet into $UserBasePacletsDirectory.
- Learn more about using paclets from the public repository on the using paclets page.
- For paclet resources, PacletObject[ResourceObject[…]] gives a paclet object. ResourceObject[PacletObject[…]] generates a resource object for a paclet.
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
- Paclet resources can be published in the Wolfram Language Paclet Repository.
- Submission to the paclet repository requires a PublisherID.
- Publication requires that paclets meet certain restrictions; please follow the guidelines.
Examples
open allclose allBasic Examples (1)
Retrieve a published paclet resource:
The resource has type "Paclet":
Create a PacletObject from the resource: