Digitally, Mani

Digitally powering business transformation

  • BLOG

  • SUBSCRIBE

  • ABOUT ME

  • CONTACT

  • More

    Use tab to navigate through the menu items.
    • All Posts
    • Tech
    • Code
    • Leadership
    • Workplace
    • Career
    • Travel
    • Agile
    Search
    How to Build a RSS Parser in Python?
    Digitally Mani
    • Mar 23, 2020
    • 3 min
    Code

    How to Build a RSS Parser in Python?

    RSS is a way to distribute content on your website or meta-tag assets and distribute them to various platforms like Apple News, iTunes, Flipboard, and scores of other similar platforms. Owing to its support to perform Big-Data, Natural Language Processing, and simplicity Python has emerged as a popular programming language. This tutorial helps you build a RSS Parser using Python. Installing FeedParser Before going any further into coding system, please ensure you have Python
    342 views0 comments
    How to Parse Namespaces using the Python RSS Parser?
    Digitally Mani
    • Jan 28, 2017
    • 2 min
    Code

    How to Parse Namespaces using the Python RSS Parser?

    In the last tutorial, we learned about how to build a Python based RSS Parser. Continuing that conversation and building on that tutorial, let’s now look at parsing Namespaces and Namespace specific elements. Getting Ready For the purpose of this tutorial, we will use the WhizRssAggregator.py file that we created in the previous tutorial. Parsing Namespaces Let’s extend the RSS Aggregator file below. import feedparser class WhizRssAggregator(): feedurl = "" def __init__(sel
    31 views0 comments
    Specifying a Python Version for Cloud Foundry
    Digitally Mani
    • Jul 20, 2016
    • 2 min
    Code

    Specifying a Python Version for Cloud Foundry

    When you use Cloud Foundry to build Python based solutions like Django, you end up running into the issue of Python versions. By default Cloud Foundry, defaults the Python version to 2.7.11. Between version 2.7.11 and the latest 3.5.x, Python has made a lot of changes and even simple string processing functions could potentially error out. Create a runtime.txt The best way to solve for this is to create a runtime.txt in the root folder of your application. This is the same lo
    26 views0 comments
    Model Inheritance in Python Django
    Digitally Mani
    • Jul 4, 2016
    • 2 min
    Code

    Model Inheritance in Python Django

    Amongst, other things, Django as a powerful framework allows you to directly map your object-oriented models to a database table structures and in doing so also builds relationships in the backend. A big part of object-oriented programming is Inheritance and the tutorial below demonstrates how to create 1:1 relationship between models. Basic Background Let’s assume that you are creating a site that has a base model called content that stores basic aspects of a content like ti
    48 views0 comments

    © 2023 by Mani Gopalakrishnan

    Thanks for submitting!

    Follow

    • Facebook
    • Twitter
    • LinkedIn
    • Instagram