{ "info": { "author": "Charles-David Hevert", "author_email": "charles-david.hebert@usherbrooke.ca", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "\n[![Build Status](https://travis-ci.org/ZGCDDoo/statsfiles.svg?branch=master)](https://travis-ci.org/ZGCDDoo/statsfiles)\n[![codecov](https://codecov.io/gh/ZGCDDoo/statsfiles/branch/master/graph/badge.svg)](https://codecov.io/gh/ZGCDDoo/statsfiles)\n[![Documentation Status](https://readthedocs.org/projects/statsfiles/badge/?version=latest)](https://statsfiles.readthedocs.io/en/latest/?badge=latest)\n\n\n# Statsfiles\nPlease consult the bare bones documentation by clicking on the docs badge above.\n\n\nStatsfiles is a small python module to compute simple statistics (average and means) of similarly named files. This can be usefull for simulations where a program outputs many files with the same name, but with a number appended. \n\nFor exemple, a program that calculated the temperature on a given number of points in a city for each hour would ouput a file called: temperature1.dat, temperature2.dat , etc for each day starting from day 1.\nThe file would be composed of 24 rows (each hour of the day) and say 10 columns (10 places in the city). To get the average temperature for the year, one needs to do some statistics on these files. This is the usefullness of statsfiles. The previous files which have an array (matrix, i.e numpy) form are called **array_files**. Now if we are interseted in the number of coffees taken by the employeess of this temperature program (for the city broadcasting station), would be logged in a file called cafe1.dat, cafe2.dat, etc. This file would contain the hour on the first column and the amount of coffee taken of the second column. These type of files are called **obs_files**. The first coulmn is ignored for the statistics, and the statistics for this type of files are saved in json format in the file called **statsobs.json**. \n\nThe output of this module for this previous example is the folder **Stats-${date-time}** with temperature_moy.dat, temperature_et.dat for respectively the average value and the standard deviation, as well as statsobs.json.\n\n\n\n## Installation\nSimple as :\n```bash\npip install statsfiles\n```\n\n### Dependencies\nThis module can run on python >= 3.6. The dependencies will be installed automatically by pip.\n\n\n## Usage\nI recommend taking a look and trying the example. Once this is done, it is quite easy to use it for your own sake. To run the exemple (after Installation):\n\n```bash\n cd example\n python -m statsfiles 1 --file example.yml\n```\n\n\nThe example is composed of a simple yaml file (see [pyyaml](https://pyyaml.org/)), that describes the files that will be used for the statistics. Let us explain in detail this yaml file.\n\n### Yaml config file\n\n#### obs_files\nThe name of the files which have a structure given by k.dat\n\n#### array_files\nThe files which have a structure of matrices (the temperature files described above).\n\n#### param_files\n\n\n## README and example under construction.\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ZGCDDoo/statsfiles", "keywords": "Statistics", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "statsfiles", "package_url": "https://pypi.org/project/statsfiles/", "platform": "", "project_url": "https://pypi.org/project/statsfiles/", "project_urls": { "Homepage": "https://github.com/ZGCDDoo/statsfiles" }, "release_url": "https://pypi.org/project/statsfiles/2.3.0/", "requires_dist": [ "numpy", "scipy", "pyyaml" ], "requires_python": "", "summary": "statsfiles for stats on files.", "version": "2.3.0" }, "last_serial": 5200915, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "4a0969eb329b564d3f3b289ee8bd9784", "sha256": "ac2e9127bda810ddd0b18cc995b94649806f1e4dcb19241362797a0ce209997b" }, "downloads": -1, "filename": "statsfiles-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4a0969eb329b564d3f3b289ee8bd9784", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18943, "upload_time": "2018-12-12T20:06:20", "url": "https://files.pythonhosted.org/packages/bb/95/bf641aab0ddf5733d249954d35c4a7be1614170598e46bd5e16a9a1eda0f/statsfiles-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd561ccb95d6dce38274d5d9a0012725", "sha256": "7641cc77e737dfb6a055c622e125bd965066ed434694563d1e6140cb81786d38" }, "downloads": -1, "filename": "statsfiles-1.0.0.tar.gz", "has_sig": false, "md5_digest": "bd561ccb95d6dce38274d5d9a0012725", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12196, "upload_time": "2018-12-12T20:06:22", "url": "https://files.pythonhosted.org/packages/e4/29/b06edea5e9efddf0671f35035570fe93f4c65c459d3e783b0d5f537c3b48/statsfiles-1.0.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "5f772cda9af142adb18eb8500d30c0c3", "sha256": "f418632e1dff40558b88b4d3dcb2152f2e06ba740c8642679d55cf30eea9370c" }, "downloads": -1, "filename": "statsfiles-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5f772cda9af142adb18eb8500d30c0c3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18482, "upload_time": "2018-12-19T19:30:57", "url": "https://files.pythonhosted.org/packages/e7/26/58a2b6563980b1db3a6ec27ee285b0cc524fccbb77647c63b815ff1a037f/statsfiles-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "07d7c685d3d4cba1287e16b162d5f013", "sha256": "440c7a49b18de1dabdfdcc7130c1b1737d84c5c7eadeb732d4b93855f97c4995" }, "downloads": -1, "filename": "statsfiles-2.0.0.tar.gz", "has_sig": false, "md5_digest": "07d7c685d3d4cba1287e16b162d5f013", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12456, "upload_time": "2018-12-19T19:30:58", "url": "https://files.pythonhosted.org/packages/52/14/624d299886d8b89e5ccc6e6a6396167be99ab48a0f3c3563d85216b39bd0/statsfiles-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "43bae9e467af7d7137038e9dc99efbfa", "sha256": "7f4aaed016fef99831b2fa0dc85766fb9114bcbacb4f38de46eaa64163981009" }, "downloads": -1, "filename": "statsfiles-2.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "43bae9e467af7d7137038e9dc99efbfa", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18474, "upload_time": "2018-12-19T20:14:06", "url": "https://files.pythonhosted.org/packages/e3/c6/fb09ae3cb15c2afbf52507c6de14104308b08a7f305587d81e25c2a3371d/statsfiles-2.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09f8b001a41d1f8622144ffd5925d92d", "sha256": "1d17ff682a6cbbb0df4c88a2c3e5006b84446437f44e1f612cc2b23ee4368a7e" }, "downloads": -1, "filename": "statsfiles-2.0.1.tar.gz", "has_sig": false, "md5_digest": "09f8b001a41d1f8622144ffd5925d92d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13249, "upload_time": "2018-12-19T20:14:07", "url": "https://files.pythonhosted.org/packages/cd/e9/90ca265766dd92f6965fe7ae769646bd3aaa5d51fdee409a07a4a7f8a3ec/statsfiles-2.0.1.tar.gz" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "711695365f903280e128014bd7f08c81", "sha256": "ed03269536fe7bba2c4314c3ec5e15cf8282d9994c3691dbdee48fa88b6388cd" }, "downloads": -1, "filename": "statsfiles-2.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "711695365f903280e128014bd7f08c81", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18475, "upload_time": "2018-12-19T20:26:44", "url": "https://files.pythonhosted.org/packages/0d/2e/f6955ea36b1d937e8aa6ced304a90b3365899fa92f00a80b9cdb78455929/statsfiles-2.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "affd913f3353a8963679d655c16519eb", "sha256": "84c60859bb5be3dd51715b3be6643f60af1eab2a6d342a09cc3238b318048115" }, "downloads": -1, "filename": "statsfiles-2.0.2.tar.gz", "has_sig": false, "md5_digest": "affd913f3353a8963679d655c16519eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13526, "upload_time": "2018-12-19T20:26:45", "url": "https://files.pythonhosted.org/packages/34/fd/e06254973f3379790bd64d1066c8e364aceb18bb0f0f6718355644b57760/statsfiles-2.0.2.tar.gz" } ], "2.0.3": [ { "comment_text": "", "digests": { "md5": "c9751d059ee96a7966ab002d119908f1", "sha256": "8b024ebe0004c0445bb9429633a02dbcc01ac266ce62f4049dac8a260e9ac8e6" }, "downloads": -1, "filename": "statsfiles-2.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "c9751d059ee96a7966ab002d119908f1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19153, "upload_time": "2018-12-19T20:31:48", "url": "https://files.pythonhosted.org/packages/0c/7f/72618d00eec906d9f0c7000ae03ca7a6ae0587be6fcea9cae3c33c8c5f6c/statsfiles-2.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2ea423f3529026de1ed2fb7b12e5586a", "sha256": "564094477750795623e59efcd6931a2772ab6b625da3aa1cff0aa22d2cdf38b7" }, "downloads": -1, "filename": "statsfiles-2.0.3.tar.gz", "has_sig": false, "md5_digest": "2ea423f3529026de1ed2fb7b12e5586a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13509, "upload_time": "2018-12-19T20:31:49", "url": "https://files.pythonhosted.org/packages/de/88/de8a9f62ea688c313db9e05fafb1ad1c515f7a74e8032e23117570592045/statsfiles-2.0.3.tar.gz" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "700fb86982234ae1d3f1fbacaa6bb0b8", "sha256": "c56eee128a868ca937fcd9223711f0ae7ea0de59d64314b72ae9aa9e366c1a59" }, "downloads": -1, "filename": "statsfiles-2.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "700fb86982234ae1d3f1fbacaa6bb0b8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19152, "upload_time": "2018-12-19T20:36:55", "url": "https://files.pythonhosted.org/packages/44/34/e153d8603a3bc1836da2a529072a8d5e303d69add50e0e43c37839e0d1bb/statsfiles-2.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cf498ae15d7df594bd6d0c83e69597a7", "sha256": "efd49d92db073299a424b463ff018f5c76ee7f2b72725e5a36f42a8308ef5f71" }, "downloads": -1, "filename": "statsfiles-2.1.0.tar.gz", "has_sig": false, "md5_digest": "cf498ae15d7df594bd6d0c83e69597a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13479, "upload_time": "2018-12-19T20:36:56", "url": "https://files.pythonhosted.org/packages/22/a9/42affd0cc2341fc7e13ec889fa763fe5b8b56b07fd38abfedfba1d429dc4/statsfiles-2.1.0.tar.gz" } ], "2.2.0": [ { "comment_text": "", "digests": { "md5": "a5fdce056295dffe4d3d779c7e27d59e", "sha256": "bea23041de62e5e503702e06a3b4c57170ae9f9978d64479cbbe828321fb4f5e" }, "downloads": -1, "filename": "statsfiles-2.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a5fdce056295dffe4d3d779c7e27d59e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 21591, "upload_time": "2019-01-04T22:26:17", "url": "https://files.pythonhosted.org/packages/3f/04/b16ccc6e0b4b0f9d22ecc86f608d75eecc6d0a24e1e2566301e476815c7c/statsfiles-2.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "015e709079bc8dd67bce97c10472d5fb", "sha256": "ec9412db21a4aad8c47a8ae76a9cff8e138588f16daa02e2ee7042636366beaf" }, "downloads": -1, "filename": "statsfiles-2.2.0.tar.gz", "has_sig": false, "md5_digest": "015e709079bc8dd67bce97c10472d5fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14392, "upload_time": "2019-01-04T22:26:19", "url": "https://files.pythonhosted.org/packages/56/bf/ebee3df5c18ce5de552f0bef60458f0386c6392729226b03f6848a21d6aa/statsfiles-2.2.0.tar.gz" } ], "2.3.0": [ { "comment_text": "", "digests": { "md5": "e351d9e5b47587365163c842d2fe6abc", "sha256": "6f86e1e53761b2fde1ffc1b7b94f396fb9fdfa8e0c9faf21b10ebffec5c025b1" }, "downloads": -1, "filename": "statsfiles-2.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e351d9e5b47587365163c842d2fe6abc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20500, "upload_time": "2019-04-28T22:08:31", "url": "https://files.pythonhosted.org/packages/29/cb/d84e36dc0063e5a501485eaff71e4778e3f6218d2c67b1e5d03fc6770ee4/statsfiles-2.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "787febbe3daafbbd2dbbccb3a0f94528", "sha256": "acd04ad643007ce1d292c15a246b586bcdbe4c1dbd4a5ea0f29d918a74b17702" }, "downloads": -1, "filename": "statsfiles-2.3.0.tar.gz", "has_sig": false, "md5_digest": "787febbe3daafbbd2dbbccb3a0f94528", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15929, "upload_time": "2019-04-28T22:08:34", "url": "https://files.pythonhosted.org/packages/11/8e/66c791d68863e7aae342dd477681ffb2b344f71419d13cede4b847dac688/statsfiles-2.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e351d9e5b47587365163c842d2fe6abc", "sha256": "6f86e1e53761b2fde1ffc1b7b94f396fb9fdfa8e0c9faf21b10ebffec5c025b1" }, "downloads": -1, "filename": "statsfiles-2.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e351d9e5b47587365163c842d2fe6abc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20500, "upload_time": "2019-04-28T22:08:31", "url": "https://files.pythonhosted.org/packages/29/cb/d84e36dc0063e5a501485eaff71e4778e3f6218d2c67b1e5d03fc6770ee4/statsfiles-2.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "787febbe3daafbbd2dbbccb3a0f94528", "sha256": "acd04ad643007ce1d292c15a246b586bcdbe4c1dbd4a5ea0f29d918a74b17702" }, "downloads": -1, "filename": "statsfiles-2.3.0.tar.gz", "has_sig": false, "md5_digest": "787febbe3daafbbd2dbbccb3a0f94528", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15929, "upload_time": "2019-04-28T22:08:34", "url": "https://files.pythonhosted.org/packages/11/8e/66c791d68863e7aae342dd477681ffb2b344f71419d13cede4b847dac688/statsfiles-2.3.0.tar.gz" } ] }