Gathering detailed insights and metrics for jupyter-paths
Gathering detailed insights and metrics for jupyter-paths
Gathering detailed insights and metrics for jupyter-paths
Gathering detailed insights and metrics for jupyter-paths
npm install jupyter-paths
Typescript
Module System
Node Version
NPM Version
66.1
Supply Chain
88.8
Quality
83.3
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
1,102,339
Last Day
11
Last Week
163
Last Month
947
Last Year
12,039
9 Stars
133 Commits
11 Forks
38 Watching
18 Branches
157 Contributors
Latest Version
2.0.4
Package Id
jupyter-paths@2.0.4
Size
5.31 kB
NPM Version
7.17.0
Node Version
12.22.1
Publised On
12 Jun 2021
Cumulative downloads
Total Downloads
Last day
-81.7%
11
Compared to previous day
Last week
-42%
163
Compared to previous week
Last month
-0.8%
947
Compared to previous month
Last year
-26.9%
12,039
Compared to previous year
Pure JavaScript implementation of jupyter-paths
.
npm install jupyter-paths
1$ node 2> var jp = require('jupyter-paths')
runtimeDir()
Returns immediately with the path to running kernels
1> jp.runtimeDir() 2'/Users/rgbkrk/Library/Jupyter/runtime'
dataDirs()
1> jp.dataDirs() 2[ '/Users/rgbkrk/Library/Jupyter', 3 '/usr/share/jupyter', 4 '/usr/local/share/jupyter' ]
If you want the paths to include the sys.prefix
paths (for Anaconda installs),
an optional opts
parameter is accepted with key withSysPrefix
. This changes
the return to a promise for you instead.
1> jp.dataDirs({ withSysPrefix: true }) 2Promise { <pending> } 3> jp.dataDirs({ withSysPrefix: true }).then(console.log) 4Promise { <pending> } 5> [ '/Users/rgbkrk/Library/Jupyter', 6 '/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/share/jupyter', 7 '/usr/share/jupyter', 8 '/usr/local/share/jupyter' ]
configDirs()
Like dataDirs
, an optional opts
parameter is accepted with key
withSysPrefix
as an argument.
1> jp.configDirs({ withSysPrefix: true }).then(console.log) 2Promise { <pending> } 3> [ '/Users/rgbkrk/.jupyter', 4 '/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/etc/jupyter', 5 '/usr/local/etc/jupyter', 6 '/etc/jupyter' ]
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
Found 2/9 approved changesets -- score normalized to 2
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
33 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More