Skip to content

stdweird/VSC-tools

 
 

Repository files navigation

VSC-tools

Build Status

Common tools used within our organization.

Originally created by the HPC team of Ghent University (http://ugent.be/hpc).

Namespaces and tools

vsc

Common namespace used by all our python modules

  • fancylogger: an extention of the default python logger designed to be easy to use and have a couple of fancy features.
  • custom specifiers for mpi loggin (the mpirank) with autodetection of mpi
  • custom specifier for always showing the calling function's name
  • rotating file handler
  • a default formatter.
  • logging to an UDP server (logdaemon.py f.ex.)
  • easily setting loglevel

ldap Collection of utilities to ease interaction with the LDAP servers.

Examples of the schema's used can be provided, although we do not include them ny default.

  • filter.py: Construction of LDAP filters that can be combined in intuitive ways using well-known operators, such as and, or, and not.
  • group.py: A group in LDAP, based on the posixGroup object class -- extended with several fields. Has one or more members and at least one moderator.
  • project.py: Projects that are run on the HPC infrastructure. These are autogroups, meaning their member list is built automagically.
  • user.py: A user in LDAP.
  • utils.py: Low-level LDAP utilities, such as making (and maintaining) a bind the the LDAP server. Higher level utilities for querying LDAP and the base class for entitites in LDAP.
  • vo.py: A virtual organisation is a special kind of group.

utils

Collection of utilities:

  • daemon.py : Daemon class written by Sander Marechal (http://www.jejik.com) to start a python script as a daemon.
  • missing.py: Small functions and tools that are commonly used but not available in the Python (2.x) API.
  • cache.py : File cache to store pickled data identified by a key accompanied by a timestamp,

bin

A collection of python scripts :

  • logdaemon.py: A daemon that listens on a port for udp packets and logs them to file, works toghether with fancylogger.
  • startlogdaemon.py : Script that will start the logdaemon for you and set environment variables for fancylogger.

License

VSC-tools is made available under the GNU General Public License (GPL) version 2.

Acknowledgements

VSC-tools was created with support of Ghent University, the Flemish Supercomputer Centre (VSC), the Hercules foundation and the Department of Economy, and the Department of Economy, Science and Innovation (EWI).

About

Common tools used within our organization.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.2%
  • Shell 1.8%