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
Copy file name to clipboardExpand all lines: content/pages/03-data/06-sqlalchemy.markdown
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ application software stacks and backend databases. Any of these
33
33
configurations can be a valid option depending on what type of application
34
34
you are coding.
35
35
36
-
<imgsrc="/img/visuals/sqlalchemy-orm-example.png"width="100%"alt="Example SQLAlchemy configurations with different web frameworks."class="technical-diagram"></a>
36
+
<imgsrc="/img/visuals/sqlalchemy-orm-example.png"width="100%"alt="Example SQLAlchemy configurations with different web frameworks."class="shot"></a>
37
37
38
38
A benefit many developers enjoy with SQLAlchemy is that it allows them
39
39
to write Python code in their project to map from the database schema
@@ -123,6 +123,9 @@ your application's code with the SQLAlchemy library.
123
123
has details on why, how and when you may want to use SQLAlchemy to
124
124
augment the [Django ORM](/django-orm.html).
125
125
126
+
*[Building a Simple Birthday App with Flask-SQLAlchemy](https://pybit.es/flask-sqlalchemy-bday-app.html)
127
+
combines SQLAlchemy with Flask to create a birthday reminder application.
128
+
126
129
127
130
### SQLAlchemy resources
128
131
The best way to get comfortable with SQLAlchemy is to dig in and write
Copy file name to clipboardExpand all lines: content/pages/04-web-development/54-slack.markdown
+39Lines changed: 39 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,3 +39,42 @@ for programmatically interacting with its messaging service.
39
39
a Python tutorial but it provides a crazy hack for communicating
40
40
with Slack using a Super Nintendo.
41
41
42
+
*[Hacking Slack accounts: As easy as searching GitHub](https://arstechnica.com/information-technology/2016/04/hacking-slack-accounts-as-easy-as-searching-github/)
43
+
explains how secret Slack API keys are often committed to public GitHub
44
+
repositories which allows malicious actors to easily break into an
45
+
organization's messaging systems. Secret credentials in public repositories
46
+
is a problem for any API and it is a particular problem for ones that are
47
+
critical to a business' private communications.
48
+
49
+
*[Serverless Slash Commands with Python](https://renzo.lucioni.xyz/serverless-slash-commands-with-python/)
50
+
shows how to build a [serverless](/serverless.html)[Flask](/flask.html)
51
+
plus Zappa framework web app that is hosted on [AWS Lambda](/aws-lambda.html)
52
+
and can use the Slack API.
53
+
54
+
*[Hacking Slack using postMessage and WebSocket-reconnect to steal your precious token](https://labs.detectify.com/2017/02/28/hacking-slack-using-postmessage-and-websocket-reconnect-to-steal-your-precious-token/)
55
+
examines a bug that the author found in Slack's WebSockets reconnection
56
+
operation that he reported to Slack. Slack fixed the issue and paid him a
57
+
bug bounty for his work.
58
+
59
+
*[Posting messages to Slack using incoming webhooks and Python3 Requests API](https://notes.ayushsharma.in/2017/09/posting-messages-to-slack-using-incoming-webhooks-and-python-requests-api)
60
+
is a short script that uses the [Requests](https://pypi.org/project/requests/)
61
+
library instead of the Slack-provided Python helper libraries to interact
62
+
with the API.
63
+
64
+
*[Build a Google Analytics Slack Bot with Python](https://www.twilio.com/blog/2018/03/google-analytics-slack-bot-python.html)
65
+
walks through creating a bot that posts Google Analytics data into
66
+
Slack channels by combining the Slack and Google APIs.
67
+
68
+
69
+
### Example Slack bots
70
+
*[python-rtmbot](https://github.com/slackapi/python-rtmbot) is the
71
+
Slack-provided library for working with the Slack API and
0 commit comments