Skip to main content

Line-by-line profiler.

Project description

line_profiler will profile the time individual lines of code take to execute. The profiler is implemented in C via Cython in order to reduce the overhead of profiling.

Also included is the script kernprof.py which can be used to conveniently profile Python applications and scripts either with line_profiler or with the function-level profiling tools in the Python standard library.

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

line_profiler-3.1.0.tar.gz (45.2 kB view details)

Uploaded Source

Built Distributions

line_profiler-3.1.0-cp39-cp39-manylinux2010_x86_64.whl (65.5 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

line_profiler-3.1.0-cp39-cp39-manylinux1_x86_64.whl (65.5 kB view details)

Uploaded CPython 3.9

line_profiler-3.1.0-cp38-cp38-manylinux2010_x86_64.whl (65.4 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

line_profiler-3.1.0-cp38-cp38-manylinux1_x86_64.whl (65.4 kB view details)

Uploaded CPython 3.8

line_profiler-3.1.0-cp37-cp37m-manylinux2010_x86_64.whl (63.3 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

line_profiler-3.1.0-cp37-cp37m-manylinux1_x86_64.whl (63.3 kB view details)

Uploaded CPython 3.7m

line_profiler-3.1.0-cp36-cp36m-manylinux2010_x86_64.whl (63.9 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

line_profiler-3.1.0-cp36-cp36m-manylinux1_x86_64.whl (63.9 kB view details)

Uploaded CPython 3.6m

line_profiler-3.1.0-cp35-cp35m-manylinux2010_x86_64.whl (62.2 kB view details)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

line_profiler-3.1.0-cp35-cp35m-manylinux1_x86_64.whl (62.2 kB view details)

Uploaded CPython 3.5m

line_profiler-3.1.0-cp27-cp27mu-manylinux2010_x86_64.whl (58.8 kB view details)

Uploaded CPython 2.7mu manylinux: glibc 2.12+ x86-64

line_profiler-3.1.0-cp27-cp27mu-manylinux1_x86_64.whl (58.8 kB view details)

Uploaded CPython 2.7mu

File details

Details for the file line_profiler-3.1.0.tar.gz.

File metadata

  • Download URL: line_profiler-3.1.0.tar.gz
  • Upload date:
  • Size: 45.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/2.7.15

File hashes

Hashes for line_profiler-3.1.0.tar.gz
Algorithm Hash digest
SHA256 e73ff429236d59d48ce7028484becfa01449b3d52abdcf7337e0ff2acdc5093c
MD5 39d75c51f4502532f3e203f12b25d48a
BLAKE2b-256 496ef9b68108846582a1c7ec00d4039d46371065812bcbe1dc6a065049620b0b

See more details on using hashes here.

File details

Details for the file line_profiler-3.1.0-cp39-cp39-manylinux2010_x86_64.whl.

File metadata

  • Download URL: line_profiler-3.1.0-cp39-cp39-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 65.5 kB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for line_profiler-3.1.0-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c6c0fe9e5c725e99b605141c52914b87aebff37f290183fecd57ecb6e5db42f3
MD5 18bb9135d6e9350f32b0159d70ebad7c
BLAKE2b-256 78487d934cfd958c05ab9d87ed1094610425bd0eb8bfd8fcaf9b786ad0ff47ee

See more details on using hashes here.

File details

Details for the file line_profiler-3.1.0-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: line_profiler-3.1.0-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 65.5 kB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for line_profiler-3.1.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5f576f3c1f4394f27904ef1df936a57871d653cbcb3b4ba25ca0cb07574c2357
MD5 fefe62927491679f738000d3a0cecdf5
BLAKE2b-256 bd0c9da7252ef20dd03e28f9a928d3530afa40a83ca299127f8da138e40f45a0

See more details on using hashes here.

File details

Details for the file line_profiler-3.1.0-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: line_profiler-3.1.0-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 65.4 kB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for line_profiler-3.1.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 616dac1d3acb35eef3df5171d62dc5efbf30878e37897e5ffc2f21d2230ee34c
MD5 25b9cfaf281a8e2d1e2ec260d472a2f0
BLAKE2b-256 1f984e6b01ec158154d66712aba6cda76ff95c7864297045c21ad1a31ea23cd4

See more details on using hashes here.

File details

Details for the file line_profiler-3.1.0-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: line_profiler-3.1.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 65.4 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for line_profiler-3.1.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a66e089e6d98ab8a70b5f89c0367c6780abad0f0b1d624dbe5edd8f0083986c7
MD5 0b762c96008f69e1366de062a0d3dd6a
BLAKE2b-256 57bb090216d371e6faea7960d03cbdbcbc1b53d6d675fcaae5078a7ac5d4a437

See more details on using hashes here.

File details

Details for the file line_profiler-3.1.0-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: line_profiler-3.1.0-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 63.3 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for line_profiler-3.1.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b4500bd58f9121ee816c934704698dcd14b8eeac3e2e5799b65bed9ea9da9e32
MD5 f2db1555b09f9b7a52fe8b13ed510281
BLAKE2b-256 daad30ef6e8c8f3d4b4e08a197c7bf4154f001d14684fba2b693d813c2b4c692

See more details on using hashes here.

File details

Details for the file line_profiler-3.1.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: line_profiler-3.1.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 63.3 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for line_profiler-3.1.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2b937d8b207cee753d175cc65907901bd9ccadfe20ff2038df9aeae2eafcba6b
MD5 515604d10b2d7560e2854a45c612d4d5
BLAKE2b-256 fb89cb7787463c0bc676d3200d278d26a732ce4921ba5efce6eb8e1fc29b6fff

See more details on using hashes here.

File details

Details for the file line_profiler-3.1.0-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: line_profiler-3.1.0-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 63.9 kB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for line_profiler-3.1.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 765329a864c4d9d65338eb5b7e1674dfa0cdef135915b296063aa947a6802af5
MD5 bc82048a4abf82dcfc7304ad0e98d7fc
BLAKE2b-256 66eb417ace64f45fee7a0394946f8e1f90f925420fd9b14f1f09abb5284a0ca4

See more details on using hashes here.

File details

Details for the file line_profiler-3.1.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: line_profiler-3.1.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 63.9 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for line_profiler-3.1.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 81d04951f847448669531cd9427c561ef9510f72fda82db4380b960d3e53220d
MD5 ed45d4e5baf04a1800e6a5843c0747f3
BLAKE2b-256 e83e12400c1178d6fbd4f4c2c96d6e94e3801dadc80ef75f706d4fabf062efc0

See more details on using hashes here.

File details

Details for the file line_profiler-3.1.0-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: line_profiler-3.1.0-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 62.2 kB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.5.6

File hashes

Hashes for line_profiler-3.1.0-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 23b074497f196d7dd7bc74386cbba47766162f187ebd78bfbc96238f1ce1202d
MD5 349758d37ab9d66dd45a5dad3cdaa9eb
BLAKE2b-256 c7de1704fd92964b05290d5e2e7fd5ecd6ec267ee44bcfc9702a5c40dd1b4c3e

See more details on using hashes here.

File details

Details for the file line_profiler-3.1.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: line_profiler-3.1.0-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 62.2 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.5.6

File hashes

Hashes for line_profiler-3.1.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 41bf0eaaa093c1655d52c1a8febe8980f8bdffe717746ee7951704e724102283
MD5 c71cd56a9dc0b0175dec8b1792e54a5d
BLAKE2b-256 7a52820c68511992ecfade89d57fa47b5dabb36f782e184dd9c3f903e753e2bf

See more details on using hashes here.

File details

Details for the file line_profiler-3.1.0-cp27-cp27mu-manylinux2010_x86_64.whl.

File metadata

  • Download URL: line_profiler-3.1.0-cp27-cp27mu-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 58.8 kB
  • Tags: CPython 2.7mu, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/2.7.15

File hashes

Hashes for line_profiler-3.1.0-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 327220c8708be67dd98bf3cac84e83b3de87c97bcedba686cade93017d4d21e1
MD5 5a11175812e70b40972fee3bb02450f4
BLAKE2b-256 87222e075bd13b7bfff5f8b5269f69b9a87f56e31006eb7e7541d9cc691a3d84

See more details on using hashes here.

File details

Details for the file line_profiler-3.1.0-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

  • Download URL: line_profiler-3.1.0-cp27-cp27mu-manylinux1_x86_64.whl
  • Upload date:
  • Size: 58.8 kB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/2.7.15

File hashes

Hashes for line_profiler-3.1.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3e91fbeb0ee9319994a149b753327d98c05e688bb327a36d95cbd9cc0f564232
MD5 5d44535ba05ab0070959336e2258973b
BLAKE2b-256 3841806143ef34ffbdc39a4ef0a85538545032cbe906e94da846db44431de851

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