{ "info": { "author": "Rolando Espinoza", "author_email": "rolando at rmax.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5" ], "description": "=====================\nOpenMP Thread Counter\n=====================\n\n.. image:: https://img.shields.io/pypi/v/omp-thread-count.svg\n :target: https://pypi.python.org/pypi/omp-thread-count\n\n.. image:: https://img.shields.io/travis/rolando/omp-thread-count.svg\n :target: https://travis-ci.org/rolando/omp-thread-count\n\n.. image:: https://readthedocs.org/projects/omp-thread-count/badge/?version=latest\n :target: https://readthedocs.org/projects/omp-thread-count/?badge=latest\n :alt: Documentation Status\n\n\nA small Python module to get the actual number of threads used by OMP via Cython bindings.\n\n* Free software: MIT license\n* Documentation: https://omp-thread-count.readthedocs.org.\n\nWhy\n---\n\nBecause GCC/Cython always returned 1 when calling ``openmp.get_thread_num`` or ``openmp.get_max_threads``.\n\nInstallation\n------------\n\nTo install run::\n\n pip install omp-thread-count\n\nIn OSX, and possibly other platforms, you may need to specify a compiler with\nOpenMP support, like this::\n\n CC=gcc-4.8 pip install omp-thread-count\n\nUsage\n-----\n\nImporting from python code:\n\n.. code:: python\n \n import omp_thread_count\n\n n_threads = omp_thread_count.get_thread_count()\n\n\nImporting from cython code:\n\n.. code:: python\n\n from omp_thread_count._omp cimport get_thread_count\n\nUse ``omp_thread_count.get_includes()`` in your extensions' ``include_dirs`` to\nuse the header files.\n\n\nCredits\n---------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.2.1 (2016-06-21)\n------------------\n\n* Improved packaging and CI support.\n* Simplified cython code.\n* Fixed support for python 3.5.\n\n0.2.0 (2016-06-19)\n------------------\n\n* Added pxd files for third-party cimports.\n\n0.1.0 (2016-06-18)\n------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rolando/omp-thread-count", "keywords": "openmp,threads", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "omp-thread-count", "package_url": "https://pypi.org/project/omp-thread-count/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/omp-thread-count/", "project_urls": { "Homepage": "https://github.com/rolando/omp-thread-count" }, "release_url": "https://pypi.org/project/omp-thread-count/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "A small utility to get the actual number of threads used by OpenMP via Cython bindings.", "version": "0.2.1" }, "last_serial": 2178311, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "832a9617e27628e80ba08978605a468c", "sha256": "065faac71716c5fea05a23f0f1da5a889511b1d9ce2e2ff5d93fd00a262931a7" }, "downloads": -1, "filename": "omp-thread-count-0.1.0.tar.gz", "has_sig": false, "md5_digest": "832a9617e27628e80ba08978605a468c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23160, "upload_time": "2016-06-19T03:09:30", "url": "https://files.pythonhosted.org/packages/23/ff/82f9d47c1f11f6a73c915e6ef9be983410cb823042b423f02f756b9605de/omp-thread-count-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "5b44e9ccb2687f3706e9ac2035c9371d", "sha256": "b2f38eb1fc9f73748e62602fd92df4780e870c2cc7b5deaa9fac84e81e78e20b" }, "downloads": -1, "filename": "omp-thread-count-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5b44e9ccb2687f3706e9ac2035c9371d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63806, "upload_time": "2016-06-19T05:47:45", "url": "https://files.pythonhosted.org/packages/85/d5/6c7716e268eaef4604adffa750d85459d900cec357d15d7ae109bc8244bd/omp-thread-count-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "107444cc77df3d177c49c6d75aa68686", "sha256": "9f8e228196d9ba0d955aebaaa3e441c82b437a3f21634aff8379a7ed6e903987" }, "downloads": -1, "filename": "omp-thread-count-0.2.1.tar.gz", "has_sig": false, "md5_digest": "107444cc77df3d177c49c6d75aa68686", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27173, "upload_time": "2016-06-21T04:43:05", "url": "https://files.pythonhosted.org/packages/ec/38/a675d9f8f45c661b4d051ea9b22aea223cca0b9adc717742eacb8aa1caa1/omp-thread-count-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "107444cc77df3d177c49c6d75aa68686", "sha256": "9f8e228196d9ba0d955aebaaa3e441c82b437a3f21634aff8379a7ed6e903987" }, "downloads": -1, "filename": "omp-thread-count-0.2.1.tar.gz", "has_sig": false, "md5_digest": "107444cc77df3d177c49c6d75aa68686", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27173, "upload_time": "2016-06-21T04:43:05", "url": "https://files.pythonhosted.org/packages/ec/38/a675d9f8f45c661b4d051ea9b22aea223cca0b9adc717742eacb8aa1caa1/omp-thread-count-0.2.1.tar.gz" } ] }