Skip to main content

cpauto

PyPI

Build Status

cpauto is a client library, written in Python, for the web APIs exposed via Check Point R80 management server software. The Check Point R80 management APIs provide automation and integration capabilities that were not available in previous versions of Check Point management server software.

https://sc1.checkpoint.com/documents/R80/APIs/#introduction

Behold, the power of cpauto:

>>> import cpauto
>>> cc = cpauto.CoreClient('admin', 'vpn123', '10.6.9.81')
>>> r = cc.login()
>>> r.status_code
200
>>> r.json()
{u'last-login-was-at': {u'posix': 1478636363481, u'iso-8601': u'2016-11-08T15:19-0500'}, u'uid': ...}
>>> n = cpauto.Network(cc)
>>> r = n.add('net_mgmt', { 'subnet': '10.6.9.0', 'subnet-mask': '255.255.255.0' })
>>> r.status_code
200
>>> r.json()
{u'domain': {u'domain-type': u'domain', u'name': u'SMC User', u'uid': u'41e821a0-3720-11e3-aa6e-0800200c9fde'}, ...}
>>> r = cc.publish()
>>> r.status_code
200
>>> r.json()
{u'task-id': u'01234567-89ab-cdef-8b0a-92e9635a47d3'}
>>> r = cc.logout()
>>> r.status_code
200
>>> r.json()
{u'message': u'OK'}

Installation

To install cpauto, simply:

$ pip install cpauto

Enjoy.

Documentation

Documentation Status

Copious documentation is available at: http://cpauto.readthedocs.io/

Release History

0.0.5 (2017-01-31)

New Features

  • Full support for threat profiles.

Bug Fixes

  • Fixed issue discovered in the wait for task logic.

0.0.4 (2016-12-09)

New Features

  • Full support for sessions.

  • The core client now optionally waits for tasks.

Miscellaneous

  • Documentation is updated and hosted via readthedocs.io.

0.0.3 (2016-11-23)

New Features

  • Full support for service and application objects.

Miscellaneous

  • All code confirmed to work with Python versions 2.7, 3.5, and in between.

0.0.2 (2016-11-21)

New Features

  • Full support for access and NAT objects.

  • Support for some misc. powerful features.

0.0.1 (2016-11-15)

Features

  • Full support for policy package, simple gateway, host, group and network objects.

Metadata

Release files for cpauto 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cpauto 0.0.5
File Size Uploaded Provenance
cpauto-0.0.5.tar.gz 18.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cpauto 0.0.5
File Interpreter ABI Platform
cpauto-0.0.5-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 47.4 kB

Release files / cpauto-0.0.5.tar.gz

Download URL cpauto-0.0.5.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bfe46e08428f5b8f25d4caf50c10330251a1135d5b64f649cb000a7574a91b4c
BLAKE2b-256 checksum
How to use checksums
1393c5311e74e694307f833138166238251779186244dfe5333c2be9a809a86a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cpauto-0.0.5-py2.py3-none-any.whl

Download URL cpauto-0.0.5-py2.py3-none-any.whl
Size 29.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f51b23637117d3c3f1f45056ae5f2a3c59e256525b7d1c0bf18da4f016b7de86
BLAKE2b-256 checksum
How to use checksums
898b4246b0c7882424999dcfabd8037e535666c2055c8279829c7f774ed32eb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cpauto 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page