Slurm-mongo
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
Release files for slurm-mongo 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| slurm_mongo-1.0.7.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| slurm_mongo-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.4 kB
Release files / slurm_mongo-1.0.7.tar.gz
| Download URL | slurm_mongo-1.0.7.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
742df499c23139ade957135cf05116906e1d202594e62fce10e582aa35e4a6b4
|
|
BLAKE2b-256 checksum How to use checksums |
d0f61ffb759955fc6a11989196bd4ccdea500b745af850f965187248aa0b1eec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / slurm_mongo-1.0.7-py3-none-any.whl
| Download URL | slurm_mongo-1.0.7-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef57fef2b80f7f6db98a2200cde94d625282b5c028fb1b551c611a3830575233
|
|
BLAKE2b-256 checksum How to use checksums |
bad7ec70e2ed988c8287d703977461cc2e717c184b2a29a1029738fd2bbd58e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|