You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 6, 2023. It is now read-only.
<p><strong>Heads up! This project is under construction!</strong> We welcome your bug reports and suggestions via GitHub Issues!</p>
53
53
<hr>
54
54
<p>The <strong>Paperspace API</strong> is the official devkit for automating your <ahref="https://www.paperspace.com">Paperspace</a> account. It is currently available in <ahref="#programmatic-access-via-paperspace-node">JavaScript</a> and <ahref="https://github.com/Paperspace/paperspace-python">Python</a>, and we plan to offer other languages and integrations in the future. Currently we are offering basic actions such as creating Paperspace machines and Gradient jobs. This repository includes:</p>
55
55
<ul>
56
56
<li><ahref="#paperspace-cli">Paperspace CLI</a> (command line interface)</li>
57
-
<li><ahref="#programmatic-access-via-paperspace-node">JavaScript API client</a> (for Node.js and web browsers)</li>
57
+
<li><ahref="#programmatic-access-via-paperspace-node">JavaScript API client</a> (for Node.js)</li>
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Nov 09 2018 18:00:52 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
166
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Jan 14 2019 10:51:10 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Copy file name to clipboardExpand all lines: docs/jobs.html
+67-1Lines changed: 67 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1788,6 +1788,39 @@ <h6>Properties</h6>
1788
1788
1789
1789
1790
1790
1791
+
<tr>
1792
+
1793
+
<tdclass="name"><code>ignoreFiles</code></td>
1794
+
1795
+
1796
+
<tdclass="type">
1797
+
1798
+
1799
+
<spanclass="param-type">string</span>
1800
+
1801
+
1802
+
1803
+
</td>
1804
+
1805
+
1806
+
<tdclass="attributes">
1807
+
1808
+
<optional><br>
1809
+
1810
+
1811
+
1812
+
1813
+
1814
+
</td>
1815
+
1816
+
1817
+
1818
+
1819
+
<tdclass="description last"><p>An optional reference to files or folders that should be excluded from workspace upload. Files/folders to be ignored, comma seperated if multiple.</p></td>
1820
+
</tr>
1821
+
1822
+
1823
+
1791
1824
<tr>
1792
1825
1793
1826
<tdclass="name"><code>codeCommit</code></td>
@@ -2150,6 +2183,39 @@ <h6>Properties</h6>
2150
2183
</tr>
2151
2184
2152
2185
2186
+
2187
+
<tr>
2188
+
2189
+
<tdclass="name"><code>isPreemptible</code></td>
2190
+
2191
+
2192
+
<tdclass="type">
2193
+
2194
+
2195
+
<spanclass="param-type">boolean</span>
2196
+
2197
+
2198
+
2199
+
</td>
2200
+
2201
+
2202
+
<tdclass="attributes">
2203
+
2204
+
<optional><br>
2205
+
2206
+
2207
+
2208
+
2209
+
2210
+
</td>
2211
+
2212
+
2213
+
2214
+
2215
+
<tdclass="description last"><p>Optional; if included job will be sent to a preemptible VM only. Defaults to false.</p></td>
2216
+
</tr>
2217
+
2218
+
2153
2219
</tbody>
2154
2220
</table>
2155
2221
@@ -4700,7 +4766,7 @@ <h5>Returns:</h5>
4700
4766
<brclass="clear">
4701
4767
4702
4768
<footer>
4703
-
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Nov 09 2018 18:00:52 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
4769
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Jan 14 2019 10:51:10 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Nov 09 2018 18:00:52 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
105
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Jan 14 2019 10:51:10 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Nov 09 2018 18:00:52 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
283
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Jan 14 2019 10:51:10 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Nov 09 2018 18:00:52 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
136
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Jan 14 2019 10:51:10 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Nov 09 2018 18:00:52 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
133
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Jan 14 2019 10:51:10 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
* @param {string} [params.projectId] - The poject id of an existing project for this job. Note: if projectId is specified, the project parameter cannot be specified.
70
70
* @param {string} [params.command] - An optional command to run within the workspace or container.
71
71
* @param {string} [params.workspace] - An optional path to a workspace, or link to a git repository to upload and merge with the container. If a zip file name is provided it is uploaded instead. If no workspace is provided the current directory is zipped up and transferred. If the workspace is 'none', no workspace is merged and the container is run as-is. To download a git repository provide an https repository link and optionally prefix it with 'git+', e.g. 'https://github.com/MyProjects/MyRepo.git'. If the 'git+' prefix is not specified, it is added at the time of download to the job runner machine. S3 links are also supported using the schema 's3://bucketname/objectname'.
72
+
* @param {string} [params.ignoreFiles] - An optional reference to files or folders that should be excluded from workspace upload. Files/folders to be ignored, comma seperated if multiple.
72
73
* @param {string} [params.codeCommit] - An optional reference to git commit hash if local workspace is a git repository. Found at runtime.
73
74
* @param {string} [params.dataset] - An optional reference to a dataset to be merged with the container.
74
75
* @param {string} [params.registryUsername] - An optional username for accessing an image hosted on a private container registry. Note: you must specify this option every time a private image is specified for the container.
* @param {number} [params.nodeAttrs] - Optional; a JSON expression describing the node attributes for a compatible GradientNode machine to run this job. See the Gradient-Node documentation for more info.
81
82
* @param {boolean} [params.tail] - Optional; defaults to true in command line mode only. Specify false to disable automatic tailing.
82
83
* @param {boolean} [params.json] - Optional; if true, do not write progress to standard out. '--json' with no value is equivalent to true.
84
+
* @param {boolean} [params.isPreemptible] - Optional; if included job will be sent to a preemptible VM only. Defaults to false.
83
85
* @param {function} cb - Node-style error-first callback function
84
86
* @returns {object} job - The created job JSON object
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Nov 09 2018 18:00:52 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
571
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Jan 14 2019 10:51:10 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Nov 09 2018 18:00:52 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
106
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Jan 14 2019 10:51:10 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Nov 09 2018 18:00:52 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
72
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Jan 14 2019 10:51:10 GMT-0500 (EST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
0 commit comments