Skip to content

Commit

Permalink
chore(release): 1.8.0
Browse files Browse the repository at this point in the history
## [1.8.0](v1.7.3...v1.8.0) (2023-01-13)

### Features

* Add per-admin push for Panorama ([#485](#485)) ([bf26305](bf26305))

### Bug Fixes

* **panos.updater.SoftwareUpdater.install:** Fix for load_config parameter ([#447](#447)) ([3e2e926](3e2e926))
  • Loading branch information
semantic-release-bot committed Jan 13, 2023
1 parent 4214de0 commit 689d9c3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 77 deletions.
2 changes: 1 addition & 1 deletion panos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

__author__ = "Palo Alto Networks"
__email__ = "[email protected]"
__version__ = "1.7.3"
__version__ = "1.8.0"


import logging
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pan-os-python"
version = "1.7.3"
version = "1.8.0"
description = "Framework for interacting with Palo Alto Networks devices via API"
authors = ["Palo Alto Networks <[email protected]>"]
license = "ISC"
Expand Down
95 changes: 20 additions & 75 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,82 +1,27 @@
# -*- coding: utf-8 -*-
from setuptools import setup

# DO NOT EDIT THIS FILE!
# This file has been autogenerated by dephell <3
# https://github.com/dephell/dephell
packages = ["panos"]

try:
from setuptools import setup
except ImportError:
from distutils.core import setup
package_data = {"": ["*"]}

install_requires = ["pan-python>=0.17.0,<0.18.0"]

import os.path
setup_kwargs = {
"name": "pan-os-python",
"version": "1.8.0",
"description": "Framework for interacting with Palo Alto Networks devices via API",
"long_description": 'Palo Alto Networks PAN-OS SDK for Python\n========================================\n\nThe PAN-OS SDK for Python (pan-os-python) is a package to help interact with\nPalo Alto Networks devices (including physical and virtualized Next-generation\nFirewalls and Panorama). The pan-os-python SDK is object oriented and mimics\nthe traditional interaction with the device via the GUI or CLI/API.\n\n* Documentation: http://pan-os-python.readthedocs.io\n\n-----\n\n[![Latest version released on PyPi](https://img.shields.io/pypi/v/pan-os-python.svg)](https://pypi.python.org/pypi/pan-os-python)\n[![Python versions](https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7%20%7C%203.8-blueviolet)](https://pypi.python.org/pypi/pan-os-python)\n[![License](https://img.shields.io/pypi/l/pan-os-python)](https://github.com/PaloAltoNetworks/pan-os-python/blob/develop/LICENSE)\n[![Documentation Status](https://img.shields.io/badge/docs-latest-brightgreen.svg)](http://pan-os-python.readthedocs.io/en/latest/?badge=latest)\n[![Chat on GitHub Discussions](https://img.shields.io/badge/chat%20on-GitHub%20Discussions-brightgreen)](https://github.com/PaloAltoNetworks/pan-os-python/discussions)\n\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org/)\n[![Powered by DepHell](https://img.shields.io/badge/Powered%20by-DepHell-red)](https://github.com/dephell/dephell)\n[![GitHub contributors](https://img.shields.io/github/contributors/PaloAltoNetworks/pan-os-python)](https://github.com/PaloAltoNetworks/pan-os-python/graphs/contributors/)\n\n-----\n\nFeatures\n--------\n\n- Object model of Firewall and Panorama configuration\n- Multiple connection methods including Panorama as a proxy\n- All operations natively vsys-aware\n- Support for high availability pairs and retry/recovery during node failure\n- Batch User-ID operations\n- Device API exception classification\n\nStatus\n------\n\nPalo Alto Networks PAN-OS SDK for Python is considered stable. It is fully tested\nand used in many production environments. Semantic versioning is applied to indicate\nbug fixes, new features, and breaking changes in each version.\n\nInstall\n-------\n\nInstall using pip:\n\n```shell\npip install pan-os-python\n```\n\nUpgrade to the latest version:\n\n```shell\npip install --upgrade pan-os-python\n```\n\nIf you have poetry installed, you can also add pan-os-python to your project:\n \n```shell\npoetry add pan-os-python\n```\n\nHow to import\n-------------\n\nTo use pan-os-python in a project:\n\n```python\nimport panos\n```\n\nYou can also be more specific about which modules you want to import:\n\n```python\nfrom panos import firewall\nfrom panos import network\n```\n\n\nA few examples\n--------------\n\nFor configuration tasks, create a tree structure using the classes in\neach module. Nodes hierarchy must follow the model in the\n[Configuration Tree](http://pan-os-python.readthedocs.io/en/latest/configtree.html).\n\nThe following examples assume the modules were imported as such:\n\n```python\nfrom panos import firewall\nfrom panos import network\n```\n\nCreate an interface and commit:\n\n```python\nfw = firewall.Firewall("10.0.0.1", api_username="admin", api_password="admin")\neth1 = network.EthernetInterface("ethernet1/1", mode="layer3")\nfw.add(eth1)\neth1.create()\nfw.commit()\n```\n\nOperational commands leverage the \'op\' method of the device:\n\n```python\nfw = firewall.Firewall("10.0.0.1", api_username="admin", api_password="admin")\nprint fw.op("show system info")\n```\n\nSome operational commands have methods to refresh the variables in an object:\n\n```python\n# populates the version, serial, and model variables from the live device\nfw.refresh_system_info()\n```\n\nSee more examples in the [Usage Guide](http://pan-os-python.readthedocs.io/en/latest/usage.html).\n\nUpgrade from pandevice\n----------------------\n\nThis `pan-os-python` package is the evolution of the older `pandevice` package. To\nupgrade from `pandevice` to `pan-os-python`, follow these steps.\n\nStep 1. Ensure you are using python3\n\n [Python2 is end-of-life](https://www.python.org/doc/sunset-python-2/) and not\n supported by `pan-os-python`.\n\nStep 2. Uninstall pandevice:\n\n```shell\npip uninstall pandevice\n # or\npoetry remove pandevice\n```\n\nStep 3. Install pan-os-python:\n\n```shell\npip3 install pan-os-python\n # or\npoetry add pan-os-python\n```\n\nStep 4. Change the import statements in your code from `pandevice` to `panos`. For example:\n\n```python\nimport pandevice\nfrom pandevice.firewall import Firewall\n\n # would change to\n\nimport panos\nfrom panos.firewall import Firewall\n```\n\nStep 5. Test your script or application\n\n There are no known breaking changes\n between `pandevice v0.14.0` and `pan-os-python v1.0.0`, but it is a major\n upgrade so please verify everything works as expected.\n\nContributors\n------------\n\n- Brian Torres-Gil - [btorresgil](https://github.com/btorresgil)\n- Garfield Freeman - [shinmog](https://github.com/shinmog)\n- John Anderson - [lampwins](https://github.com/lampwins)\n- Aditya Sripal - [AdityaSripal](https://github.com/AdityaSripal)\n\nThank you to [Kevin Steves](https://github.com/kevinsteves), creator of the [pan-python library](https://github.com/kevinsteves/pan-python)\n',
"author": "Palo Alto Networks",
"author_email": "[email protected]",
"maintainer": None,
"maintainer_email": None,
"url": "https://github.com/PaloAltoNetworks/pan-os-python",
"packages": packages,
"package_data": package_data,
"install_requires": install_requires,
"python_requires": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
}

readme = ""
here = os.path.abspath(os.path.dirname(__file__))
readme_path = os.path.join(here, "README.rst")
if os.path.exists(readme_path):
with open(readme_path, "rb") as stream:
readme = stream.read().decode("utf8")


setup(
long_description=readme,
name="pan-os-python",
version="1.7.3",
description="Framework for interacting with Palo Alto Networks devices via API",
python_requires="!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<4.0,>=2.7",
project_urls={
"documentation": "https://pan-os-python.readthedocs.io",
"homepage": "https://github.com/PaloAltoNetworks/pan-os-python",
"repository": "https://github.com/PaloAltoNetworks/pan-os-python",
},
author="Palo Alto Networks",
author_email="[email protected]",
license="ISC",
keywords="panos pan-os-python",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: ISC License (ISCL)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
packages=["examples", "panos"],
package_dir={"": "."},
package_data={"examples": ["*.md"]},
install_requires=["pan-python==0.*,>=0.17.0"],
extras_require={
"dev": [
"bandit==1.*,>=1.6.2",
'black==19.*,>=19.10.0; python_version == "3.*" and python_version >= "3.6.0"',
'dephell==0.*,>=0.8.3; python_version == "3.*" and python_version >= "3.6.0"',
'fissix==19.*,>=19.2.0; python_version == "3.*" and python_version >= "3.6.0"',
"flake8==3.*,>=3.7.9",
'flake8-bugbear==20.*,>=20.1.2; python_version == "3.*" and python_version >= "3.6.0"',
"flake8-builtins==1.*,>=1.4.2",
'flake8-comprehensions==3.*,>=3.1.4; python_version == "3.*" and python_version >= "3.5.0"',
"flake8-docstrings==1.*,>=1.5.0",
'flake8-eradicate==0.*,>=0.2.4; python_version == "3.*" and python_version >= "3.6.0"',
"flake8-logging-format==0.*,>=0.6.0",
"flake8-mock==0.*,>=0.3.0",
"flake8-mutable==1.*,>=1.2.0",
"flake8-pep3101==1.*,>=1.3.0",
"flake8-pytest==1.*,>=1.3.0",
"flake8-string-format==0.*,>=0.2.3",
"flake8-variables-names==0.*,>=0.0.3",
"isort==4.*,>=4.3.21",
"m2r==0.*,>=0.2.1",
"pep8-naming==0.*,>=0.9.1",
'pytest==5.*,>=5.3.2; python_version == "3.*" and python_version >= "3.5.0"',
'pytest-cov==2.*,>=2.8.1; python_version == "3.*" and python_version >= "3.5.0"',
'sphinx==2.*,>=2.3.1; python_version == "3.*" and python_version >= "3.5.0"',
'sphinx-autobuild==0.*,>=0.7.1; python_version == "3.*" and python_version >= "3.5.0"',
'sphinx-rtd-theme==0.*,>=0.4.3; python_version == "3.*" and python_version >= "3.5.0"',
]
},
)
setup(**setup_kwargs)

0 comments on commit 689d9c3

Please sign in to comment.