Welcome! We're glad to have you. If you would like to report a bug, request a new feature or enhancement, follow this link for more help.
If you're looking for documentation on how to use NB Defense, you can find that here.
-
Python
NB Defense requires python version greater than
3.8
and less than3.11
-
Poetry
The following install commands require Poetry. To install Poetry you can follow this installation guide. Poetry can also be installed with brew using the command
brew install poetry
.
-
Clone the repo
git clone git@github.com:protectai/nbdefense.git
-
To install development dependencies to your environment and set up the cli for live updates, run the following command in the root of the
nbdefense
directory:make install-dev
-
You are now ready to start developing!
Run a scan with the cli with the following command:
nbdefense scan -s
Thanks for contributing! In order to open a PR into the NB Defense project, you'll have to follow these steps:
- Fork the repo and clone your fork locally
- Run
make install-dev
from the root of your forked repo to setup your environment - Make your changes
- Submit a pull request
After these steps have been completed, someone on our team at Protect AI will review the code and help merge in your changes!