Skip to main content

Client for the Landscape API (Python 3)

Project description

Landscape API (Python 3)

https://img.shields.io/pypi/v/landscape_api_py3.svg https://img.shields.io/travis/jurya/landscape_api_py3.svg Documentation Status

Client for the Landscape API (Python 3)

Features

  • easy installation from PyPI (you can use pipenv, pip, pipex, Chocolatey, …)

  • working on Windows (pipx create landscape-api.exe shim)

  • working with Python>=v3.8 (easily from landscape_api_py3.base import API)

  • for quick use can be installed with pipx install landscape_api_py3

Known issues

  • none (issues with dependencies resolved in v0.3.0)

Installation of the package

$ pipx install landscape_api_py3

Usage

$ landscape-api [OPTIONS] ACTION [ACTION OPTIONS] [ARGS]

For help:

$ landscape-api –help

Before use it’s recommended to configure these ENV VARS: LANDSCAPE_API_KEY, LANDSCAPE_API_SECRET, LANDSCAPE_API_URI

Credits

Based on package landscape-api from Canonical Ltd. This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

v0.4.1 (2020-06-10)

  • fixed bug with imports - now it’s compatible with Canonical landscape-api

v0.3.5 (2020-06-10)

  • minor fixes

v0.3.4 (2020-06-09)

  • replaced pycurl –> requests

v0.2.0alpha (2020-06-08) - First pre-release of landscape-api package

  • 🎉 first ALPHA non-production version release of landscape-api ported to Python v3.8

Known issues (v0.2.0alpha):

  • on Windows download CA certificate file from https://curl.haxx.se/ca/cacert.pem and use –ssl-ca-file or LANDSCAPE_API_SSL_CA_FILE (see Landscape API documentation here)

  • on Linux depends on gnutls and libssl (require pycurl package for installation)

Before installation of the package (v0.2.0alpha):

  • on Ubuntu 16.04 (Xenial Xerus) use sudo apt-get install -y libgnutls-dev

  • on Ubuntu 20.04 (Focal Fossa) use sudo apt-get install -y libgnutls28-dev libcurl4-openssl-dev libssl-dev

  • on Windows 10 simply use pipx install landscape_api_py3

0.1.3 (2020-06-07)

  • first release on PyPI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

landscape_api_py3-0.4.1.tar.gz (24.2 kB view hashes)

Uploaded Source

Built Distribution

landscape_api_py3-0.4.1-py2.py3-none-any.whl (35.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page