The Problem With Your Dockerized Django Development Workflow
https://vsupalov.com/problem-django-development-workflow/
/r/django
https://redd.it/8og9fe
https://vsupalov.com/problem-django-development-workflow/
/r/django
https://redd.it/8og9fe
vsupalov.com
The Problem With Your Dockerized Django Development Workflow
Dynaconf 1.0.x released - Layered configuration system for python with flask and django support
http://brunorocha.org/python/dynaconf-1-0-x-released-layered-configuration-system-for-python-with-flask-and-django-support.html
/r/flask
https://redd.it/8nkt33
http://brunorocha.org/python/dynaconf-1-0-x-released-layered-configuration-system-for-python-with-flask-and-django-support.html
/r/flask
https://redd.it/8nkt33
Anime girl can now access your webcam to look at you in the eye (my python project)
https://youtu.be/rxHIsFZzRO8
/r/Python
https://redd.it/8oh9s2
https://youtu.be/rxHIsFZzRO8
/r/Python
https://redd.it/8oh9s2
YouTube
Yuri with face detection
I made a python project which uses face detection such that yuri always looks at you
Sorry for vertical recording :)
Sorry for vertical recording :)
IPython Parallel 6.2 Released
https://ipyparallel.readthedocs.io/en/latest/changelog.html
/r/IPython
https://redd.it/8ohuue
https://ipyparallel.readthedocs.io/en/latest/changelog.html
/r/IPython
https://redd.it/8ohuue
Automating the Creation of the Demonstration GIF for README
So I was creating a GIF for the GitHub README of a terminal project I am working on and, since I didn't want to have to do the demo all over again if I wanted to make a small change, I wrote a little program that automates the demonstration. What it does basically is read the keys I want to type from a text file that also has certain "flags" embedded in it that trigger events like changing the typing delay speed, sleep for N seconds, send Enter/Tab/Escape/Ctrl+U to the terminal, etc. This way the whole transcript for the demo is stored in a text file. If I need to change something in the future, I can just edit the text file, rerun `autodemo`, and then sit back and wait. Here's a link to the script: https://github.com/bbugyi200/scripts/blob/master/bin/main/autodemo
As an example, take this transcript file: https://github.com/bbugyi200/localalias/blob/master/docs/img/demo.txt
I used that file (with `autodemo`) to produce the GIF that is in the README of this project: https://github.com/bbugyi200/localalias
Anyway, I wanted to know if anyone has heard of something like this that I should be using instead? Or if this little script actually has any value? I fully expect the former and would rather use a more mature solution if available. Thanks in advance!
/r/Python
https://redd.it/8oj2mw
So I was creating a GIF for the GitHub README of a terminal project I am working on and, since I didn't want to have to do the demo all over again if I wanted to make a small change, I wrote a little program that automates the demonstration. What it does basically is read the keys I want to type from a text file that also has certain "flags" embedded in it that trigger events like changing the typing delay speed, sleep for N seconds, send Enter/Tab/Escape/Ctrl+U to the terminal, etc. This way the whole transcript for the demo is stored in a text file. If I need to change something in the future, I can just edit the text file, rerun `autodemo`, and then sit back and wait. Here's a link to the script: https://github.com/bbugyi200/scripts/blob/master/bin/main/autodemo
As an example, take this transcript file: https://github.com/bbugyi200/localalias/blob/master/docs/img/demo.txt
I used that file (with `autodemo`) to produce the GIF that is in the README of this project: https://github.com/bbugyi200/localalias
Anyway, I wanted to know if anyone has heard of something like this that I should be using instead? Or if this little script actually has any value? I fully expect the former and would rather use a more mature solution if available. Thanks in advance!
/r/Python
https://redd.it/8oj2mw
GitHub
bbugyi200/scripts
scripts - Scripts... Many of which are dependencies for my dotfiles repository
How to manage shared Python packages in a microservice architecture?
I'm in the process of decoupling and splitting our monolith app into a few different services. There are a few modules we'd like to turn into python packages in order to reuse across the board in the new services and I'm not sure what's the “standard” method to distribute and control the dependencies. How is everyone managing many private Python packages in a microservice architecture?
Is a private Pypi server required or can we use github directly? What about pip on the services consuming those packages? how is version management done? \(specifically bumping versions up...\)
Would love any kind of input.
Thanks!
/r/Python
https://redd.it/8ol9jg
I'm in the process of decoupling and splitting our monolith app into a few different services. There are a few modules we'd like to turn into python packages in order to reuse across the board in the new services and I'm not sure what's the “standard” method to distribute and control the dependencies. How is everyone managing many private Python packages in a microservice architecture?
Is a private Pypi server required or can we use github directly? What about pip on the services consuming those packages? how is version management done? \(specifically bumping versions up...\)
Would love any kind of input.
Thanks!
/r/Python
https://redd.it/8ol9jg
reddit
r/Python - How to manage shared Python packages in a microservice architecture?
2 votes and 1 so far on reddit
Beginner/I know the basics - Where to go next?
Hi, I took a python class this past semester and I have a decent handle on everything in Zelle's "Python Programming" (which goes through everything from functions to simulation/data collections/OOD) but so far I've just been solving random assigned problems, and I dont really know where to go next with Python. I've been doing a little bit with tkinter but I'm not sure how useful that even is. I feel like I learned a lot but I dont know where to go next, so if anyone has any advice I'd appreciate any help. My only idea so far is to look into using python with ArcGIS.
/r/Python
https://redd.it/8olzr7
Hi, I took a python class this past semester and I have a decent handle on everything in Zelle's "Python Programming" (which goes through everything from functions to simulation/data collections/OOD) but so far I've just been solving random assigned problems, and I dont really know where to go next with Python. I've been doing a little bit with tkinter but I'm not sure how useful that even is. I feel like I learned a lot but I dont know where to go next, so if anyone has any advice I'd appreciate any help. My only idea so far is to look into using python with ArcGIS.
/r/Python
https://redd.it/8olzr7
reddit
r/Python - Beginner/I know the basics - Where to go next?
2 votes and 0 so far on reddit
Structuring doubt
So, I always think thrice before laying out a new project structure, and I'm having hard time figuring this out. Let's say we have a deck of cards. But each card may have an unique effect. And you can have any number of that cards in the deck. Now, would each card be a subclass of a superclass "Card" implementing his methods? In that case, for multiple cards, should it have an instance for each card of that type in deck, or one instance used multiple times (with a list?)? ... Or should all cards be instance of a class Card, passing a "callback" function for their effects? Something better?
Thanks in advance for whoever can point me to the right direction!
/r/Python
https://redd.it/8okush
So, I always think thrice before laying out a new project structure, and I'm having hard time figuring this out. Let's say we have a deck of cards. But each card may have an unique effect. And you can have any number of that cards in the deck. Now, would each card be a subclass of a superclass "Card" implementing his methods? In that case, for multiple cards, should it have an instance for each card of that type in deck, or one instance used multiple times (with a list?)? ... Or should all cards be instance of a class Card, passing a "callback" function for their effects? Something better?
Thanks in advance for whoever can point me to the right direction!
/r/Python
https://redd.it/8okush
reddit
Structuring doubt • r/Python
So, I always think thrice before laying out a new project structure, and I'm having hard time figuring this out. Let's say we have a deck of...
Automating the boring stuff in Django using the check framework, ast and inspect
https://medium.com/@hakibenita/automating-the-boring-stuff-in-django-using-the-check-framework-3495fb550a6a
/r/IPython
https://redd.it/8ooj0c
https://medium.com/@hakibenita/automating-the-boring-stuff-in-django-using-the-check-framework-3495fb550a6a
/r/IPython
https://redd.it/8ooj0c
Medium
Automating the boring stuff in Django using the check framework
How we use inspect, ast and the Django system check framework to improve our development process.
About to go-live. I want to thank you.
Over the past 4 months, I went from knowing 0 about django to being able to build a service that will hopefully one day will produce some income for my family. It's been a rough ride at times, especially during those 70 \- 80 hour weeks \(still have a full time job\), but it's been worth it. I feel optimistic about the future.
I just want to thank everyone here. Remember, when you're answering a question, your answers and feedback make a real difference in the real world. Give yourselves a pat on the back. I wouldn't have been able to do this without you. With my new knowledge, I'm trying to pay it forward by commenting on SO as well as on here when I'm able to answer a question \(although most are still above my level of knowledge\).
Thanks again folks. You mean the world to me.
/r/django
https://redd.it/8onmo0
Over the past 4 months, I went from knowing 0 about django to being able to build a service that will hopefully one day will produce some income for my family. It's been a rough ride at times, especially during those 70 \- 80 hour weeks \(still have a full time job\), but it's been worth it. I feel optimistic about the future.
I just want to thank everyone here. Remember, when you're answering a question, your answers and feedback make a real difference in the real world. Give yourselves a pat on the back. I wouldn't have been able to do this without you. With my new knowledge, I'm trying to pay it forward by commenting on SO as well as on here when I'm able to answer a question \(although most are still above my level of knowledge\).
Thanks again folks. You mean the world to me.
/r/django
https://redd.it/8onmo0
reddit
r/django - About to go-live. I want to thank you.
26 votes and 8 so far on reddit
Debugging Python Applications with pdb
https://djangostars.com/blog/debugging-python-applications-with-pdb/
/r/Python
https://redd.it/8oj3dx
https://djangostars.com/blog/debugging-python-applications-with-pdb/
/r/Python
https://redd.it/8oj3dx
Software Development Blog & IT Tech Insights | Django Stars
Debugging Python Applications with PDB [Tutorial 2022]
A Python debugger is actually a bag full of tricks – Django Stars share a simple way to efficiently debug products with a wide range of useful features.
Creating and Processing Tensors in TensorFlow
http://www.pythonprogramming.in/learn-tensorflow-series/creating-and-processing-tensors.html
/r/Python
https://redd.it/8op7nh
http://www.pythonprogramming.in/learn-tensorflow-series/creating-and-processing-tensors.html
/r/Python
https://redd.it/8op7nh
Python Programming
What is a tensor in tensorflow? Tensorflow create and transform tensor.
[AF] Local install to hosting?
Hi /r/Flask , I have a decently sized app that is installed locally on my machine, what is the easiest way to publish it to the web?
Should I just put it on github and clone it from their to my web server?
Just seeing if there is anything I am missing.
Thank you.
/r/flask
https://redd.it/8nmuam
Hi /r/Flask , I have a decently sized app that is installed locally on my machine, what is the easiest way to publish it to the web?
Should I just put it on github and clone it from their to my web server?
Just seeing if there is anything I am missing.
Thank you.
/r/flask
https://redd.it/8nmuam
reddit
r/flask - [AF] Local install to hosting?
1 votes and 1 so far on reddit
Is there any way to make Django send only 1 email of each error?
Whenever Django has an error, it send me mail because I have ADMINS in settings. But it send me like about 16 duplicates of each error and they all look exactly the same, it's so unnecassary.
How can I make it send just one?
/r/djangolearning
https://redd.it/8opi5f
Whenever Django has an error, it send me mail because I have ADMINS in settings. But it send me like about 16 duplicates of each error and they all look exactly the same, it's so unnecassary.
How can I make it send just one?
/r/djangolearning
https://redd.it/8opi5f
reddit
r/djangolearning - Is there any way to make Django send only 1 email of each error?
1 votes and 6 so far on reddit
Help using GEOSGeometry.simplify with DRF
I have a few ideas, but wanted to reach out to see if someone has implemented this before and has suggestions on how to allow my DRF endpoints to implement simplify to reduce the transport size of some of my geometries. It appears to already support precision and removing dupes, but no way to reduce the size.
My best idea currently is to extend the GeometryField to\_representation to call .simplify after the current logic is executed. Would this work, and if so, where would be the best place in my application to update the model serializer mappings to use my new CustomGeometryField?
I was hoping to use it with the default ListView and Detail views so the URL would look something like this "/Railroads/?*tolerance=0.1**&**preserve\_topology=True" rather than creating a whole new endpoint just to implement this feature.*
Appreciate any help anyone could provide, as I am still fairly new to django!
/r/djangolearning
https://redd.it/8oo5n8
I have a few ideas, but wanted to reach out to see if someone has implemented this before and has suggestions on how to allow my DRF endpoints to implement simplify to reduce the transport size of some of my geometries. It appears to already support precision and removing dupes, but no way to reduce the size.
My best idea currently is to extend the GeometryField to\_representation to call .simplify after the current logic is executed. Would this work, and if so, where would be the best place in my application to update the model serializer mappings to use my new CustomGeometryField?
I was hoping to use it with the default ListView and Detail views so the URL would look something like this "/Railroads/?*tolerance=0.1**&**preserve\_topology=True" rather than creating a whole new endpoint just to implement this feature.*
Appreciate any help anyone could provide, as I am still fairly new to django!
/r/djangolearning
https://redd.it/8oo5n8
reddit
r/djangolearning - Help using GEOSGeometry.simplify with DRF
1 votes and 0 so far on reddit
What's everyone working on this week?
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your current project or your pet project; whatever you want to share.
/r/Python
https://redd.it/8or3n3
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your current project or your pet project; whatever you want to share.
/r/Python
https://redd.it/8or3n3
reddit
What's everyone working on this week? • r/Python
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your...
Multiprocessing vs. Multithreading in Python: What you need to know.
https://timber.io/blog/multiprocessing-vs-multithreading-in-python-what-you-need-to-know/
/r/Python
https://redd.it/8or2w5
https://timber.io/blog/multiprocessing-vs-multithreading-in-python-what-you-need-to-know/
/r/Python
https://redd.it/8or2w5
Data Visualization with Seaborn, Matplotlib and Bokeh easily explained (35+ Videos)
https://www.youtube.com/watch?v=z7ZINBk8EUk&list=PL998lXKj66MpNd0_XkEXwzTGPxY2jYM2d
/r/Python
https://redd.it/8oqett
https://www.youtube.com/watch?v=z7ZINBk8EUk&list=PL998lXKj66MpNd0_XkEXwzTGPxY2jYM2d
/r/Python
https://redd.it/8oqett
YouTube
Installing Seaborn and dependencies !!
Python, Data Visualization, Data Analysis, Data Science, Machine Learning
Python Chat with mitsuhiko and davidism about Flask on June 16
[Python Chat] is a video podcast by [Trey Hunner][] where viewers get to ask questions to be addressed live during the show. Armin and I will be chatting with Trey about Flask and Pallets on June 16th at [1pm PDT][].
[Click here to sign in and ask questions before it starts!][cast]
[Python Chat]: https://www.pythonchat.com/
[Trey Hunner]: https://twitter.com/treyhunner
[1pm PDT]: https://www.wolframalpha.com/input/?i=1pm+PDT+in+local+time
[cast]: https://www.crowdcast.io/e/flask2
[previous]: https://www.crowdcast.io/e/flask
/r/flask
https://redd.it/8ouc3i
[Python Chat] is a video podcast by [Trey Hunner][] where viewers get to ask questions to be addressed live during the show. Armin and I will be chatting with Trey about Flask and Pallets on June 16th at [1pm PDT][].
[Click here to sign in and ask questions before it starts!][cast]
[Python Chat]: https://www.pythonchat.com/
[Trey Hunner]: https://twitter.com/treyhunner
[1pm PDT]: https://www.wolframalpha.com/input/?i=1pm+PDT+in+local+time
[cast]: https://www.crowdcast.io/e/flask2
[previous]: https://www.crowdcast.io/e/flask
/r/flask
https://redd.it/8ouc3i
Pythonchat
Python Chat
Live video chats for Python developers