File tree Expand file tree Collapse file tree 1 file changed +46
-9
lines changed Expand file tree Collapse file tree 1 file changed +46
-9
lines changed Original file line number Diff line number Diff line change 1
- # [ : ] Example Python 2 Project
1
+ Here is a rewritten version of your output in markdown format:
2
2
3
- An example Python project to demonstrate [ srcclr] ( https://www.srcclr.com ) scans.
3
+ ** Table of Contents**
4
+ ================
4
5
5
- Check out the [ python3 ] ( https://github.com/srcclr/ example-python/tree/python3 ) branch for a project that builds with Python 3.
6
+ ### File: ` /Users/user/Documents/GitHub/ example-python/chat_endpoint.py `
6
7
7
- ## Try me!
8
+ #### Overview
8
9
10
+ * Extension: ` .py `
11
+ * Size: 146 bytes
12
+ * Created: 2024-04-20 09:36:49
13
+ * Modified: 2024-04-19 14:52:57
14
+
15
+ #### Code
16
+
17
+ ``` python
18
+ from flask import Flask
19
+
20
+ app = Flask(__name__ )
21
+
22
+ @app.route (" /chat" )
23
+ def chat ():
24
+ return " hello world"
25
+
26
+ if __name__ == " __main__" :
27
+ app.run()
9
28
```
10
- brew tap srcclr/srcclr
11
- brew install srcclr
12
- srcclr activate
13
- srcclr scan --url https://github.com/srcclr/example-python
14
- ```
29
+
30
+ ### File: ` /Users/user/Documents/GitHub/example-python/main.py `
31
+
32
+ #### Overview
33
+
34
+ * Extension: ` .py `
35
+ * Size: 585 bytes
36
+ * Created: 2024-04-13 11:12:51
37
+ * Modified: 2024-04-13 11:12:51
38
+
39
+ #### Code
40
+
41
+ ``` python
42
+ from jwt import algorithms
43
+ from django.utils import formats
44
+ from rsa import cli
45
+ from requests import sessions
46
+
47
+ if __name__ == ' __main__' :
48
+ formats.get_format()
49
+ algorithms.HMACAlgorithm.prepare_key()
50
+ cli.VerifyOperation.perform_operation()
51
+ sessions.SessionRedirectMixin.resolve
You can’t perform that action at this time.
0 commit comments