Skip to main content

A package to download slurm usage from a supercomputer and upload it to MongoDB

Project description

Slurm-mongo

Python Package

PyPI version

Slurm-Mongo is a Python package that downloads SLURM usage data from a supercomputer and uploads it to MongoDB.

Installation

You can install Slurm-Mongo using pip:

pip install slurm-mongo

Usage

You can use Slurm-Mongo by running the slurm_mongo command followed by the start date, end date, and supercomputer host name in user@hostname format:

slurm_mongo start_date end_date supercomputer_host_name

Example

slurm_mongo '2017-01-01' '2017-01-02' 'shinde@snellius.surf.nl'

By default, Slurm-Mongo will connect to a MongoDB instance running on localhost:27017 and will store the data in a database called "Snellius" and a collection called "Usage". You can customize the MongoDB connection and database/collection names by using the optional --connection, --port, --database, and --collection flags:

slurm_mongo start_date end_date supercomputer_host_name --connection mongo.example.com --port 12345 --database MySlurm --collection MyUsage

License

Slurm-Mongo is released under the MIT License. See LICENSE for more information.

Issues

If you encounter any issues with Slurm-Mongo, please report them on the GitHub issue tracker.

Contact

Contact the author Dr. Ravindra Shinde at r.l.shinde@utwente.nl

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slurm_mongo-1.0.2.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slurm_mongo-1.0.2-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file slurm_mongo-1.0.2.tar.gz.

File metadata

  • Download URL: slurm_mongo-1.0.2.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for slurm_mongo-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c81d8a88f4bfcfab359fe71e79742c801cf6daec749d620f7fba6d9badaff356
MD5 eeacadb93a67cadf0e0dc95ba9d31091
BLAKE2b-256 a3cbf939804728ed1cb97aef49ee54670b59db25c79b3e21ef6f903c121e681c

See more details on using hashes here.

File details

Details for the file slurm_mongo-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: slurm_mongo-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for slurm_mongo-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cfcdb5027d8a6297d02b91a7a65a08d91ce1479ea2549193fa4bfa56e74be364
MD5 f35b3c6e2bf1d7c7ce56483eb24f7de0
BLAKE2b-256 519ddb38c39b927720f0dac52d26bb5b6f427998bb8cb51b9b0c475cd7132c13

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page