File tree Expand file tree Collapse file tree 8 files changed +69
-1
lines changed
{{ cookiecutter.bot_id.replace(' ', '_') }}
{{ cookiecutter.bot_id.replace(' ', '_') }} Expand file tree Collapse file tree 8 files changed +69
-1
lines changed Original file line number Diff line number Diff line change 21
21
22
22
# Getting Started
23
23
24
- This repository contains a cookiecutter template for generating a Bot using
24
+ This repository contains a cookiecutter template for generating a Bot using
25
25
BotCity's Python Framework.
26
26
27
27
To create a templated project all you need to do is:
Original file line number Diff line number Diff line change 1
1
import re
2
2
import sys
3
3
4
+
4
5
bot_id = '{{ cookiecutter.bot_id }}'
5
6
6
7
pattern = re .compile ("^[a-z|A-Z]+[a-z|A-Z|_]*[a-z|A-Z]$" )
Original file line number Diff line number Diff line change
1
+ import sys
2
+
3
+ print ("*" * 80 )
4
+ print ("*" + "WARNING" .center (78 ) + "*" )
5
+ print ("*" * 80 )
6
+ print ("" )
7
+ print ("You are using an outdated version of the template which is no longer recommended." )
8
+ print ("While this template works and is valid, it is strongly recommended to create a new project with the latest template version." )
9
+ print ("" )
10
+ print ("Please refer to our documentation: https://documentation.botcity.dev/tutorials/python-automations/desktop/" )
11
+ print ("" )
12
+
13
+ try :
14
+ input (f"Press any key to continue or use Ctrl+C to cancel." )
15
+ except KeyboardInterrupt :
16
+ sys .exit ("Interrupted by the user" )
17
+ pass
Original file line number Diff line number Diff line change 2
2
3
3
{{ cookiecutter.project_short_description}}
4
4
5
+ ## WARNING
6
+
7
+ You are using an outdated version of the template which is no longer recommended.
8
+
9
+ While this template works and is valid, it is strongly recommended to create a new project with the latest template version.
10
+
11
+ Please refer to our [ documentation page] ( https://documentation.botcity.dev/tutorials/python-automations/desktop/ ) .
Original file line number Diff line number Diff line change 20
20
Please refer to the documentation for more information at https://documentation.botcity.dev/
21
21
"""
22
22
23
+ """
24
+ ********************************************************************************
25
+ * WARNING *
26
+ ********************************************************************************
27
+
28
+ You are using an outdated version of the template which is no longer recommended.
29
+ While this template works and is valid, it is strongly recommended to create a new project with the latest template version.
30
+
31
+ Please refer to our documentation: https://documentation.botcity.dev/tutorials/python-automations/desktop/
32
+ """
23
33
from botcity .core import DesktopBot
24
34
# Uncomment the line below for integrations with BotMaestro
25
35
# Using the Maestro SDK
Original file line number Diff line number Diff line change 20
20
Please refer to the documentation for more information at https://documentation.botcity.dev/
21
21
"""
22
22
23
+ """
24
+ ********************************************************************************
25
+ * WARNING *
26
+ ********************************************************************************
27
+
28
+ You are using an outdated version of the template which is no longer recommended.
29
+ While this template works and is valid, it is strongly recommended to create a new project with the latest template version.
30
+
31
+ Please refer to our documentation: https://documentation.botcity.dev/tutorials/python-automations/desktop/
32
+ """
33
+
23
34
from botcity .web import WebBot , Browser
24
35
from botcity .core import DesktopBot
25
36
# Uncomment the line below for integrations with BotMaestro
Original file line number Diff line number Diff line change 20
20
Please refer to the documentation for more information at https://documentation.botcity.dev/
21
21
"""
22
22
23
+ """
24
+ ********************************************************************************
25
+ * WARNING *
26
+ ********************************************************************************
27
+
28
+ You are using an outdated version of the template which is no longer recommended.
29
+ While this template works and is valid, it is strongly recommended to create a new project with the latest template version.
30
+
31
+ Please refer to our documentation: https://documentation.botcity.dev/tutorials/python-automations/desktop/
32
+ """
33
+
23
34
from botcity .base import BaseBot
24
35
# Uncomment the line below for integrations with BotMaestro
25
36
# Using the Maestro SDK
Original file line number Diff line number Diff line change 20
20
Please refer to the documentation for more information at https://documentation.botcity.dev/
21
21
"""
22
22
23
+ """
24
+ ********************************************************************************
25
+ * WARNING *
26
+ ********************************************************************************
27
+
28
+ You are using an outdated version of the template which is no longer recommended.
29
+ While this template works and is valid, it is strongly recommended to create a new project with the latest template version.
30
+
31
+ Please refer to our documentation: https://documentation.botcity.dev/tutorials/python-automations/desktop/
32
+ """
33
+
23
34
from botcity .web import WebBot , Browser
24
35
# Uncomment the line below for integrations with BotMaestro
25
36
# Using the Maestro SDK
You can’t perform that action at this time.
0 commit comments