lora

Python library for interacting with LLNL's Lorenz REST API

https://github.com/llnl/python-lora

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.8%) to scientific vocabulary

Keywords

python
Last synced: 6 months ago · JSON representation

Repository

Python library for interacting with LLNL's Lorenz REST API

Basic Info
  • Host: GitHub
  • Owner: LLNL
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 10.7 KB
Statistics
  • Stars: 2
  • Watchers: 5
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
python
Created about 9 years ago · Last pushed over 4 years ago
Metadata Files
Readme License

README.md

Python LORA Interface

Maintainer: Ian Lee ian@llnl.gov

This package is an attempt to create a Python interface to the LC Lorenz REST API: LORA

The LORA API is documented, with examples, at: https://lc.llnl.gov/lorenz/lora/

Usage

Very much a work in progress, but here is a rough idea of how you could use this in an interactive Python terminal:

```

import lora

czlora = lora.LoraSession() czlora.login() Pin & Token: xxxxxxxx

cz_lora.getAllClusters() { 'error': '', 'output': { 'accounts': [ 'ansel', 'aztec', 'cab', 'catalyst', 'herd', 'oslic', 'quartz', 'surface', 'syrah', 'vulcan' ] }, 'status': 'OK' } ```

Getting Started

Developer

To get started:

# Set up the environment
$ python -m virtualenv venv
$ source venv/bin/activate

# Install the dependencies
$ pip install -r requirements.txt

# Test that everything is working
$ python test.py

Contributing

Contributions to this package are very welcome! Please feel free to fork the repository, add new functionality, and submit a pull request!

If you have any questions, please open a ticket.

Future Ideas / Work

  • The Python Requests ecosystem includes a package, requests-kerberos that can provide authentication support for Kerberos / GSSAPI. This might be a better way to interact with with the LC environment, particular for applications running on the actual systems.

Owner

  • Name: Lawrence Livermore National Laboratory
  • Login: LLNL
  • Kind: organization
  • Email: github-admin@llnl.gov
  • Location: Livermore, CA, USA

For over 70 years, the Lawrence Livermore National Laboratory has applied science and technology to make the world a safer place.

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 6
  • Total Committers: 1
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Ian Lee l****1@l****v 6
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 866 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 2
  • Total maintainers: 1
pypi.org: lora

Package for interacting with Lorenz REST API

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 866 Last month
Rankings
Dependent packages count: 10.0%
Downloads: 10.3%
Average: 19.9%
Dependent repos count: 21.7%
Stargazers count: 27.8%
Forks count: 29.8%
Maintainers (1)
Last synced: 7 months ago

Dependencies

requirements.txt pypi
  • flake8 *
  • requests *
setup.py pypi
  • requests *