Pypuppetdb

Latest version: v3.2.0

Safety actively analyzes 629143 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

2.2.0

-----

- Loosen requirements and drop six

2.1.0

-----

- Bugfix: Fixed <span class="title-ref">metric()</span> function to
query the new v2 endpoint based on Jolokia
(<https://jolokia.org/reference/html/protocol.html>)
- Added a new parameter
<span class="title-ref">metric\_api\_version</span> to the
<span class="title-ref">BaseAPI()</span> constructor that allows
changing the version of the <span class="title-ref">metric</span>
API being queried. Valid values are
<span class="title-ref">'v1'</span> for PuppetDB \<= 6.9.0,
<span class="title-ref">'v2'</span> for PuppetDB \>= 6.9.1 or
<span class="title-ref">None</span> which defaults to
<span class="title-ref">'v2'</span>.
- Added a mew parameter <span class="title-ref">version</span> to the
<span class="title-ref">metric()</span> function that allows
overriding the version of the metric API being queried for that
individual call. If nothing is specified it will default to the
<span class="title-ref">self.metric\_api\_version</span> of the
class, else it expects a value of
<span class="title-ref">'v1'</span> or
<span class="title-ref">'v2'</span> same as the
<span class="title-ref">metric\_api\_version</span> class parameter.
- Added new <span class="title-ref">payload</span> parameter to
<span class="title-ref">\_query()</span> to allow users to send
arbitrary payloads with their queries (useful for debugging).

2.0.0

-----

- Dropping old python 2.7/3.5 and ensuring 3 latest versions are
supported
- Adding mypy + cleanup + further removal of python2 code
- Bugfix: Httpretty is not used outside tests and breaks install on
newer python versions for some systems

1.2.0

-----

- Add option to get nodes without using event-counts
- define the project status as stable
- bundle requirements-test.txt in python package

1.1.0

-----

- deduplicate dependencylist
- QueryBuilder.py: Use native data structures for internal
representation
- Add support for the Command API, /pdb/cmd/v1. Added \_cmd alongside
\_query to minimise changes to original code

1.0.0

-----

- Bump dependencies
- QueryBuilder: Added support for FromOperator, arrays and
FromOperator
- New endpoint: status
- POST query in request body
- Simplify JSON encoding for POST
- Upload and publish is built in to setuptools

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.