{ "info": { "author": "W. Trevor King", "author_email": "wking@tremily.us", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "H5config\n========\n\nH5config is a Python package for conviniently saving and loading\nconfiguration classes from disk. After populating base configuration\nclasses with parameters, h5config automatically generates HDF5 and\nYAML backends for saving and loading that class. Yes, all this\ninformation could go into a single database, but if you like the\nflexibility of having a bunch of individual files that you can peek\ninto one at a time, this module is for you.\n\nI wrote the module to support my experiment-control infrastructure,\nand one of the key goals was to easily embed control parameters in the\nsaved data::\n\n experiment.h5\n |-- raw/\n | |-- thermocouple: [32757, 32731, 32796, 32789, 32809, ...]\n | `-- deflection: [29808, 29793, 29782, 29817, 29775, ...]\n |-- timeseries-config/\n | |-- frequency: 0.1\n | |-- run-time: 100\n | |-- thermocouple-channel/\n | | |-- conversion-coefficients: [-10.0, 0.000305180437934]\n | | `-- conversion-origin: [0.0]\n | |-- deflection-channel/\n | | |-- conversion-coefficients: [-10.0, 0.000305180437934]\n | | `-- conversion-origin: [0.0]\n | `-- thermocouple-calibration: [25.08355e3, 7.860106e4]\n `-- environment-config/\n |-- temperature: 20\n `-- timestamp: 1311851980.750180\n\nStoring all of the calibration and conversion factors can get\ncomplicated quickly. h5config will keep you organized, and allow you\nto focus on defining the config options without getting bogged down in\nthe bookkeeping.\n\nAs a side effect, h5config also provides some tools to support system-\nand user-wide configuration files. For example, the pypiezo_ package\nuses h5config to automatically detect and load the following config\nfile::\n\n $ cat ~/.config/pypiezo.yaml\n log-level: debug\n matplotlib: no\n\n\nInstallation\n============\n\nPackages\n--------\n\nGentoo\n~~~~~~\n\nI've packaged h5config for Gentoo. You need layman_ and my `wtk\noverlay`_. Install with::\n\n # emerge -av app-portage/layman\n # layman --add wtk\n # emerge -av dev-python/h5config\n\n\nDependencies\n------------\n\nIf you're installing by hand or packaging h5config for another\ndistribution, you'll need the following dependencies:\n\n=========== ================= =====================\nPackage Debian_ Gentoo_\n=========== ================= =====================\nH5Py_ python-h5py dev-python/h5py\nNose_ python-nose dev-python/nose\nPyYAML_ python-pyyaml dev-python/pyyaml\n=========== ================= =====================\n\n\nInstalling by hand\n------------------\n\nH5config is available as a Git_ repository::\n\n $ git clone git://tremily.us/\n\nSee the homepage_ for details. To install the checkout, run the\nstandard::\n\n $ python setup.py install\n\n\nUsage\n=====\n\nSee the module docstrings for simple examples.\n\n\nTesting\n=======\n\nRun internal unit tests with::\n\n $ nosetests --with-doctest --doctest-tests h5config\n\n\nLicence\n=======\n\nThis project is distributed under the `GNU General Public License\nVersion 3`_ or greater.\n\n\nAuthor\n======\n\nW. Trevor King\nwking@tremily.us\n\n\n.. _pypiezo: http://blog.tremily.us/posts/pypiezo/\n.. _layman: http://layman.sourceforge.net/\n.. _wtk overlay: http://blog.tremily.us/posts/Gentoo_overlay/\n.. _Debian: http://www.debian.org/\n.. _Gentoo: http://www.gentoo.org/\n.. _H5Py: http://code.google.com/p/h5py/\n.. _Nose: http://somethingaboutorange.com/mrl/projects/nose/\n.. _PyYAML: http://pyyaml.org/wiki/PyYAML\n.. _Git: http://git-scm.com/\n.. _homepage: http://blog.tremily.us/posts/h5config/\n.. _GNU General Public License Version 3: http://www.gnu.org/licenses/gpl.txt", "description_content_type": null, "docs_url": null, "download_url": "http://git.tremily.us/?p=h5config.git;a=snapshot;h=v0.3;sf=tgz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://blog.tremily.us/posts/h5config/", "keywords": null, "license": "GNU General Public License (GPL)", "maintainer": null, "maintainer_email": null, "name": "h5config", "package_url": "https://pypi.org/project/h5config/", "platform": "all", "project_url": "https://pypi.org/project/h5config/", "project_urls": { "Download": "http://git.tremily.us/?p=h5config.git;a=snapshot;h=v0.3;sf=tgz", "Homepage": "http://blog.tremily.us/posts/h5config/" }, "release_url": "https://pypi.org/project/h5config/0.3/", "requires_dist": null, "requires_python": null, "summary": "Conveniently save and load config-options from HDF5 and YAML files.", "version": "0.3" }, "last_serial": 792785, "releases": { "0.1": [], "0.2": [ { "comment_text": "", "digests": { "md5": "aaad1c76d27afe05bf9ad9e7b510d285", "sha256": "11acb7cf41ec1a04c7e64d272e04e67d0b100caa7ff5e6d9c197f1e9a9421ab0" }, "downloads": -1, "filename": "h5config-0.2.tar.gz", "has_sig": true, "md5_digest": "aaad1c76d27afe05bf9ad9e7b510d285", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13200, "upload_time": "2012-07-22T18:14:41", "url": "https://files.pythonhosted.org/packages/1e/ff/b7355b417317124839b66c1f945b6906b3b8121b924e4e9bad3b0a64a57e/h5config-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "f07a9cb4fd072fb866d49889cd033b86", "sha256": "b6e0cb957a86dccbef181bef83bf31d2c7fa16fdad42886b9b4f808a4e5598ea" }, "downloads": -1, "filename": "h5config-0.3.tar.gz", "has_sig": false, "md5_digest": "f07a9cb4fd072fb866d49889cd033b86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25409, "upload_time": "2013-03-19T16:04:29", "url": "https://files.pythonhosted.org/packages/a5/f6/5ed790e598d1d6c5f7a661438ae60da6154db633ee3a2ae967318b48e640/h5config-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f07a9cb4fd072fb866d49889cd033b86", "sha256": "b6e0cb957a86dccbef181bef83bf31d2c7fa16fdad42886b9b4f808a4e5598ea" }, "downloads": -1, "filename": "h5config-0.3.tar.gz", "has_sig": false, "md5_digest": "f07a9cb4fd072fb866d49889cd033b86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25409, "upload_time": "2013-03-19T16:04:29", "url": "https://files.pythonhosted.org/packages/a5/f6/5ed790e598d1d6c5f7a661438ae60da6154db633ee3a2ae967318b48e640/h5config-0.3.tar.gz" } ] }