
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
landscape-api-py3
Advanced tools
.. image:: https://img.shields.io/pypi/v/landscape_api_py3.svg :target: https://pypi.python.org/pypi/landscape_api_py3
.. image:: https://img.shields.io/travis/jurya/landscape_api_py3.svg :target: https://travis-ci.org/jurya/landscape_api_py3
.. image:: https://github.com/JuryA/landscape_api_py3/workflows/Build%20tests/badge.svg :target: https://github.com/JuryA/landscape_api_py3
.. image:: https://readthedocs.org/projects/landscape-api-py3/badge/?version=latest :target: https://landscape-api-py3.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
.. image:: https://app.fossa.com/api/projects/git%2Bgithub.com%2FJuryA%2Flandscape_api_py3.svg?type=shield :target: https://app.fossa.com/projects/git%2Bgithub.com%2FJuryA%2Flandscape_api_py3?ref=badge_shield :alt: FOSSA Status
Client for the Landscape API (Python 3)
Check if you have installed Python v3.5 and above.
To install Landscape API (Python 3), run this command in your terminal:
On Linux:
.. code-block:: console
$ pip install landscape-api-py3
$ python -m landscape-api --uri https://your-uri-to-ls-api/api --key <your API key> --secret <your API secret> --json get-computers --limit 1
On Windows:
.. code-block:: console
C:\> pip install landscape-api-py3
C:\> python -m landscape-api --uri https://your-uri-to-ls-api/api --key <your API key> --secret <your API secret> --json get-computers --limit 1
or you can use pipx (virtual environment will be created automatically):
On Linux:
.. code-block:: console
$ pip install --user pipx
$ pipx ensurepath
$ exec $SHELL # Restart your shell to reload PATH
$ pipx install landscape-api-py3
$ landscape-api --uri https://your-uri-to-ls-api/api --key <your API key> --secret <your API secret> --json get-computers --limit 1
On Windows:
.. code-block:: console
C:\> pip install --user pipx
C:\> pipx ensurepath
C:\> REM Restart console window to reload PATH
C:\> pipx install landscape-api-py3
C:\> landscape-api --uri https://your-uri-to-ls-api/api --key <your API key> --secret <your API secret> --json get-computers --limit 1
Based on package landscape-api_ from Canonical Ltd._
This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage_ project template.
.. image:: https://app.fossa.com/api/projects/git%2Bgithub.com%2FJuryA%2Flandscape_api_py3.svg?type=large :target: https://app.fossa.com/projects/git%2Bgithub.com%2FJuryA%2Flandscape_api_py3?ref=badge_large :alt: FOSSA Status
.. _landscape-api: https://landscape.canonical.com/static/doc/api/python-api.html
.. _Canonical Ltd.: https://canonical.com
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _audreyr/cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage
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 <https://landscape.canonical.com/static/doc/api/api-client-package.html>`_)
* on **Linux** depends on **gnutls** and **libssl** (require **pycurl** package for installation)
Before installation of the package (v0.2.0alpha):
FAQs
Client for the Landscape API (Python 3)
We found that landscape-api-py3 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.