Using Postgres Database With Kivy - Python Kivy GUI Tutorial #57

preview_player
Показать описание
In this video I'll show you how to use the PostGres database with your Kivy apps with Python.

Postgresql is a very popular database for production level apps, and using it with Kivy is a breeze. In this video we'll host our Postgres database on Heroku using their free tier and connect it to our local Kivy app.
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire Kivy Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:
▶️ Get The Code

Codemycom
Автор

Hi John,
I was having issues trying to get the 'heroku addons' to work. I don't know if this has changed since you recorded this video, but I had to add onto the line you suggested:

heroku addons:create heroku-postgresql:hobby-dev -app (my app name).

The key was to add the --app with the app name
* change (my app name) to whatever your app name is, then it worked.
Keep up the great work!

pademo
Автор

I liked 'heroku' and understand that what is sql and database again. Thank you for everything.

m.nikolatesla
Автор

Thank you very much for creating this tutorial John you're the best.

borneoviral
Автор

Hey John. Use the in-built functions if wanna replace any variable name. Initiate using *CTRL+H*

codeKeshav
Автор

Excellent video, It would be interesting if you could make a video integrating kivy with mongoDB

erickedgardolandaverdealas
Автор

very confused, i have logged in. but when i press control and c, it gives ^c and nothing happens
am I pressing the wrong keys?

kay
Автор

Thank you very much Mr. Elder. While I was wandering around the "kitchensink" I encountered an error which said this: no such file found etc. So I clicked on them and I noticed there are brackets. {} I clicked the problematic lines and searched for this: "{name_kv_file}.kv" and I noticed that there is no "f" in front of the code. f"{name_kv_file}".kv So I solved something by myself without checking google. I do not have prior education in a university. Thank you very much.

ardatekinalp
Автор

Sir, do you have tutorials for qr scanner for kivy python and the scanned data will be sent in the database. Can you sir help me? Thank you sir

rondem
Автор

Hi John. Can you make a video with google firebase? I used it with arduino before. I think it will be connect with python too. Thanks.

m.nikolatesla
Автор

Please make a video on project with kivy

rustt
Автор

Hello. Just found your youtube channel and so far you have been quite helpful. One thing I want to do is with TextInput. I want to use canvas.before to modify the actual canvas the text is drawn on so that I can make it rounded (specifically to 14 pixels), but it doesn't work properly. That is, the background is above the text, making the text invisible. How would I fix this issue?
Excerpt from my .kv file (this is in a floatlayout by the way):
TextInput:
border_width: 2
id: search
multiline: False
hint_text: "Search Contacts"
font_name: "Segoeuib"
font_size: 27
hint_text_color: (112/255, 112/255, 112/255, 0.49)
pos: 10, 353
size: 594, 36
text_size: self.size
halign: "left"
valign: "center"
padding: [51, 0]
background_color: 0, 0, 0, 0
canvas.before:
Color:
rgb: (112/255, 112/255, 112/255)
RoundedRectangle:
size: [self.width+self.border_width*2, self.height+self.border_width*2]
pos: [self.x-self.border_width, self.y-self.border_width]
radius: [14]
Color:
rgb: (242/255, 242/255, 242/255)
RoundedRectangle:
size: self.size
pos: self.pos
radius: [14]

drcgaming