Lagoon python package
Project description
Package python for Lagoon
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.
- Clone this repository
- Setup a virtual env :
virtualenv pylg
- If needed, you can specify the version of python used in your virtual env :
virtualenv --python=/usr/bin/python3 pylg3
- If needed, you can specify the version of python used in your virtual env :
- Enable your virtual env :
source pylg/bin/activate
- Install local Lagoon package to your virtual env :
pip install -e /path/to/package/lagoon-python-api
Build the documation
cd /path/to/package/lagoon-python-api/docs
make html
Licence
This project uses the following license: GPL-3.0-only. See the license file to read it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lagoon-python-api-0.0.2.tar.gz
.
File metadata
- Download URL: lagoon-python-api-0.0.2.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27d714fda3d5b1d37a53857391b59e3ec9d7fb20eb9ca3f6dcb48a223a1e802a |
|
MD5 | 701ccdbb8ec037a50236c526359aefad |
|
BLAKE2b-256 | a762bca5184167b3beba185998b8ee0cf372cae0f4f80615cdabcfcbea601177 |
File details
Details for the file lagoon_python_api-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: lagoon_python_api-0.0.2-py3-none-any.whl
- Upload date:
- Size: 30.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8938ec885071c905e102db55715df96cab92da4f020d32532f548fc9a8d4963b |
|
MD5 | 1545b4058effb8d329329c4de78bceaa |
|
BLAKE2b-256 | abd7a87db22e8ae98019e1a4c8ef6e6922c8b497537df10181ef2c9fd8d542e9 |