Skip to content

Instantly share code, notes, and snippets.

Valdir Stumm Jr stummjr

Block or report user

Report or block stummjr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View types.markdown

This document has moved!

It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.

@kmike
kmike / robots_mw.py
Last active Feb 21, 2017
RobotsCrawlDelayMiddleware
View robots_mw.py
# -*- coding: utf-8 -*-
from __future__ import absolute_import
import logging
import urlparse
from reppy.parser import Rules
from scrapy import log
from scrapy.exceptions import NotConfigured
from scrapy.http import Request
@audreyr
audreyr / pypi-release-checklist.md
Last active Aug 7, 2019
My PyPI Release Checklist
View pypi-release-checklist.md
  • Update HISTORY.rst
  • Commit the changes:
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
  • Update version number (can also be minor or major)
bumpversion patch
You can’t perform that action at this time.