我们组织内使用的常用工具。最初由根特大学的hpc团队创建(http://ugent.be/hpc)。

vsc-base的Python项目详细描述


#vsc基

###生成状态

#说明

我们组织内使用的常用工具。 最初由根特大学的hpc团队创建(http://ugent.be/hpc)。

#文件 https://jenkins1.ugent.be/job/vsc-base-python26/Documentation/

#名称空间和工具

##库/实用程序 用作库的python实用程序

  • _ fancy logger:默认python记录器的一个扩展,设计为易于使用,并具有两个fancy特性。
  • 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
  • _ daemon.py:由sander marechal(http://www.jejik.com)编写的daemon类,用于将python脚本作为守护进程启动。
  • _ missing.py_:python(2.x)api中常用但不可用的小函数和工具。
  • ~~\u cache.py:文件缓存,用于存储由键和时间戳标识的pickled数据。~~(移动到[vsc utils](https://github.com/hpcugent/vsc-utils))
  • _ general option.py_uu:python的通用选项解析器。它将从配置文件、环境变量和命令行中获取选项(按此顺序),并以与默认python optionparser兼容的方式解析它们。因此,允许非常灵活的方式配置脚本。它还添加了一些其他有用的附加功能。
  • _ affinity.py_uu:Linux CPU关联。
  • Based on sched.h and bits/sched.h,
  • see man pages for sched_getaffinity and sched_setaffinity
  • also provides a cpuset class to convert between human readable cpusets and the bit version Linux priority
  • Based on sys/resources.h and bits/resources.h see man pages for getpriority and setpriority
  • _ asyncprocess.py:允许在windows和posix平台上使用异步子进程的模块
  • _ daemon.py_uu:[sander marechal开发的通用守护程序类](http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/
  • _ date and time.py_uu:一个具有各种便利函数和类的模块,用于处理日期、时间和时区。
  • _ nagios.py_uu:这个模块提供了缓存和报告脚本执行结果的功能,这些结果很容易被nagios/icinga解释。
  • _ run.py_uuu:python模块执行命令,可以利用异步进程,根据字典回答问题
  • supports a whole lot of ways to input, process and output the command. (filehandles, PIPE, pty, stdout, logging…)
  • _ mail.py:标准python邮件库的包装器。
  • Send a plain text message
  • Send an HTML message, with a plain text alternative

##垃圾箱 python脚本的集合,这些示例说明如何使用fancylogger登录到守护进程,但不应直接使用。 -_ logdaemon.py_:在端口上侦听udp数据包并将其记录到文件的守护进程,与fancylogger一起工作。 -_ startogdemon.py_uu:脚本,它将为您启动logdaemon并为fancylogger设置环境变量。

#许可证 vsc base在gnu库通用公共许可证(lgpl)版本2或任何更高版本下可用。

#致谢 VSC基地是在[根特大学](http://www.ugent.be/en)的支持下创建的, [佛兰德超级计算机中心(vsc)](https://vscentrum.be/nl/en), 佛兰德研究基金会 以及[经济、科学和创新部(ewi)](http://www.ewi-vlaanderen.be/en)。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java是用来加速集合中对象查找的哈希代码吗?   java在Servlet中执行后将JSP请求重定向到自身   JavaHTTPStatus415使用Ajax将Json数据发布到SpringMVC4也使用了SpringSecurity   java为什么谷歌应用引擎MySQL JDBC URL不与数据库连接?   多线程Java:强制停止ExecutorService线程   java使用For循环向组合框添加值   java子Git“内存不足”和“超出GC开销限制”   使用正则表达式运行计算器程序时出现java NumberFormatException   java MockMvc测试POST请求返回错误:实际调用有不同的参数:   java自动在虚拟机内移动鼠标,与真实的鼠标无关   当类位于类路径上时,java Surefire抛出SurefireReflectionException   java GroupLayout错误:找不到错误的行   SpringHibernateJava。lang.NoSuchFieldError:实例   从一个java密钥库生成多个个人证书的身份验证   java 1.6.013中的eclipse@WebServlet注释支持   java Spring Webservicetemplate连接重置错误   spring如何修复SqlRowSet上的“无效游标SQL异常”。Java中的Next()   java Websphere版本迁移