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
# These are conducted asynchronously, so provide a webhook route to an HTTPS server to send results to.
96
+
id, message = nightfall.scan_file(
97
+
"./super-secret-credit-cards.pdf",
98
+
"https://my-service.com/nightfall/listener",
99
+
detection_rules=[detection_rule]
100
+
)
101
+
print("started scan", id, message)
102
+
```
34
103
35
-
For more information on the details of this library, please refer to
36
-
the [API Documentation](https://docs.nightfall.ai/).
37
104
## Contributing
38
105
39
-
Please create an issue with a description of your problem, or open a pull request with the fix.
106
+
Contributions are welcome! Open a pull request to fix a bug, or open an issue to discuss a new feature
107
+
or change. Please adhere to the linting criteria expected by flake8, and be sure to add unit tests for
108
+
any new functionality you add.
109
+
110
+
Refer to `CONTRIBUTING.md` for the full details.
111
+
112
+
## License
40
113
41
-
## Development
114
+
This code is licensed under the terms of the MIT License. See [here](https://opensource.org/licenses/MIT)
115
+
for more information.
116
+
117
+
Please create an issue with a description of your problem, or open a pull request with the fix.
118
+
119
+
## Development
42
120
43
121
### Installing Development Dependencies
44
122
@@ -58,19 +136,15 @@ Unit and Integration tests can be found in the `tests/` directory. You can run t
58
136
59
137
You can view the code coverage report by running `coverage html` and `python3 -m http.server --directory htmlcov` after running the unit tests.
60
138
61
-
### Creating a Release
139
+
### Creating a Release
62
140
63
-
Releases are automatically published to PyPI using GitHub Actions. Creating a release in GitHub will trigger a new build that will publish the latest version of this library to [PyPI](https://pypi.org/project/nightfall/).
141
+
Releases are automatically published to PyPI using GitHub Actions. Creating a release in GitHub will trigger a new build that will publish the latest version of this library to [PyPI](https://pypi.org/project/nightfall/).
64
142
65
-
The steps to do this are:
143
+
The steps to do this are:
66
144
67
145
1. Add what changed to the CHANGELOG file
68
146
2. Update the version in `setup.py`
69
-
3. Commit changes and push to the main branch.
70
-
4. Create a new release in the GitHub UI.
71
-
5. Observe the release action succeed and see the latest version of this library on PyPI.
72
-
## License
73
-
74
-
MIT
75
-
147
+
3. Commit changes and push to the main branch.
148
+
4. Create a new release in the GitHub UI.
149
+
5. Observe the release action succeed and see the latest version of this library on PyPI.
0 commit comments