Abhijeet Pal: Adding Custom Model Managers In Django
A manager is an interface through which database query operations are provided to Django models. At least one Manager exists for every model in a Django application, objects is the default manager of...
View ArticlePaolo Amoroso: A List of Free Python Books
If you’re like me, you love learning by reading books.So, when I set out to learn the Python programming language in the last days of 2018, I started looking for good books. I googled, browsed Reddit,...
View ArticleCatalin George Festila: Python 3.7.5 : Testing the PyMongo package - part 001.
MongoDB and PyMongo are not my priorities for the new year 2020 but because they are quite evolved I thought to start presenting it within my free time. The PyMongo python package is a Python...
View ArticleWeekly Python StackOverflow Report: (ccix) stackoverflow python report
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-01-04 21:55:45 GMTObject is enumerable but not indexable? -...
View ArticleCatalin George Festila: Python 3.7.5 : Testing cryptography python package -...
There are many python packets that present themselves as useful encryption and decryption solutions. I recommend before you test them, use them and spend time with them to focus on the correct study of...
View ArticleCodementor: Getting started with Python - Reading Time: 6 Mins
Getting started with Python for the absolute beginners for 2020
View ArticlePodcast.__init__: Checking Up On Python's Role in DevOps
Python has been part of the standard toolkit for systems administrators since it was created. In recent years there has been a shift in how servers are deployed and managed, and how code gets released...
View ArticleJames Bennett: A Python Packaging Carol
I have endeavoured in this Ghostly little book, to raise the Ghost of an Idea, which shall not put my readers out of humour with themselves, with each other, with the season, or with me. May it haunt...
View ArticleMike Driscoll: PyDev of the Week: Bryan Weber
This week we welcome Bryan Weber (@darthbith) as our PyDev of the Week! Bryan is a contributor for Real Python and a core developer for Cantera. If you’d like to learn more about Bryan, you can check...
View ArticleCatalin George Festila: Python 3.7.5 : Set json with settings in Django project.
[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...
View ArticleJulien Danjou: 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...
View ArticleTechiediaries - Django: MyCLI: A MySQL CLI Based on Python with...
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...
View ArticleCatalin George Festila: Python 3.7.5 : About Django REST framework.
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...
View ArticleReal Python: Using Pandas and Python to Explore Your 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 to...
View ArticleVinta Software: 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...
View ArticleCatalin George Festila: Python 3.7.5 : Post class and migration process.
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 environment:...
View ArticleKushal Das: 5 months of Internet shutdown in Kashmir and more fascist attacks...
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 citizens...
View ArticleReuven Lerner: Looking back at 2019, looking forward to 2020
Hi, and welcome to 2020! The last year (2019) was quite a whirlwind for me and my work — and I thus wanted to take a few minutes to summarize what I’ve done over the past year. But the coming year...
View ArticleErik Marsja: 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 combinations...
View ArticleMike Driscoll: Top 10 Most Read Mouse vs Python Articles of 2019
2019 was a good year for my blog. While we didn’t end up getting a lot of new readers, we did receive a small bump. There has also been a lot more interest in the books that are available on this...
View Article