slurchemy 0.2.6
pip install slurchemy
Latest version
Released:
SQLAlchemy bindings for your slurmdbd (SLURM database)
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License (GPL) (GPLv3+)
- Author: Ralph Bean
- Tags slurm, slurmdbd, sqlalchemy
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Project description
Python SQLAlchemy bindings for your slurmdbd (SLURM database).
Installing
Easy:
$ virtualenv test-environment && source test-environment/bin/activate $ pip install slurchemy
or:
$ sudo pip install slurchemy
Using
Assuming you have slurmdbd configured in /etc/slurm/slurmdbd.conf with:
StorageType=accounting_storage/mysql StorageHost=mysql.example.org StoragePass=pass StorageUser=slurm StorageLoc=slurmdb
Then in python you can do:
import slurchemy from sqlalchemy import create_engine engine = create_engine('mysql://slurm:pass@mysql.example.org/slurmdb') slurchemy.init_model(engine) clusters = slurchemy.Cluster.query.all()
TODO
Builtin statistics queries
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License (GPL) (GPLv3+)
- Author: Ralph Bean
- Tags slurm, slurmdbd, sqlalchemy
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
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
File details
Details for the file slurchemy-0.2.6.tar.gz
.
File metadata
- Download URL: slurchemy-0.2.6.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d16a9492fb928824f9b559da1dc138fc7e5f63536ac22b5d166cccba4a084f97 |
|
MD5 | d698ca71f7af8163f14c4d82bf0d9abe |
|
BLAKE2b-256 | 0b2f0b65edd39c1873cbc6dfd9013270132d1059d17b4c4da9f296b94213c43e |