Posted On 31 July 2015 By MicroPyramid
Authentication backends allow the ability to change what method checks your users credentials.
For web services, ie Facebook authentication, you don't have access to user data like a password. Without password(not like random string) we can't create a user in django. Facebook connect provides you details of the currently authenticated user.
Posted On 30 July 2015 By MicroPyramid
In our previous blog post we got an idea of what are the things that Google's Page Speed Insights will take into count to give page socre, now in the present blog post we'll get to know what are the techniques we can use to improve the page scrore.
Posted On 10 July 2015 By MicroPyramid
Optical Character Recognition(OCR) is the process of electronically extracting text from images or any documents like PDF and reusing it in a variety of ways such as full text searches. In this blog, we will see, how to use 'Python-tesseract', an OCR tool for python. It will recognize and read the text present in images. It can read all image types - png, jpeg, gif, tiff, bmp etc. It’s widely used to process everything from scanned documents.
Posted On 16 June 2015 By MicroPyramid
Ansible Galaxy is the hub of ansible scripts contributed by users. To follow this article its important that you know about ansible. We have a simple, easy to follow blog about ansible scripting here(https://micropyramid.com/blog/how-to-deploy-django-with-uwsgi-and-nginx-using-ansible-play-book/).
Posted On 11 June 2015 By MicroPyramid
Factory Boy is a fixtures replacement tool. It allows you to use objects customized for the current test, while only declaring the test-specific fields. For testing the Django app, create a root directory named tests. Then create __init__.py, tests.py (to write your tests), factories.py (to write your model factories) in that directory.
Posted On 08 June 2015 By MicroPyramid
Google's Page Speed Insights measures the performance of a page for mobile devices and desktop devices. It fetches the url twice, once with a mobile user-agent, and once with a desktop-user agent.
The PageSpeed Score ranges from 0 to 100 points. A higher score is better and a score of 85 or above indicates that the page is performing well.
Posted On 24 May 2015 By MicroPyramid
Xlsxwriter is a python module through which we can write data to Excel 2007+ XLSX file format. In this blog post we learn to write data, insert images and draw graphs in the excel file.
Posted On 23 May 2015 By MicroPyramid
Shield allows you to protect elastic search data with a username and password. It provides additional functionalities like encryption, role-based access control, IP filtering. It is Official Plugin of Elasticsearch which embeds well with other elastic search products like kibana and log stash. Initially, Shield is available for 30days try after which you can renew the license
Posted On 21 May 2015 By MicroPyramid
Full text search is a custom implementation created by the MongoDB developers as a specific index type
Full text search as an index type when creating new indexes, just like any other.
1.Indexing of multiple fields, with weighting to give different fields higher priority.
2.Support for Latin based languages initially, with plans for other character sets later.