https://github.com/openworkload/swm-python-client

Python bindings for swm-core client REST API

https://github.com/openworkload/swm-python-client

Science Score: 26.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.7%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Python bindings for swm-core client REST API

Basic Info
  • Host: GitHub
  • Owner: openworkload
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: master
  • Size: 82 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 4 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

Python bindings for swm-core REST API

Description

Sky Port is an universal bus between user software and compute resources. It can also be considered as a transportation layer between workload producers and compute resource providers. Sky Port makes it easy to connect user software to different cloud resources.

The current python package represents a wrapper around client REST API of the core component of Sky Port -- core daemon. The package provides classes and data structures that can be used in python programs in order to communicate with swm-core. Such communication is useful when Sky Port terminals are built (see JupyterLab terminal as an example).

Build

Requirements:

1) Use swm-core dev container or install manually: ```bash sudo apt-get install python3-all-dev sudo apt install python3-pip

pip3 install pip-tools setuptools virtualenv ```

Note: Python 3.10 is required.

2) Install the project dependencies with virtualenv bash make prepare-venv

Run code autoformatting and validation tools:

bash make format make check

Run unit tests:

bash make test

Build pip package and upload to pypi.org:

bash . .venv/bin/activate make clean make package make upload

Setup

The latest stable version of the package is uploaded to PyPi.

Installation from PyPi:

bash python3 -m pip install --user swmclient

Remove installed package:

bash python3 -m pip uninstall swmclient

Contributing

We appreciate all contributions. If you are planning to contribute back bug-fixes, please do so without any further discussion. If you plan to contribute new features, utility functions or extensions, please first open an issue and discuss the feature with us.

License

We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.

This software is licensed under the BSD-3-Clause license.

Owner

  • Name: Open Workload
  • Login: openworkload
  • Kind: organization
  • Email: info@openworkload.org

Open Workload Project

GitHub Events

Total
  • Push event: 2
Last Year
  • Push event: 2

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 32
  • Total Committers: 2
  • Avg Commits per committer: 16.0
  • Development Distribution Score (DDS): 0.219
Top Committers
Name Email Commits
Taras Shapovalov t****s@i****t 25
Taras Shapovalov t****v@b****m 7
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 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 155 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 3
  • Total versions: 7
  • Total maintainers: 1
pypi.org: swmclient

Python bindings for swm-core user REST API

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 155 Last month
Rankings
Dependent repos count: 9.0%
Dependent packages count: 10.1%
Forks count: 29.8%
Average: 31.2%
Stargazers count: 31.9%
Downloads: 74.9%
Maintainers (1)
Last synced: 11 months ago

Dependencies

requirements.in pypi
  • autoflake *
  • black *
  • flake8 *
  • isort *
  • mypy *
  • setuptools *
  • tqdm *
  • twine *
  • wheel *
requirements.txt pypi
  • autoflake ==1.4
  • black ==21.11b1
  • bleach ==4.1.0
  • certifi ==2021.10.8
  • cffi ==1.15.0
  • charset-normalizer ==2.0.7
  • click ==8.0.3
  • colorama ==0.4.4
  • cryptography ==35.0.0
  • docutils ==0.18
  • flake8 ==4.0.1
  • idna ==3.3
  • importlib-metadata ==4.8.2
  • isort ==5.10.1
  • jeepney ==0.7.1
  • keyring ==23.2.1
  • mccabe ==0.6.1
  • mypy ==0.910
  • mypy-extensions ==0.4.3
  • packaging ==21.3
  • pathspec ==0.9.0
  • pkginfo ==1.8.1
  • platformdirs ==2.4.0
  • pycodestyle ==2.8.0
  • pycparser ==2.21
  • pyflakes ==2.4.0
  • pygments ==2.10.0
  • pyparsing ==3.0.6
  • readme-renderer ==30.0
  • regex ==2021.11.10
  • requests ==2.26.0
  • requests-toolbelt ==0.9.1
  • rfc3986 ==1.5.0
  • secretstorage ==3.3.1
  • six ==1.16.0
  • toml ==0.10.2
  • tomli ==1.2.2
  • tqdm ==4.62.3
  • twine ==3.6.0
  • typing-extensions ==4.0.0
  • urllib3 ==1.26.7
  • webencodings ==0.5.1
  • wheel ==0.37.0
  • zipp ==3.6.0
pyproject.toml pypi