Skip to main content

A backport of `breakpoint` to python<3.7

Project description

Build Status Azure DevOps coverage

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+.

def rand():
    breakpoint()  # no need for `import pdb; pdb.set_trace()`
    return 4

See PEP 553 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

future_breakpoint-2.0.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distributions

future_breakpoint-2.0.0-cp39-cp39-manylinux2010_x86_64.whl (18.9 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

future_breakpoint-2.0.0-cp37-cp37m-win_amd64.whl (8.6 kB view details)

Uploaded CPython 3.7m Windows x86-64

future_breakpoint-2.0.0-cp36-cp36m-win_amd64.whl (8.6 kB view details)

Uploaded CPython 3.6m Windows x86-64

File details

Details for the file future_breakpoint-2.0.0.tar.gz.

File metadata

  • Download URL: future_breakpoint-2.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

File hashes

Hashes for future_breakpoint-2.0.0.tar.gz
Algorithm Hash digest
SHA256 63a57df3ed853f12a1dfca689344ed4506a37fd75415251927555bb27a525ecf
MD5 25487ed966b90fe7f0f74655ceb62c4f
BLAKE2b-256 822eb6de83dc3ff83bd799e167247efb967f0b1fa45117d3948025ad2b60ab88

See more details on using hashes here.

File details

Details for the file future_breakpoint-2.0.0-cp39-cp39-manylinux2010_x86_64.whl.

File metadata

  • Download URL: future_breakpoint-2.0.0-cp39-cp39-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for future_breakpoint-2.0.0-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b3a497fa0acd6ac797e5d3af57bd772a026f6c0f8c5e1d1e3360d2a722e6859e
MD5 7c142f69704e57d10941cfadf985f203
BLAKE2b-256 537f8c2aa7b74bd36cc3d02d9a9803d5f0c1800a012aec1c4026ab54d86be377

See more details on using hashes here.

File details

Details for the file future_breakpoint-2.0.0-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: future_breakpoint-2.0.0-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for future_breakpoint-2.0.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 413ecdbabf528ff975078c784baf4bb57a2ae9d6a6afe0692cd44966223be22c
MD5 9eee4effdbea3f1bf44b6cd41e2be238
BLAKE2b-256 e52e84007a491beb65c407872655341d85dd1a9c2d04c7cfb8b923ee8e6bffbe

See more details on using hashes here.

File details

Details for the file future_breakpoint-2.0.0-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: future_breakpoint-2.0.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

File hashes

Hashes for future_breakpoint-2.0.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 679c3121e649d4218e336a4a79930d381174140be236d60a439ffcf75b728644
MD5 3d684a727c006bda87b7686286ef8afa
BLAKE2b-256 6c4b1ef98d8e12bc80c03a46c443cf3dcf57998a275d6b98ba32b4330728b12d

See more details on using hashes here.

File details

Details for the file future_breakpoint-2.0.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: future_breakpoint-2.0.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

File hashes

Hashes for future_breakpoint-2.0.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 ca3dc61c234f9e7a5d061565af978a28c9dd0038652ccf0f42601bb1b3bb8523
MD5 1a9191cf0942920371f729babb4dcbdf
BLAKE2b-256 fe1a40026d3e62d7bd2a8d3b75f13290d6b42bb052718725a6761b509a7605dc

See more details on using hashes here.

File details

Details for the file future_breakpoint-2.0.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: future_breakpoint-2.0.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

File hashes

Hashes for future_breakpoint-2.0.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 41f2e28e6af0a57cf2f006ea683a423a765305f1e4dfa3dffb97d1fc14a21e58
MD5 88237201a5d52f0d2be3c35de1d69c8a
BLAKE2b-256 30b3d17e65fb15a3820a02f53ed16a91466c185066a9fb90c49ffd170e43b46d

See more details on using hashes here.

File details

Details for the file future_breakpoint-2.0.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: future_breakpoint-2.0.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

File hashes

Hashes for future_breakpoint-2.0.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 ca86a18bcb8a1a4a90155ae0bfa48357c54b64e0be63fc936ede7ac610c1fe4e
MD5 139a9e828199b21c8393456fba72bdf3
BLAKE2b-256 34bce126683ab02841855dd7a2f586af7203e1784464c44c6f38961b2da3366e

See more details on using hashes here.

File details

Details for the file future_breakpoint-2.0.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: future_breakpoint-2.0.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

File hashes

Hashes for future_breakpoint-2.0.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 418878fdd4d2f634118e8ffafbe964c83c3f4b5ad169d034d24ca1c6d9b2bb41
MD5 9ee61cb8108041a3eb17e8d3ae32e5f8
BLAKE2b-256 e1b2ee89ed865dcb46fff698f3f3a853f5c586da8a7e130948a9f53620762bcf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page