Meterian can process Jupyter Notebooks that contain Python code. The only requirement, assuming your license has the feature enabled, is to add the parameter
--process-notebooks to the client invocation when running it. We also recommend the use of the dockerized client as it contains all the necessary tools. If not, you may need to install extra packages in the Python environment.
An example of run against the nyc_taxi notebook:
$ meterian-docker --process-notebooks --project-url=nyc_taxi© 2017-2020 Meterian Ltd - dockerized version 184.108.40.2065Meterian Client v1.2.13, build 2960a89-519All rights reservedSystem information:- running locally: yes- interactive mode: off- working on folder: /workspace- autofix mode: offChecking folder...Folder /workspace contains a viable project!Authorizing the client...Client successfully authorizedAccount: "Meterian Team Account"- Minimum scores:- security: 90- stability: 90- licensing: 90- Analysis scopes:- security: packaged components- stability: all components- licensing: all componentsLoading build status...No build running found!Requesting build...Build allowedProject information:- url: nyc_taxi- branch: head- commit: n/aPython scan - running pipenv 2020.11.15 locally...- python: Now processing 1 notebooks with jupyter 6.2.0 and pipreqs:0.4.10...- python: Processing notebook nyc_taxi - collecting dependencies...- python: Processing notebook nyc_taxi - locking dependencies...- python: loading dependencies from lockfile...- python: python dependencies generated.Execution successful!Uploading dependencies information - 41 found...Done!Starting build...Current build status: in preparationCurrent build status: process advices at 2021-04-12T15:15:45.099Current build status: process advices at 2021-04-12T15:15:48.075Current build status: process advices at 2021-04-12T15:15:49.182Final results:- security: 100 (minimum: 90)- stability: 98 (minimum: 90)- licensing: 99 (minimum: 90)Full report available at:https://www.meterian.com/projects/?pid=c9064bda-a78d-489a-88cc-2caff61d2f15&branch=head&mode=eliBuild successful!
Please note that the processing of Jupyter Notebooks can be slower than normal analysis, as it involves further steps in comparison to a standard analysis. .