Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 8db3306

Browse files
authored
Release 1.5.0 (#127)
* Release 1.5.0 * Bump version: 1.4.0 → 1.5.0
1 parent ad008c6 commit 8db3306

File tree

8 files changed

+256
-169
lines changed

8 files changed

+256
-169
lines changed

HISTORY.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
History
33
=======
44

5+
1.5.0 (2019-02-27)
6+
------------------
7+
8+
* Added `flush()` method to `EventService` class.
9+
* Added `auto_refresh` support to `HTTPClient` `_apply_credentials()` method.
10+
* Removed `auto_retry` feature from `HTTPClient` class.
11+
* Refactored `HTTPClient` class `request()` method keyword argument overrides.
12+
* Removed unused `token_revoke_url` keyword argument.
13+
* Added support for API Explorer Developer Tokens to `Credentials` class.
14+
* Refactored `Credentials` `refresh()` method.
15+
516
1.4.0 (2018-10-04)
617
------------------
718

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ requests = "*"
2020
tinydb = "*"
2121

2222
[requires]
23-
python_version = "3.6"
23+
python_version = "3.7"

Pipfile.lock

Lines changed: 230 additions & 155 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Palo Alto Networks Cloud Python SDK
44

55
Python idiomatic SDK for the Palo Alto Networks Application Framework.
66

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

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

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

4041
Status
4142
------
4243

43-
The Palo Alto Networks Cloud Python SDK is considered **beta** at this time.
44+
The Palo Alto Networks Cloud Python SDK is considered **production/stable** at this time.
4445

4546
Installation
4647
------------
@@ -72,10 +73,10 @@ Obtaining and Using OAuth 2.0 Tokens
7273
------------------------------------
7374

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

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

pancloud/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""Main package for pancloud."""
44

55
__author__ = 'Palo Alto Networks'
6-
__version__ = '1.4.0'
6+
__version__ = '1.5.0'
77

88
from .directorysync import DirectorySyncService
99
from .event import EventService

requirements_dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ cryptography >= "1.7"
99
PyYAML >= "3.11"
1010
pytest >= "2.9.2"
1111
pytest-runner >= "2.11.1"
12-
pancloud >= "1.2.1"
12+
pancloud >= "1.4.0"

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.4.0
2+
current_version = 1.5.0
33
commit = True
44
tag = True
55

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
setup(
2626
name='pancloud',
27-
version='1.4.0',
27+
version='1.5.0',
2828
description="Python idiomatic SDK for the Palo Alto Networks Application Framework.",
2929
long_description=readme + '\n\n' + history,
3030
author="Steven Serrata",
@@ -37,7 +37,7 @@
3737
zip_safe=False,
3838
keywords='pancloud',
3939
classifiers=[
40-
'Development Status :: 4 - Beta',
40+
'Development Status :: 5 - Production/Stable',
4141
'Intended Audience :: Developers',
4242
'License :: OSI Approved :: ISC License (ISCL)',
4343
'Natural Language :: English',

0 commit comments

Comments
 (0)