Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Catalin George Festila: Python 3.7.5 : Set json with settings in Django project.

Link: http://python-catalin.blogspot.com/2020/01/python-375-set-json-with-settings-in.html

[mythcat@desk django]$ source env/bin/activate
(env) [mythcat@desk django]$ cd mysite/
(env) [mythcat@desk mysite]$ ls
db.sqlite3 manage.py mysite test001
(env) [mythcat@desk mysite]$ pwd
/home/myt
Julien Danjou: Atomic lock-free counters in Python

Link: https://julien.danjou.info/atomic-lock-free-counters-in-python/

At Datadog, we're really into metrics. We love them, we store them, but we also generate them. To do that, you need to juggle with integers that are incremented, also known as counters.While having an
Techiediaries - Django: MyCLI: A MySQL CLI Based on Python with Auto-completion and Syntax Highlighting

Link: https://www.techiediaries.com/mysql-cli-with-auto-completion-and-syntax-highlighting/

If you prefer to work with MySQL via its command-line interface, you'll like mycli which is a CLI tool with auto-completion and syntax highlighting built on top of Python and prompt_toolkit for buildi
Catalin George Festila: Python 3.7.5 : About Django REST framework.

Link: http://python-catalin.blogspot.com/2019/12/python-375-about-django-rest-framework.html

First, let's activate my Python virtual environment:
[mythcat@desk django]$ source env/bin/activate
I update my django version 3.0 up to 3.0.1.
(env) [mythcat@desk django]$ pip3 install --upgrade djan
Real Python: Using Pandas and Python to Explore Your Dataset

Link: https://realpython.com/pandas-python-explore-dataset/

Do you have a large dataset that’s full of interesting insights, but you’re not sure where to start exploring it? Has your boss asked you to generate some statistics from it, but they’re not so easy t
Vinta Software: Counting Queries: Basic Performance Testing in Django

Link: https://www.vinta.com.br/blog/2020/counting-queries-basic-performance-testing-in-django/

It's very common to read about testing techniques such as TDD and how to test application business logic. But testing the performance of an application is a whole different issue. There are many ways
Catalin George Festila: Python 3.7.5 : Post class and migration process.

Link: http://python-catalin.blogspot.com/2020/01/python-375-post-class-and-migration.html

Today I will solve some issues with the Django framework like:
create a new class for posts;
explain how the migration process works.
use the database with Django shell;
Let's activate the environmen
Kushal Das: 5 months of Internet shutdown in Kashmir and more fascist attacks in India

Link: https://kushaldas.in/posts/5-months-of-internet-shutdown-in-kashmir-and-more-fascist-attacks-in-india.html


From 5th August 2019, Kashmir is under a communication shutdown. SMS service
for a particular connection provider is now available for postpaid users, but
Internet is still down for all Indian citize
Erik Marsja: Pandas drop_duplicates(): How to Drop Duplicated Rows

Link: https://www.marsja.se/pandas-drop_duplicates-how-to-drop-duplicated-rows/?utm_source=rss&utm_medium=rss&utm_campaign=pandas-drop_duplicates-how-to-drop-duplicated-rows

The post Pandas drop_duplicates(): How to Drop Duplicated Rows appeared first on Erik Marsja.
In this post, we will learn how to use Pandas drop_duplicates() to remove duplicate records and combinatio
Hynek Schlawack: Better Python Object Serialization

Link: https://hynek.me/articles/serialization/

The Python standard library is full of underappreciated gems. One of them allows for simple and elegant function dispatching based on argument types. This makes it perfect for serialization of arbit
S. Lott: Patreon Book Idea

Link: http://slott-softwarearchitect.blogspot.com/2020/01/patreon-book-idea.html

See "Additional, Related Content". It's one of the posts here: https://www.patreon.com/slott. I think there's space for a Building Skills in Functional Python title next to the Building Skills in OO D
Python Software Foundation: Python Software Foundation Fellow Members for Q4 2019

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/J-QMrALXO0g/python-software-foundation-fellow.html

We are happy to announce our newest PSF Fellow Members for Q4!


Q4 2019



Humphrey Butau


Ngazetungue Muheue

Twitter

Pablo Galindo Salgado

GitHub, Twitter

Patrick Arminio

Twitter, Personal web
Real Python: Python args and kwargs: Demystified

Link: https://realpython.com/courses/python-kwargs-and-args/

Sometimes, when you look at a function definition in Python, you might see that it takes two strange arguments: *args and **kwargs. If you’ve ever wondered what these peculiar variables are, or why yo
Python Engineering at Microsoft: Python in Visual Studio Code – January 2020 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-january-2020-release/

We are pleased to announce that the January 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it dire
PyCoder’s Weekly: Issue #402 (Jan. 7, 2020)

Link: https://pycoders.com/issues/402

#402 – JANUARY 7, 2020 View in Browser » Last Python 2.7 Maintenance Release on April 2020 Python 2.7 is retired and became EOL on Jan 1, 2020. The last 2.7 release will be in April 2020. PYTHON
Dataquest: Tutorial: Python Regex (Regular Expressions) for Data Scientists

Link: https://www.dataquest.io/blog/regular-expressions-data-scientists/

In this tutorial, learn how to use regular expressions and the pandas library to manage large data sets during data analysis.
The post Tutorial: Python Regex (Regular Expressions) for Data Scientists