Tag: python

  1. Updated

    Scrapy: The Web Scraping Framework for Python

    Category: Python, Web Development

    Scrapy is a fast high-level web crawling and web scraping framework. Notes on install, the interactive shell, spiders, items, pipelines, and debugging.

  2. Updated

    Parse datetime in Python and JavaScript

    Category: JavaScript, Python, Web Development

    Use dateutil and moment.js

  3. Updated

    Send Emails in Django

    Category: Python, Web Development

    Sending emails with Amazon SES, Mailgun, Zoho, or Gmail in Django.

  4. Updated

    Send Email Attachments with Unicode Filenames in Django

    Category: Python, Web Development

    Use MIMEApplication and set the attachment header yourself. Otherwise Gmail shows a Chinese filename as noname.

  5. Updated

    Debug your Django project

    Category: Python, Web Development

    How to debug in Django, the good way

  6. Updated

    coverage.py: Python code coverage

    Category: Python

    coverage.py is what coveralls.io and nose use under the hood. Basically the whole Python community does. Install, .coveragerc, and running it.

  7. Updated

    Travis-CI for Python: a .travis.yml example

    Category: Python, Web Development

    A working .travis.yml for a Python project: multiple envs, Python 2.7 and 3.3, apt packages, and coveralls after success.

  8. Updated

    How to Set a Variable in Django Templates?

    Category: Python, Web Development

    Creating a custom template tag for assigning variables in Django template.

  9. Updated

    lxml: Parse HTML or XML with XPath in Python

    Category: Python, Web Development

    It might look old school, but `lxml` is the most feature-rich and easy-to-use library for processing XML and HTML in Python.

  10. Updated

    Submit your Python Library to PyPI (Python Package Index)

    Category: Python

    Sharing your Python Packages on PyPI!