{ "info": { "author": "Joel Ostblom", "author_email": "joel.ostblom@protonmail.com", "bugtrack_url": null, "classifiers": [], "description": "# sinfo\n\n`sinfo` prints version information for loaded modules in the current session,\nPython, the OS, and the CPU. It is designed as a minimum measure to increase\nreproducibility and provides similar information as `sessionInfo` in R. The\nname is shortened to encourage regular usage through reduced typing =)\n\n## Motivation\n\n`sinfo` is particularly useful when conducting exploratory data analysis in\nJupyter Notebooks. Listing the version numbers of all loaded modules after\nimporting them is a simple way to ensure a minimum level of reproducibility\nwhile requiring little additional effort. This practice is useful both when\nrevisiting notebooks and when sharing them with colleagues. `sinfo` is meant to\ncomplement more robust practices such as frozen virtual environments,\ncontainers, and binder Notebooks.\n\n## Installation\n\n`sinfo` can be installed via `pip install sinfo`. It does not rely on a package\nmanager to find version numbers since it fetches them from the module's version\nstring. Its only dependency is `stdlib_list`, which is used to distinguish\nbetween standard library and third party modules.\n\n## Usage\n\n```python\nimport math\n\nimport natsort\nimport numpy\nimport pandas\nfrom sinfo import sinfo\n\n\nsinfo()\n```\n\n\nOutput:\n\n```\nnatsort 5.3.3\nnumpy 1.15.2\npandas 0.23.4\n-----\nPython 3.6.8 |Anaconda custom (64-bit)| (default, Dec 30 2018, 01:22:34) [GCC 7.3.0]\nLinux-4.20.1-arch1-1-ARCH-x86_64-with-arch\n-----\nSession information updated at 2019-02-03 02:31\n```\n\nThe default behavior is to only print modules not in the standard library,\nwhich is why the `math` module is omitted above (it can be included by\nspecifying `print_std_lib=True`). To see not only the explicitly imported\nmodules but also any dependencies they import, specify `print_implicit=True`.\nSee the docstring for complete parameter info.\n\n## Background\n\n`sinfo` started as minor modifications of `py_session`, and as it grew it\nbecame convenient to create a new package. `sinfo` was built with the help of\ninformation provided in stackoverflow answers and existing similar packages,\nincluding\n\n- https://github.com/fbrundu/py_session\n- https://github.com/jrjohansson/version_information\n- https://stackoverflow.com/a/4858123/2166823\n- https://stackoverflow.com/a/40690954/2166823", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/joelostblom/sinfo", "keywords": "", "license": "BSD-3", "maintainer": "", "maintainer_email": "", "name": "sinfo", "package_url": "https://pypi.org/project/sinfo/", "platform": "", "project_url": "https://pypi.org/project/sinfo/", "project_urls": { "Homepage": "https://gitlab.com/joelostblom/sinfo" }, "release_url": "https://pypi.org/project/sinfo/0.2.0/", "requires_dist": null, "requires_python": ">=3.6", "summary": " sinfo prints version information for loaded modules in the current session, Python, and the OS.", "version": "0.2.0" }, "last_serial": 5348285, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "9679d0ac84f93daeda9679666623c6f3", "sha256": "f9f88a6278c3799d8d26764233cfab209886b580746d1eaf8636a22c7d59c916" }, "downloads": -1, "filename": "sinfo-0.1.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "9679d0ac84f93daeda9679666623c6f3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5488, "upload_time": "2019-03-13T04:12:41", "url": "https://files.pythonhosted.org/packages/0b/3f/87a576370ef4ed73794fec8a4d66e7210aa8a4743062aa1645efe8c46134/sinfo-0.1.linux-x86_64.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7f2e166ee27e7fb20125627f3f132700", "sha256": "cdf7aa9682997fbb557bbdccaa051578ceaf04e91511d12887368037b3298e8f" }, "downloads": -1, "filename": "sinfo-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7f2e166ee27e7fb20125627f3f132700", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 20983, "upload_time": "2019-03-13T04:17:27", "url": "https://files.pythonhosted.org/packages/28/86/9f97ca6dcc8ebe6e795f8fa177bccd221910fc4f06f6607e3600d8e861b3/sinfo-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "86f1bc731172874d89668f69d18fe6c6", "sha256": "e32959ddfec49e8779efd82bd14902f86d1c895435de2dc98e792f2b06bf4088" }, "downloads": -1, "filename": "sinfo-0.1.2.tar.gz", "has_sig": false, "md5_digest": "86f1bc731172874d89668f69d18fe6c6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 21144, "upload_time": "2019-03-13T04:44:47", "url": "https://files.pythonhosted.org/packages/21/c7/ba5fd46acad3d4bec869110a089e71b495ffcd9df08871ccbab703119475/sinfo-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "29e06df4f76b6873f762f680b4de9d6b", "sha256": "a07f5bcb14c8a6c085b473febb93918a32222c54c352e74a0de9895bf7655f67" }, "downloads": -1, "filename": "sinfo-0.1.3.tar.gz", "has_sig": false, "md5_digest": "29e06df4f76b6873f762f680b4de9d6b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 21170, "upload_time": "2019-03-13T04:58:55", "url": "https://files.pythonhosted.org/packages/c2/3e/6533c436b2ae7602040a4f323d90ed2844f09488ddf8cce10ffa4e4b7180/sinfo-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "7801d75fb19c22f781147cb6bbfb0d92", "sha256": "b9d5ac26dc7a4f54330a937543462d6c1eb17498881b691b5ebb3e561baf991b" }, "downloads": -1, "filename": "sinfo-0.1.4.tar.gz", "has_sig": false, "md5_digest": "7801d75fb19c22f781147cb6bbfb0d92", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 21392, "upload_time": "2019-03-13T19:23:16", "url": "https://files.pythonhosted.org/packages/0b/20/8e65f9dc87c3f7401a14127df219f481b6f048e830e41bbed2845203c071/sinfo-0.1.4.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "5cac3b0728103846119af7dc19852243", "sha256": "11d48919e68f474e4258822dd7aa39dcb5c90ebdb9a171ddc5651a85c2b73a62" }, "downloads": -1, "filename": "sinfo-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5cac3b0728103846119af7dc19852243", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 20218, "upload_time": "2019-06-02T09:04:06", "url": "https://files.pythonhosted.org/packages/61/49/6621c7c8eec5eea105ae37b25739a0d170b37419505978589cf85ced9ee9/sinfo-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5cac3b0728103846119af7dc19852243", "sha256": "11d48919e68f474e4258822dd7aa39dcb5c90ebdb9a171ddc5651a85c2b73a62" }, "downloads": -1, "filename": "sinfo-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5cac3b0728103846119af7dc19852243", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 20218, "upload_time": "2019-06-02T09:04:06", "url": "https://files.pythonhosted.org/packages/61/49/6621c7c8eec5eea105ae37b25739a0d170b37419505978589cf85ced9ee9/sinfo-0.2.0.tar.gz" } ] }