Skip to main content

Package python for Lagoon

lagoon-python-api

Lagoon python API is a tool that allows Lagoon users to interact with there data from directly from Python.

Lagoon is developed by Fatfish Lab

# -*- coding: utf-8 -*-
from lagoon import Lagoon

lg = Lagoon('https://your-lagoon-server')
lg.connect(LG_USER, LG_PASSWORD)

organisations = lg.get_organisations()
hardware = organisations[0].get_hardware()

Installation

This package is compatible with Python 2.7 and 3.7+

python -m pip install lagoon-python-api

OR

python -m pip install git+https://github.com/fatfish-lab/lagoon-python-api.git

Documentation

Check our documentation to find all the information you need.

Maintainer

The repository is maintained by Fatfish Lab

Support

You can contact our team at support@fatfi.sh.

Development

Rather the package is compatible with python 2.7 and 3, the Sphinx documentation is using python 3.

  1. Clone this repository
  2. Setup a virtual env : virtualenv pylg
    1. If needed, you can specify the version of python used in your virtual env : virtualenv --python=/usr/bin/python3 pylg3
  3. Enable your virtual env : source pylg/bin/activate
  4. Install local Lagoon package to your virtual env : pip install -e /path/to/package/lagoon-python-api

Build the documation

  1. cd /path/to/package/lagoon-python-api/docs
  2. make html

Licence

This project uses the following license: GPL-3.0-only. See the license file to read it.

Metadata

Release files for lagoon-python-api 0.0.2

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

Source distribution (sdist)

Source distribution for lagoon-python-api 0.0.2
File Size Uploaded Provenance Actions
lagoon-python-api-0.0.2.tar.gz 23.5 kB Without provenance Details for lagoon-python-api-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lagoon-python-api 0.0.2
File Interpreter ABI Platform Actions
lagoon_python_api-0.0.2-py3-none-any.whl Python 3 none any Details for lagoon_python_api-0.0.2-py3-none-any.whl

Total release size: 53.8 kB

Release files / lagoon-python-api-0.0.2.tar.gz

Download URL lagoon-python-api-0.0.2.tar.gz
Size 23.5 kB
Tags Source
SHA-256 checksum
How to use checksums
27d714fda3d5b1d37a53857391b59e3ec9d7fb20eb9ca3f6dcb48a223a1e802a
BLAKE2b-256 checksum
How to use checksums
a762bca5184167b3beba185998b8ee0cf372cae0f4f80615cdabcfcbea601177
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15

Release files / lagoon_python_api-0.0.2-py3-none-any.whl

Download URL lagoon_python_api-0.0.2-py3-none-any.whl
Size 30.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8938ec885071c905e102db55715df96cab92da4f020d32532f548fc9a8d4963b
BLAKE2b-256 checksum
How to use checksums
abd7a87db22e8ae98019e1a4c8ef6e6922c8b497537df10181ef2c9fd8d542e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15

Security for lagoon-python-api 0.0.2

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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