Personal tools
Skip to content. | Skip to navigation
pulp_rpm Plugin This is the pulp_rpm Plugin for Pulp Project 3.0+ < This plugin provides support for RPM family content types, similar to the pulp_rpm plugin for Pulp 2.For more information, please see the documentation < or the Pulp project page <>_.
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
Pulp Smash Pulp Smash is a toolkit for testing Pulp.
Pulp Glue The version agnostic Pulp 3 client library in python
Acquire, Organize, and Distribute Software Pulp is a platform for managing repositories of content, such as software packages, and pushing that content out to large numbers of consumers. Using Pulp you can: Locally mirror all or part of a repository Host your own content in a new repository Manage content from multiple sources in one place Promote content through different repos in an organized way
pure_eval This is a Python package that lets you safely evaluate certain AST nodes without triggering arbitrary code that may have unwanted side effects. It can be installed from PyPI: pip install pure_eval To demonstrate usage, suppose we have an object defined as follows: class Rectangle: def __init__(self, width, height): self.width = width self.height = height @property def area(self): print("Calculating area...") return self.width * self.height rect = Rectangle(3, 5) Given the rect object, we want to evaluate whatever expressions we can in this source code: source = "(rect.width, rect.height, rect.area)" This library works with the AST, so let's parse the source code and peek inside: import ast tree = ast.parse(source) the_tuple = tree.body[0].value for node in the_tuple.elts: print(ast.dump(node)) Output: Attribute(value=Name(id='rect', ctx=Load()), attr='width', ctx=Load()) Attribute(value=Name(id='rect', ctx=Load()), at