bag.web.pyramid.robots module¶
Easily serve a robots.txt file using Pyramid.
- class bag.web.pyramid.robots.RobotFile[source]¶
Bases:
object
- rules: List[bag.web.pyramid.robots.Rule] = []¶
- class bag.web.pyramid.robots.Rule(user_agent, disallow, allow)[source]¶
Bases:
object
- items: List[Tuple[str, str]] = []¶