[![Build Status](https://asottile.visualstudio.com/asottile/_apis/build/status/asottile.future-breakpoint?branchName=master)](https://asottile.visualstudio.com/asottile/_build/latest?definitionId=18&branchName=master)
[![Azure DevOps coverage](https://img.shields.io/azure-devops/coverage/asottile/asottile/18/master.svg)](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=18&branchName=master)
future-breakpoint
=================
A backport of `breakpoint` to python<3.7.
## install
`pip install future-breakpoint`
## supported versions
python3+, (noop on python3.7+)
## usage
Once installed, you should be able to use `breakpoint()` in the same way as in
python3.7+.
```python
def rand():
breakpoint() # no need for `import pdb; pdb.set_trace()`
return 4
```
See [PEP 553](https://www.python.org/dev/peps/pep-0553/) for full usage!
## how though?
- a C extension which implements the PEP
- a `.pth` file executed on startup (see setup.py) patches `sys` / `builtins`
## you may also like
- [future-fstrings](https://github.com/asottile/future-fstrings)
Raw data
{
"_id": null,
"home_page": "https://github.com/asottile/future-breakpoint",
"name": "future-breakpoint",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6.1",
"maintainer_email": "",
"keywords": "",
"author": "Anthony Sottile",
"author_email": "asottile@umich.edu",
"download_url": "https://files.pythonhosted.org/packages/82/2e/b6de83dc3ff83bd799e167247efb967f0b1fa45117d3948025ad2b60ab88/future_breakpoint-2.0.0.tar.gz",
"platform": "",
"description": "[![Build Status](https://asottile.visualstudio.com/asottile/_apis/build/status/asottile.future-breakpoint?branchName=master)](https://asottile.visualstudio.com/asottile/_build/latest?definitionId=18&branchName=master)\n[![Azure DevOps coverage](https://img.shields.io/azure-devops/coverage/asottile/asottile/18/master.svg)](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=18&branchName=master)\n\nfuture-breakpoint\n=================\n\nA backport of `breakpoint` to python<3.7.\n\n## install\n\n`pip install future-breakpoint`\n\n## supported versions\n\npython3+, (noop on python3.7+)\n\n## usage\n\nOnce installed, you should be able to use `breakpoint()` in the same way as in\npython3.7+.\n\n```python\ndef rand():\n breakpoint() # no need for `import pdb; pdb.set_trace()`\n return 4\n```\n\nSee [PEP 553](https://www.python.org/dev/peps/pep-0553/) for full usage!\n\n## how though?\n\n- a C extension which implements the PEP\n- a `.pth` file executed on startup (see setup.py) patches `sys` / `builtins`\n\n## you may also like\n\n- [future-fstrings](https://github.com/asottile/future-fstrings)",
"bugtrack_url": null,
"license": "MIT",
"summary": "A backport of `breakpoint` to python<3.7",
"version": "2.0.0",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e1b2ee89ed865dcb46fff698f3f3a853f5c586da8a7e130948a9f53620762bcf",
"md5": "9ee61cb8108041a3eb17e8d3ae32e5f8",
"sha256": "418878fdd4d2f634118e8ffafbe964c83c3f4b5ad169d034d24ca1c6d9b2bb41"
},
"downloads": -1,
"filename": "future_breakpoint-2.0.0-cp36-cp36m-manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "9ee61cb8108041a3eb17e8d3ae32e5f8",
"packagetype": "bdist_wheel",
"python_version": "cp36",
"requires_python": ">=3.6.1",
"size": 13747,
"upload_time": "2020-02-28T21:09:12",
"upload_time_iso_8601": "2020-02-28T21:09:12.918097Z",
"url": "https://files.pythonhosted.org/packages/e1/b2/ee89ed865dcb46fff698f3f3a853f5c586da8a7e130948a9f53620762bcf/future_breakpoint-2.0.0-cp36-cp36m-manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "34bce126683ab02841855dd7a2f586af7203e1784464c44c6f38961b2da3366e",
"md5": "139a9e828199b21c8393456fba72bdf3",
"sha256": "ca86a18bcb8a1a4a90155ae0bfa48357c54b64e0be63fc936ede7ac610c1fe4e"
},
"downloads": -1,
"filename": "future_breakpoint-2.0.0-cp36-cp36m-win_amd64.whl",
"has_sig": false,
"md5_digest": "139a9e828199b21c8393456fba72bdf3",
"packagetype": "bdist_wheel",
"python_version": "cp36",
"requires_python": ">=3.6.1",
"size": 8617,
"upload_time": "2020-02-28T21:09:14",
"upload_time_iso_8601": "2020-02-28T21:09:14.389369Z",
"url": "https://files.pythonhosted.org/packages/34/bc/e126683ab02841855dd7a2f586af7203e1784464c44c6f38961b2da3366e/future_breakpoint-2.0.0-cp36-cp36m-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "30b3d17e65fb15a3820a02f53ed16a91466c185066a9fb90c49ffd170e43b46d",
"md5": "88237201a5d52f0d2be3c35de1d69c8a",
"sha256": "41f2e28e6af0a57cf2f006ea683a423a765305f1e4dfa3dffb97d1fc14a21e58"
},
"downloads": -1,
"filename": "future_breakpoint-2.0.0-cp37-cp37m-manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "88237201a5d52f0d2be3c35de1d69c8a",
"packagetype": "bdist_wheel",
"python_version": "cp37",
"requires_python": ">=3.6.1",
"size": 13751,
"upload_time": "2020-02-28T21:09:15",
"upload_time_iso_8601": "2020-02-28T21:09:15.470742Z",
"url": "https://files.pythonhosted.org/packages/30/b3/d17e65fb15a3820a02f53ed16a91466c185066a9fb90c49ffd170e43b46d/future_breakpoint-2.0.0-cp37-cp37m-manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fe1a40026d3e62d7bd2a8d3b75f13290d6b42bb052718725a6761b509a7605dc",
"md5": "1a9191cf0942920371f729babb4dcbdf",
"sha256": "ca3dc61c234f9e7a5d061565af978a28c9dd0038652ccf0f42601bb1b3bb8523"
},
"downloads": -1,
"filename": "future_breakpoint-2.0.0-cp37-cp37m-win_amd64.whl",
"has_sig": false,
"md5_digest": "1a9191cf0942920371f729babb4dcbdf",
"packagetype": "bdist_wheel",
"python_version": "cp37",
"requires_python": ">=3.6.1",
"size": 8617,
"upload_time": "2020-02-28T21:09:17",
"upload_time_iso_8601": "2020-02-28T21:09:17.276120Z",
"url": "https://files.pythonhosted.org/packages/fe/1a/40026d3e62d7bd2a8d3b75f13290d6b42bb052718725a6761b509a7605dc/future_breakpoint-2.0.0-cp37-cp37m-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6c4b1ef98d8e12bc80c03a46c443cf3dcf57998a275d6b98ba32b4330728b12d",
"md5": "3d684a727c006bda87b7686286ef8afa",
"sha256": "679c3121e649d4218e336a4a79930d381174140be236d60a439ffcf75b728644"
},
"downloads": -1,
"filename": "future_breakpoint-2.0.0-cp38-cp38-manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "3d684a727c006bda87b7686286ef8afa",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.6.1",
"size": 14440,
"upload_time": "2020-02-28T21:09:18",
"upload_time_iso_8601": "2020-02-28T21:09:18.359451Z",
"url": "https://files.pythonhosted.org/packages/6c/4b/1ef98d8e12bc80c03a46c443cf3dcf57998a275d6b98ba32b4330728b12d/future_breakpoint-2.0.0-cp38-cp38-manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e52e84007a491beb65c407872655341d85dd1a9c2d04c7cfb8b923ee8e6bffbe",
"md5": "9eee4effdbea3f1bf44b6cd41e2be238",
"sha256": "413ecdbabf528ff975078c784baf4bb57a2ae9d6a6afe0692cd44966223be22c"
},
"downloads": -1,
"filename": "future_breakpoint-2.0.0-cp39-cp39-manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "9eee4effdbea3f1bf44b6cd41e2be238",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.6.1",
"size": 18875,
"upload_time": "2020-10-05T20:15:41",
"upload_time_iso_8601": "2020-10-05T20:15:41.241900Z",
"url": "https://files.pythonhosted.org/packages/e5/2e/84007a491beb65c407872655341d85dd1a9c2d04c7cfb8b923ee8e6bffbe/future_breakpoint-2.0.0-cp39-cp39-manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "537f8c2aa7b74bd36cc3d02d9a9803d5f0c1800a012aec1c4026ab54d86be377",
"md5": "7c142f69704e57d10941cfadf985f203",
"sha256": "b3a497fa0acd6ac797e5d3af57bd772a026f6c0f8c5e1d1e3360d2a722e6859e"
},
"downloads": -1,
"filename": "future_breakpoint-2.0.0-cp39-cp39-manylinux2010_x86_64.whl",
"has_sig": false,
"md5_digest": "7c142f69704e57d10941cfadf985f203",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.6.1",
"size": 18880,
"upload_time": "2020-10-05T20:15:42",
"upload_time_iso_8601": "2020-10-05T20:15:42.402572Z",
"url": "https://files.pythonhosted.org/packages/53/7f/8c2aa7b74bd36cc3d02d9a9803d5f0c1800a012aec1c4026ab54d86be377/future_breakpoint-2.0.0-cp39-cp39-manylinux2010_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "822eb6de83dc3ff83bd799e167247efb967f0b1fa45117d3948025ad2b60ab88",
"md5": "25487ed966b90fe7f0f74655ceb62c4f",
"sha256": "63a57df3ed853f12a1dfca689344ed4506a37fd75415251927555bb27a525ecf"
},
"downloads": -1,
"filename": "future_breakpoint-2.0.0.tar.gz",
"has_sig": false,
"md5_digest": "25487ed966b90fe7f0f74655ceb62c4f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6.1",
"size": 4240,
"upload_time": "2020-02-28T21:05:13",
"upload_time_iso_8601": "2020-02-28T21:05:13.614411Z",
"url": "https://files.pythonhosted.org/packages/82/2e/b6de83dc3ff83bd799e167247efb967f0b1fa45117d3948025ad2b60ab88/future_breakpoint-2.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2020-02-28 21:05:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "asottile",
"github_project": "future-breakpoint",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "future-breakpoint"
}