Python collections - Counter is to count the frequency of character, OrderedDict is to track the order of the contents in which they are added and defaultdict is to provide a default value for a nonexistent key for the dictionary element are explained with real time examples in part 2 of collections series.
Displaying and Customizing the images in django with sorl-thumbnail.
Coverage: It is a tool used for measuring the effectiveness of tests, showing the percentage of your codebase covered by tests.
Test Coverage is an important indicator of software quality and an essential part of software maintenance. It helps in evaluating the effectiveness of testing by providing data on different coverage items. It is a useful tool for finding untested parts of a code base. Test coverage is also called code coverage in certain cases.
Packaging python script to debian follows strict instructions, using the following instructions, most of the steps can be skipped hence making it easy and fast.
If you like video goto https://www.youtube.com/watch?v=a9GzDZB5VeU. This video doesn't show setup.py file creating which is required, but excluding that portion everything is same as below.
Gitlab is a great issue tracker. You can log your project activities like issue status, deadline etc in a git repository. Before that, you need to login to Gitlab and then go to the project where you need to create/manage issues .
IPython is a set of tools developed to make it easier for the programmers to work with Python and data. IPython provides extensions to the Python programming language that make working interactively convenient and efficient. IPython Notebook lets you write and execute code, analyze data in your web browser.
Using Linkedin integration, we can get the user verified email id, general information, work history in a less span of time, and a user can also share articles.
These Following steps are needed for Linkedin integration:
1. creating LinkedIn app
2. Authenticating user and getting an access token.
3. Get user information, work history using access token.
Let us now learn how to track exceptions and events in SENTRY. We will setup browser and server end tracking for Django Project.
Django provides the comfort database migrations from its version 1.8, with which we can avoid the usage of third party packages like south. Adding migrations to new apps is straightforward - they come preconfigured to accept migrations, and so just run make migrations once you’ve made some changes. But if your app already has models and database tables, and doesn’t have migrations yet or you got your migrations messed up, you’ll need to convert your app to use migrations.