Skip to main content

Official APIs for the MS-COCO dataset

Project description

pycocotools

This is a fork of the original cocoapi, with bug fixes and packaging improvements.

This is also the source of the pypi package pycocotools, available for download at pypi.

Changes in this fork include:

  • Add CircleCI tests
  • Support pip-installation correctly
  • Support windows
  • Don't import matplotlib unless needed
  • Close file handle after openning
  • Fix a small bug in rleToBbox
  • Fix a segfault in RLE decoding
  • Fix deprecated usage of other libraries

For compatibility, we will not make any API changes or non-bug behavior changes to the existing APIs of the official cocoapi.

Instructions for maintainers: to build a sdist package:

python -m build --sdist ./PythonAPI

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

pycocotools-2.0.7.tar.gz (25.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pycocotools-2.0.7-cp311-cp311-win_amd64.whl (85.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pycocotools-2.0.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (463.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pycocotools-2.0.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (449.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

pycocotools-2.0.7-cp311-cp311-macosx_10_9_universal2.whl (170.3 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

pycocotools-2.0.7-cp310-cp310-win_amd64.whl (84.9 kB view details)

Uploaded CPython 3.10Windows x86-64

pycocotools-2.0.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (426.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pycocotools-2.0.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (409.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

pycocotools-2.0.7-cp310-cp310-macosx_10_9_universal2.whl (169.1 kB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

pycocotools-2.0.7-cp39-cp39-win_amd64.whl (85.1 kB view details)

Uploaded CPython 3.9Windows x86-64

pycocotools-2.0.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (435.1 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pycocotools-2.0.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (419.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

pycocotools-2.0.7-cp39-cp39-macosx_10_9_universal2.whl (169.8 kB view details)

Uploaded CPython 3.9macOS 10.9+ universal2 (ARM64, x86-64)

pycocotools-2.0.7-cp38-cp38-win_amd64.whl (85.3 kB view details)

Uploaded CPython 3.8Windows x86-64

pycocotools-2.0.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (439.5 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pycocotools-2.0.7-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (424.6 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

pycocotools-2.0.7-cp38-cp38-macosx_10_9_universal2.whl (168.8 kB view details)

Uploaded CPython 3.8macOS 10.9+ universal2 (ARM64, x86-64)

pycocotools-2.0.7-cp37-cp37m-win_amd64.whl (84.6 kB view details)

Uploaded CPython 3.7mWindows x86-64

pycocotools-2.0.7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (403.3 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

pycocotools-2.0.7-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (388.4 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

File details

Details for the file pycocotools-2.0.7.tar.gz.

File metadata

  • Download URL: pycocotools-2.0.7.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pycocotools-2.0.7.tar.gz
Algorithm Hash digest
SHA256 da8b7815196eebf0adabf67fcc459126cbc6498bbc6ab1fd144c371465d86879
MD5 d8392dc4e069e11aa83d831e39bbbc21
BLAKE2b-256 e30af2c7565edb94530fa9205779a537df50bf315b928de095a0e3aa7fbdb366

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4a8ec6f439638120e11f49120e1ddb6c66e0b1f293d7884207d02703a73d25a1
MD5 2311ff5135ee19fb4f59475424adf0aa
BLAKE2b-256 24b2ef28a34cf6ca50b6b2f7ad81e5837ed45c252ffef22f5a704b94141ea842

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 121017ca87e2eec4e9081636d1a79519b50f473959defc5671c2d1ce0eec482e
MD5 0192eb55d8f079b88af08370af68c7c3
BLAKE2b-256 6c073c94d317ea5a35adbfe25e04a2754cfcb7ccd8ffa3a2796ab873f0bc4b7a

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0ac4f30bac1503c780072053e6922971392fa3628b2e6967192bfca1f14736e2
MD5 40602dcf61c3e309c9828ddbc05efcaa
BLAKE2b-256 402f198e8958cbfa52fd03ff460432432d608a00d676045207e38c5d94dce81b

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 623b941bbafecbfee574aedbf3cb257f7a879f4fdb79394e6d3fb9c76e7ad6cf
MD5 31b9cdb594b686de18fd87c8b7ba8a76
BLAKE2b-256 0cfefd252ca45e6f9351390059cc2964fc89cc3137895c4711ae8975aa6e098f

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 363a6be808125306ace1a163c0b9ba479ee08eceec1fbd3889a88bd8245f73dc
MD5 0f496dedf0db40d1fd86b15b2d7bc7a7
BLAKE2b-256 6e0366168e1940ad0ea745cc6489fd1bd9b8c296b20a7c0102bd329382880659

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9eb5d46900375adaba88eedb5cbc29d8cbcf43e82505d67378df1c3b720a8c5f
MD5 9a0f41c9eb29a321ebe15143b612644a
BLAKE2b-256 ba640451cf41a00fd5ac4501de4ea0e395b7d909e09d665e56890b5d3809ae26

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4d517ec315e53ef8df9f6b0899ebc4c79bd61fd715383861949bb1c3fca2c6d5
MD5 5edb92a67f165290ed1cebe4f3bec21e
BLAKE2b-256 953cc32dce862fb82812946acdc60cb7194e4da308fcecb05db62d2aa9c0396b

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a6683a002fcb4500edbcec94bdf48be69f578a9aa5c638db38614df1f45cc935
MD5 0c1b5f30bdc29e8c696e0b74b08704b3
BLAKE2b-256 e4f905200300de01f07cb4faf20104b8ddbc35586a49dc7f5b6fe84b5796d4c3

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pycocotools-2.0.7-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 85.1 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pycocotools-2.0.7-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 254506c0eecabb3abbde17640f82103c0c04d53148ae920657664cab9cd649fc
MD5 c9d4752741b1fadf5dcc950b250c97b5
BLAKE2b-256 e9f5180c8dfe94d031533619dde10495fda81082ed4578260b6924f1cbc7c977

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b29086b6ce7b73e4ddaf3045006f5c059f344a2720605cd4474814017ff2af53
MD5 b87d6351aaaa3140049c3fd78b018c40
BLAKE2b-256 fe83ae272705f1b2e4efe0cd2e7e2de0233386ed578a2356c6409e3db268e2db

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3e6f7bfa1c5fb206a614bf2382c923d56092219a12dfd0fec3b5f83c13e29e00
MD5 155c771dc23788aaf23b35f299d713e2
BLAKE2b-256 19935aaec888e3aa4d05b3a1472f331b83f7dc684d9a6b2645709d8f3352ba00

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 73dc251ae4a06b7c10747ca7e2d29faabb4f13e5fc43760945966845581e79ae
MD5 ef91cba6b631b307b38dc5e70fdab0c4
BLAKE2b-256 bb86480aff3c16abf2cdc63c708b3e02ca4dee1d47de114996c6c3446c67b808

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pycocotools-2.0.7-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 85.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pycocotools-2.0.7-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 625388f52e543f6f798f75f1ec125fe519580f22e72ccbd75eee0355ce336e18
MD5 acb90becd64fe6aa9d33e653440ce59c
BLAKE2b-256 851af3f95a5c994be2b554f370ac314b034d43d82c69be3fd40fabed5cfd5347

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 66864bec8b30d47faa946bb55c8e8d6b7acb9fba0c17ff6aaa37abd78cda962a
MD5 6c38d170905ba26494b69a36b8e0507d
BLAKE2b-256 6c116cb76ebc71388ac17691bc3da76276d1642af30bf9097de9bb5f64c92cfa

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1dbc429018149dc34e206ea32ee6297ff30b55a8615a3f7f4c6e3842f9df73db
MD5 487b8d697b1bb2c1aa66b0faff7f2aaa
BLAKE2b-256 c18228716322af53339d4651aed913fa80a4124475529f3f79db22019ea9fb30

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp38-cp38-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp38-cp38-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6469089b9b36a1f645dc9ee830f29d261e99b4b3be73cb260688fd8b6d02760c
MD5 b131d2894315675c8e4b4adb61dd9279
BLAKE2b-256 55ad815326ed4455ecf17a72e6145f57a81b5047aed0bde37a95fa34398a51cc

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pycocotools-2.0.7-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 84.6 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pycocotools-2.0.7-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 8def3c46349e919999d6d5a1d6b7e587e6891524cc28f8b4a11e463bf0914621
MD5 e11409b8fba7f866e6b54fb1583900ce
BLAKE2b-256 6f1e35838eb5786533e45dfd5d3607e231eca22e196dc410d466010b56918b35

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6541340f26bae32e044eedc5d8ccdac5bd0cb64eb2b0a342dac859b696edd0aa
MD5 9113b7280ec69d745aa296195b2564a8
BLAKE2b-256 27379a47974f4176d10d5304ead7f4c1ddf6e4148405d4e4c5414c4c68967295

See more details on using hashes here.

File details

Details for the file pycocotools-2.0.7-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.7-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f1a675728e459d72be6e3bb3546672bb37c7daffdc2e5335aa7b834aece2b560
MD5 852fa8242ed41981c6a84a28537025b7
BLAKE2b-256 7f1c54b17449b3f8abe59ea60f5ebe458c712d0de68049bb9af45123600fd37b

See more details on using hashes here.

Supported by

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