Sessions at DjangoCon US 2011 about Python on Thursday 8th September

Your current filters are…

Clear
  • Teaching Django to Comrades

    by Issac Kelly

    Inevitably you're going to run into somebody who wants to learn Django, or maybe both Python and Django. This talk will help you make it less painful for them.

    20 months ago, Issac started learning Django and Python on his own. He got miserably stuck and did lots of things poorly. With a load of help from the community, 6 months later he was competent, and confident enough to use Django for his clients.

    Later that year, his company hired it's first employee, who also, didn't previously know Python or Django, and this summer, they hired an intern... who knew some Python, and no Django.

    Come see what we did to accelerate the process of going from 0 to $ in Django.

    At 1:30pm to 2:10pm, Thursday 8th September

  • Taming dependencies with pip

    by Carl Meyer

    Dependency management sucks. Pip provides some options for making it suck a bit less, but not all of them are immediately obvious. This talk will cover a number of strategies for making your deployments faster and more reliable, and demonstrate how to implement them in practice.

    Areas we'll cover:

    - Easy wins: requirements files, version-pinning, virtualenv, PyPI mirrors.

    - One single point of failure is bad, multiple single points of failure are worse: kick your PyPI addiction with find-links, bundling sdists, "vendoring", or your own package index. We'll go over how each of these looks in a real project, and the tradeoffs with each.

    This talk will assume basic knowledge of pip and requirements files; we'll be covering intermediate and advanced usage.

    At 3:30pm to 4:10pm, Thursday 8th September

  • Y'all Wanna Scrape with Us? Content Ain't a Thing: Web Scraping With Our Favourite Python Libraries

    by Katharine Jarmul

    Love or hate them, the top python scraping libraries have some hidden gems and tricks that you can use to enhance, update and diversify your Django models. This talk will teach you more advanced techniques to aggregate content from RSS feeds, Twitter, Tumblr and normal old web sites for your Django projects.

    OUTLINE

    • lxml fu: etree vs html
    • lxml faves: iterlinks, prev/next, strip_tags, linepos
    • incorporating xpath
    • building your xml views/templates with lxml (this bullet is optional: may not have time but would love to hear if folks might find this useful)
    • learning how to build a good JSON API handler: what you can learn from some amazing api handlers when you have to build your own
    • feedparser, HTMLParser, re: the quick & dirty ways to parse when LXML isn't fast enough

    At 3:30pm to 4:10pm, Thursday 8th September