PyPy v7.0.0: triple release of 2.7, 3.5 and 3.6-alpha
https://morepypy.blogspot.com/2019/02/pypy-v700-triple-release-of-27-35-and.html
/r/Python
https://redd.it/apfvem
https://morepypy.blogspot.com/2019/02/pypy-v700-triple-release-of-27-35-and.html
/r/Python
https://redd.it/apfvem
Blogspot
PyPy v7.0.0: triple release of 2.7, 3.5 and 3.6-alpha
The PyPy team is proud to release the version 7.0.0 of PyPy, which includes three different interpreters: PyPy2.7, which is an interp...
Django security releases issued: 2.1.6, 2.0.11 and 1.11.19
https://www.djangoproject.com/weblog/2019/feb/11/security-releases/
/r/django
https://redd.it/apf8xx
https://www.djangoproject.com/weblog/2019/feb/11/security-releases/
/r/django
https://redd.it/apf8xx
reddit
r/django - Django security releases issued: 2.1.6, 2.0.11 and 1.11.19
19 votes and 2 comments so far on Reddit
Django bugfix releases: 2.1.7, 2.0.12 and 1.11.20
https://www.djangoproject.com/weblog/2019/feb/11/bugfix-releases/
/r/django
https://redd.it/apigyl
https://www.djangoproject.com/weblog/2019/feb/11/bugfix-releases/
/r/django
https://redd.it/apigyl
reddit
r/django - Django bugfix releases: 2.1.7, 2.0.12 and 1.11.20
2 votes and 0 comments so far on Reddit
Thoughts on using Django as a backend for a React/React Native location based app?
**Background**
I am more proficient in Django, and have begun looking into React in the past week. It looks like an exciting way to create a rich UI/UX + the ability to easily port to a native mobile experience with React Native. The tradeoff appears to be the added complexity that React brings to front end development (at least initially - I'd love some thoughts on this).
​
**My app**
* Will have a web interface
* However 95% of the usage will be from native mobile apps that would make requests back to the server
* 99% of my data will be geo spatial in nature - points & routes - so I was thinking of leveraging GeoDjango
* The app will be using location data intensively (pinging user location like every 5 minutes for hours).
​
**My question**
Does it make sense to use Django + Postgres for the backend/db to ultimately a mainly react/mobile experience? Or should I look more towards a full JS option? I have no idea what JS server framework I'd use, I am just raising the question to make sure I'm not missing a better solution to my problem.
​
Thanks in advance for your thoughts -
/r/django
https://redd.it/apgky8
**Background**
I am more proficient in Django, and have begun looking into React in the past week. It looks like an exciting way to create a rich UI/UX + the ability to easily port to a native mobile experience with React Native. The tradeoff appears to be the added complexity that React brings to front end development (at least initially - I'd love some thoughts on this).
​
**My app**
* Will have a web interface
* However 95% of the usage will be from native mobile apps that would make requests back to the server
* 99% of my data will be geo spatial in nature - points & routes - so I was thinking of leveraging GeoDjango
* The app will be using location data intensively (pinging user location like every 5 minutes for hours).
​
**My question**
Does it make sense to use Django + Postgres for the backend/db to ultimately a mainly react/mobile experience? Or should I look more towards a full JS option? I have no idea what JS server framework I'd use, I am just raising the question to make sure I'm not missing a better solution to my problem.
​
Thanks in advance for your thoughts -
/r/django
https://redd.it/apgky8
reddit
r/django - Thoughts on using Django as a backend for a React/React Native location based app?
4 votes and 10 comments so far on Reddit
Using Alembic to migrate money stored in Dollars as Floats to Money stored in Cents as BigInt?
I think the title says it all, but I really don't want to mess with this stuff without some sort of verdict.
I need to transfer some pricing data, currently stored as Floats, into BigInts using alembic.
I know HOW to do the migration, in the sense that I know how to change the floats to bigints - but what about the users who have their data stored as Floats currently - what's going to happen?
Is it possible to use alembic to transform those floats by some simple Python script (say like, int(old_value*100)) in my Alembic upgrade?
Thanks!
/r/flask
https://redd.it/apnjvs
I think the title says it all, but I really don't want to mess with this stuff without some sort of verdict.
I need to transfer some pricing data, currently stored as Floats, into BigInts using alembic.
I know HOW to do the migration, in the sense that I know how to change the floats to bigints - but what about the users who have their data stored as Floats currently - what's going to happen?
Is it possible to use alembic to transform those floats by some simple Python script (say like, int(old_value*100)) in my Alembic upgrade?
Thanks!
/r/flask
https://redd.it/apnjvs
reddit
r/flask - Using Alembic to migrate money stored in Dollars as Floats to Money stored in Cents as BigInt?
1 vote and 0 comments so far on Reddit
I wrote a guide on installing Jupyter notebooks on a server and running them with SSH tunneling or with SSL and Let's Encrypt
https://janakiev.com/blog/jupyter-notebook-server/
/r/Python
https://redd.it/aprniz
https://janakiev.com/blog/jupyter-notebook-server/
/r/Python
https://redd.it/aprniz
njanakiev
Installing and Running Jupyter on a Server
Jupyter Notebook is a powerful tool, but how can you use it in all its glory on a server? In this tutorial you will see how to set up Jupyter notebook on a server like Digital Ocean, AWS or most other hosting provider available. Additionally, you will see…
Image won't render with copy-pasted code unless I go to Edit > Insert Image
Hello everyone, I was trying to render an image by copying the code

and pasting it to my cell however nothing happens. It's only when I manually do Edit > Insert Image that it works... Is there a way to make images load through code?
Also can I make it like `` instead?
Thanks!
/r/IPython
https://redd.it/appegh
Hello everyone, I was trying to render an image by copying the code

and pasting it to my cell however nothing happens. It's only when I manually do Edit > Insert Image that it works... Is there a way to make images load through code?
Also can I make it like `` instead?
Thanks!
/r/IPython
https://redd.it/appegh
reddit
r/IPython - Image won't render with copy-pasted code unless I go to Edit > Insert Image
1 vote and 0 comments 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/aptowq
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/aptowq
reddit
r/Python - What's everyone working on this week?
0 votes and 5 comments so far on Reddit
Question : Exactly how much of the tasks should be done in templates
I am a beginner and still learning flask. So this might come off as a stupid question.
Jinja supports s bit of python-like code to be added to the html files. Depending on the coding style of the user, he/she can use multiple for loops and if-else blocks in templates.
In what kind of cases should the code be in jinja templates vs in route handlers.
Are there some best practices to be followed as to where to do what tasks(in templates vs route handlers)
​
Sorry for my poor English. Thank You :)
/r/flask
https://redd.it/apump6
I am a beginner and still learning flask. So this might come off as a stupid question.
Jinja supports s bit of python-like code to be added to the html files. Depending on the coding style of the user, he/she can use multiple for loops and if-else blocks in templates.
In what kind of cases should the code be in jinja templates vs in route handlers.
Are there some best practices to be followed as to where to do what tasks(in templates vs route handlers)
​
Sorry for my poor English. Thank You :)
/r/flask
https://redd.it/apump6
reddit
r/flask - Question : Exactly how much of the tasks should be done in templates
2 votes and 2 comments so far on Reddit
34 Amazing Python Open Source Libraries (v.2019)
https://medium.com/@Mybridge/34-amazing-python-open-source-libraries-for-the-past-year-v-2019-93d6ee11aceb
/r/Python
https://redd.it/apsa3c
https://medium.com/@Mybridge/34-amazing-python-open-source-libraries-for-the-past-year-v-2019-93d6ee11aceb
/r/Python
https://redd.it/apsa3c
Medium
34 Amazing Python Open Source Libraries for the Past Year (v.2019)
For the past year, we’ve compared nearly 10,000 open source Python libraries and selected 34 most useful tools to help your development.
Python joke in How to Kill the Dragon with 9 Programming Languages
I'm sure developers have seen [this](https://blog.toggl.com/kill-dragon-comic/) comic strip, they also have the GIT princess comic.
I don't understand the part about Python, is the underlying joke about importing libraries for a specific task?
/r/Python
https://redd.it/apw2b0
I'm sure developers have seen [this](https://blog.toggl.com/kill-dragon-comic/) comic strip, they also have the GIT princess comic.
I don't understand the part about Python, is the underlying joke about importing libraries for a specific task?
/r/Python
https://redd.it/apw2b0
Replacing venvs with __pypackages__
https://www.python.org/dev/peps/pep-0582/
/r/Python
https://redd.it/apxxh4
https://www.python.org/dev/peps/pep-0582/
/r/Python
https://redd.it/apxxh4
Python Enhancement Proposals (PEPs)
PEP 582 – Python local packages directory | peps.python.org
This PEP proposes extending the existing mechanism for setting up sys.path to include a new __pypackages__ directory, in addition to the existing locations. The new directory will be added at the start of sys.path, after the current working directory an...
I streamed myself creating an animated, ASCII-art aquarium that runs in the terminal.
I created an animated, ASCII-art aquarium that runs in the terminal. https://github.com/asweigart/PythonStdioGames/blob/master/src/aquarium.py
You'll need to run `pip install bext` first (Bext provides cross-platform, curses-like features to have color text, move the text cursor to x, y locations, etc. Docs at https://github.com/asweigart/bext )
The stream I made this on will only be up for a few days, but the link is here: https://www.twitch.tv/videos/379310819
I plan on making a edited, polished video of the process of making this in the future. (The stream is 5 hours long and rather disjointed, the video will be a 15 or 20 minute thing.)
/r/Python
https://redd.it/apys8k
I created an animated, ASCII-art aquarium that runs in the terminal. https://github.com/asweigart/PythonStdioGames/blob/master/src/aquarium.py
You'll need to run `pip install bext` first (Bext provides cross-platform, curses-like features to have color text, move the text cursor to x, y locations, etc. Docs at https://github.com/asweigart/bext )
The stream I made this on will only be up for a few days, but the link is here: https://www.twitch.tv/videos/379310819
I plan on making a edited, polished video of the process of making this in the future. (The stream is 5 hours long and rather disjointed, the video will be a 15 or 20 minute thing.)
/r/Python
https://redd.it/apys8k
GitHub
asweigart/PythonStdioGames
A compilation of text-based games written in Python that only use "standard i/o". - asweigart/PythonStdioGames
I'm doing a series on computer photography in jupyter notebook form
Here is a demo of what I have so far:
[https://github.com/VideoForensics/computerPhotography](https://github.com/VideoForensics/computerPhotography)
What are some best practices I should incorporate?
/r/IPython
https://redd.it/apyizu
Here is a demo of what I have so far:
[https://github.com/VideoForensics/computerPhotography](https://github.com/VideoForensics/computerPhotography)
What are some best practices I should incorporate?
/r/IPython
https://redd.it/apyizu
GitHub
VideoForensics/computerPhotography
Contribute to VideoForensics/computerPhotography development by creating an account on GitHub.