{
"info": {
"author": "Yani Lathouris",
"author_email": "ylathouris@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development :: Build Tools"
],
"description": "[](https://circleci.com/gh/ylathouris/bia) \n\n---\n\n# Code Bio\n\nThe `bio` package provides utilities for profiling python code. \n\n* [Decorator](#decorator.profile)\n* [Context Manager](#contextmanager.profiler)\n\n\n\n## Installation\n\n```\npip install bio\n```\n\n\n\n### Decorator\n\n```python\nimport bio\n\n@bio.profile()\ndef my_functon():\n # Do stuff here\n```\n\nUsing the `@bio.profile()` decorator with no arguments will simply print \nthe output to `stdout`. Alternatively, you can provide the file location \nfor the profiler output.\n\n```python\n@bio.profile(\"/path/to/file.prof\")\ndef my_functon():\n # Do stuff here\n```\n\nIn the example shown above, the output will be written to both `stdout` \nand the given file location. If you would prefer not to write to `stdout` \nyou can use the `quiet=True` option.\n\n```python\n@bio.profile(\"/path/to/file.prof\", quiet=True)\ndef my_functon():\n # Do stuff here\n```\n\n\n\n### Context Manager\n\n```python\nimport bio\n\nwith bio.profiler(\"/path/to/file.prof\"):\n # Do stuff here\n```\n\n\n\n# Developers\n\n\n### Testing\n\nBio uses [tox] for testing. To run the tests, simply do:\n\n```\ntox\n```\n\nThe configuration for [tox] can be found in the **tox.ini** file. Bio \nuses [pytest] as the preferred testing framework. Prior to running the \ntests, [tox] will execute an auto-formatting tool called [black]. After \nthe tests have completed, [tox] will create the coverage badge (shown at\nthe top of this page) using the [coverage_badge] tool.\n\n\n[tox]: https://tox.readthedocs.io/en/latest/\n[pytest]: https://docs.pytest.org/en/latest\n[black]: https://github.com/ambv/black\n[coverage_badge]: https://github.com/dbrgn/coverage-badge\n\n\n",
"description_content_type": "text/markdown",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/ylathouris/bio",
"keywords": "io,load,dump,read,write,parse,format,utils",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "bio",
"package_url": "https://pypi.org/project/bio/",
"platform": "",
"project_url": "https://pypi.org/project/bio/",
"project_urls": {
"Homepage": "https://github.com/ylathouris/bio",
"Say Thanks!": "http://saythanks.io/to/ylathouris",
"Source": "https://github.com/ylathouris/bio",
"Tracker": "https://github.com/ylathouris/bio/issues"
},
"release_url": "https://pypi.org/project/bio/0.1.0/",
"requires_dist": null,
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4",
"summary": "Python Profiler",
"version": "0.1.0"
},
"last_serial": 4820027,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "b67f9cace4cd1156e4f1ad77e17a8566",
"sha256": "1a482e2f3aa0b83ebf08cb5e5a099c527463f4a95182bc81fd31a2217a265f5a"
},
"downloads": -1,
"filename": "bio-0.1.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b67f9cace4cd1156e4f1ad77e17a8566",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4",
"size": 3825,
"upload_time": "2019-02-14T12:01:03",
"url": "https://files.pythonhosted.org/packages/14/c2/43663d53b93ef7b4d42cd3550631552887f36db02c0150d803c69ba636a6/bio-0.1.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "44079076edf90c17c316204dda2ec0a4",
"sha256": "23535a9cb11aaa4b792e4c9b3a88c76ccfe0df6710b282da3a4e2427193df643"
},
"downloads": -1,
"filename": "bio-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "44079076edf90c17c316204dda2ec0a4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4",
"size": 3054,
"upload_time": "2019-02-14T12:01:09",
"url": "https://files.pythonhosted.org/packages/05/9f/d92e035de36200d9929927f5f15dcc1f251f9fd9181f5db206700be74900/bio-0.1.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "b67f9cace4cd1156e4f1ad77e17a8566",
"sha256": "1a482e2f3aa0b83ebf08cb5e5a099c527463f4a95182bc81fd31a2217a265f5a"
},
"downloads": -1,
"filename": "bio-0.1.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b67f9cace4cd1156e4f1ad77e17a8566",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4",
"size": 3825,
"upload_time": "2019-02-14T12:01:03",
"url": "https://files.pythonhosted.org/packages/14/c2/43663d53b93ef7b4d42cd3550631552887f36db02c0150d803c69ba636a6/bio-0.1.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "44079076edf90c17c316204dda2ec0a4",
"sha256": "23535a9cb11aaa4b792e4c9b3a88c76ccfe0df6710b282da3a4e2427193df643"
},
"downloads": -1,
"filename": "bio-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "44079076edf90c17c316204dda2ec0a4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4",
"size": 3054,
"upload_time": "2019-02-14T12:01:09",
"url": "https://files.pythonhosted.org/packages/05/9f/d92e035de36200d9929927f5f15dcc1f251f9fd9181f5db206700be74900/bio-0.1.0.tar.gz"
}
]
}