Skip to content

Commit

Permalink
Release 1.5.0 (#127)
Browse files Browse the repository at this point in the history
* Release 1.5.0

* Bump version: 1.4.0 → 1.5.0
  • Loading branch information
sserrata authored Feb 27, 2019
1 parent ad008c6 commit 8db3306
Show file tree
Hide file tree
Showing 8 changed files with 256 additions and 169 deletions.
11 changes: 11 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
History
=======

1.5.0 (2019-02-27)
------------------

* Added `flush()` method to `EventService` class.
* Added `auto_refresh` support to `HTTPClient` `_apply_credentials()` method.
* Removed `auto_retry` feature from `HTTPClient` class.
* Refactored `HTTPClient` class `request()` method keyword argument overrides.
* Removed unused `token_revoke_url` keyword argument.
* Added support for API Explorer Developer Tokens to `Credentials` class.
* Refactored `Credentials` `refresh()` method.

1.4.0 (2018-10-04)
------------------

Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ requests = "*"
tinydb = "*"

[requires]
python_version = "3.6"
python_version = "3.7"
385 changes: 230 additions & 155 deletions Pipfile.lock

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Palo Alto Networks Cloud Python SDK

Python idiomatic SDK for the Palo Alto Networks Application Framework.

The Palo Alto Networks Cloud Python SDK, or `pancloud`, was created to assist developers with
The Palo Alto Networks Cloud Python SDK (or `pancloud` for short) was created to assist developers with
programmatically interacting with the Palo Alto Networks Application Framework.

The primary goal is to provide full, low-level API coverage for the following Application Framework services:
Expand Down Expand Up @@ -32,15 +32,16 @@ Features
--------

- HTTP client wrapper for the popular Requests library with full access to its features.
- Language bindings for Logging Service, Event Service and Directory-Sync Service.
- Language bindings for Logging Service, Event Service and Directory Sync Service.
- Helper methods for performing common tasks, such as log/event pagination.
- Credentials support for OAuth 2.0.
- Support for OAuth 2.0 grant code authorization flow.
- Library of example scripts illustrating how to leverage `pancloud`.
- Support for API Explorer Developer Tokens (Introduced in v1.5.0).

Status
------

The Palo Alto Networks Cloud Python SDK is considered **beta** at this time.
The Palo Alto Networks Cloud Python SDK is considered **production/stable** at this time.

Installation
------------
Expand Down Expand Up @@ -72,10 +73,10 @@ Obtaining and Using OAuth 2.0 Tokens
------------------------------------

Work with your Developer Relations representative to register your
application to receive the credentials needed to obtain an `access_token`.
You'll need a `client_id`, `client_secret`, and `refresh_token`.
`API Explorer <https://github.com/PaloAltoNetworks/apiexplorer>`__ may optionally be used to perform
OAuth 2.0 and fetch tokens.
application and receive the credentials needed to obtain an `access_token`.
Normally, this requires a `client_id`, `client_secret`, and `refresh_token`.
API Explorer may optionally be used to generate a Developer Token, which can
be used in place of the `client_id`, `client_secret`, and `refresh_token`.

For more information visit the following RTD page: `Credentials <https://pancloud.readthedocs.io/en/latest/guides/credentials.html>`__

Expand Down
2 changes: 1 addition & 1 deletion pancloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""Main package for pancloud."""

__author__ = 'Palo Alto Networks'
__version__ = '1.4.0'
__version__ = '1.5.0'

from .directorysync import DirectorySyncService
from .event import EventService
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ cryptography >= "1.7"
PyYAML >= "3.11"
pytest >= "2.9.2"
pytest-runner >= "2.11.1"
pancloud >= "1.2.1"
pancloud >= "1.4.0"
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.4.0
current_version = 1.5.0
commit = True
tag = True

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

setup(
name='pancloud',
version='1.4.0',
version='1.5.0',
description="Python idiomatic SDK for the Palo Alto Networks Application Framework.",
long_description=readme + '\n\n' + history,
author="Steven Serrata",
Expand All @@ -37,7 +37,7 @@
zip_safe=False,
keywords='pancloud',
classifiers=[
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Natural Language :: English',
Expand Down

0 comments on commit 8db3306

Please sign in to comment.