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 "official" 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.8.tar.gz (25.0 kB view details)

Uploaded Source

Built Distributions

pycocotools-2.0.8-cp312-cp312-win_arm64.whl (68.9 kB view details)

Uploaded CPython 3.12 Windows ARM64

pycocotools-2.0.8-cp312-cp312-win_amd64.whl (83.3 kB view details)

Uploaded CPython 3.12 Windows x86-64

pycocotools-2.0.8-cp312-cp312-musllinux_1_1_x86_64.whl (444.3 kB view details)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

pycocotools-2.0.8-cp312-cp312-musllinux_1_1_aarch64.whl (428.9 kB view details)

Uploaded CPython 3.12 musllinux: musl 1.1+ ARM64

pycocotools-2.0.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443.5 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pycocotools-2.0.8-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (429.6 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

pycocotools-2.0.8-cp312-cp312-macosx_10_9_universal2.whl (162.7 kB view details)

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

pycocotools-2.0.8-cp311-cp311-win_arm64.whl (71.4 kB view details)

Uploaded CPython 3.11 Windows ARM64

pycocotools-2.0.8-cp311-cp311-win_amd64.whl (85.3 kB view details)

Uploaded CPython 3.11 Windows x86-64

pycocotools-2.0.8-cp311-cp311-musllinux_1_1_x86_64.whl (456.4 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

pycocotools-2.0.8-cp311-cp311-musllinux_1_1_aarch64.whl (438.7 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ ARM64

pycocotools-2.0.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (458.7 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pycocotools-2.0.8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (443.3 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

pycocotools-2.0.8-cp311-cp311-macosx_10_9_universal2.whl (162.9 kB view details)

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

pycocotools-2.0.8-cp310-cp310-win_arm64.whl (71.0 kB view details)

Uploaded CPython 3.10 Windows ARM64

pycocotools-2.0.8-cp310-cp310-win_amd64.whl (84.5 kB view details)

Uploaded CPython 3.10 Windows x86-64

pycocotools-2.0.8-cp310-cp310-musllinux_1_1_x86_64.whl (426.2 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

pycocotools-2.0.8-cp310-cp310-musllinux_1_1_aarch64.whl (408.9 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ ARM64

pycocotools-2.0.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (427.8 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pycocotools-2.0.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (410.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

pycocotools-2.0.8-cp310-cp310-macosx_10_9_universal2.whl (162.3 kB view details)

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

pycocotools-2.0.8-cp39-cp39-win_arm64.whl (71.5 kB view details)

Uploaded CPython 3.9 Windows ARM64

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

Uploaded CPython 3.9 Windows x86-64

pycocotools-2.0.8-cp39-cp39-musllinux_1_1_x86_64.whl (429.2 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

pycocotools-2.0.8-cp39-cp39-musllinux_1_1_aarch64.whl (411.3 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ ARM64

pycocotools-2.0.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (432.9 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pycocotools-2.0.8-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (414.7 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

pycocotools-2.0.8-cp39-cp39-macosx_10_9_universal2.whl (163.4 kB view details)

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

File details

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

File metadata

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

File hashes

Hashes for pycocotools-2.0.8.tar.gz
Algorithm Hash digest
SHA256 8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e1dfb8d
MD5 a72c9c7d61480717eee882a97e3cd87e
BLAKE2b-256 6b1acdfce175d663568215b3a6b6170ad2a526932cc1021dffabda56a5c3f189

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp312-cp312-win_arm64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 87853ca11e9b130e461d6b5284ea475efe35429060a915844e1998d206ba028e
MD5 433f5f70ea47dbca14de2f5cbe29f088
BLAKE2b-256 4d8273ba66a13b2288ecc60ed910dd8c16e6c584f3ca5407e706e5903d256712

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d004033e760a172b2ccbdf4a62d20d2bcf0c9b40dc3c0d1d724045b0a6944862
MD5 bdc653f3636357eb0f90205c163e9da1
BLAKE2b-256 4a9b8f89d36e4a23166ccabe5c9fed00baffaa6a67609add316fc1334bbf4016

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp312-cp312-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 56bbe8be608def61da0b4430562b8d5ff14525f509631a667cfd8405325193da
MD5 1199dcbb1c0dec86f5861fadf418e592
BLAKE2b-256 74fd88025b72eaff58fe4066823ebecb3232c3b59f2a080cb3d4c974e1082732

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp312-cp312-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp312-cp312-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 e6d528c4f35580347ee3cd57f92cf0926e9b6a688d0904b2ea8a814ae2e57a47
MD5 0568385e494956bf0f0db96b8a0c9919
BLAKE2b-256 87f2038244a12c3297a2a7821bd6e72deaa350831c142b0380a14c9749009d83

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b89f399eb851d18f68dfa7f126380394ec0820915c7b3831dd37563bc58daa95
MD5 6063a423e7a3d66811e1d42638f0d034
BLAKE2b-256 3ccee51566bce4067327c299fe8b6de18f9275e0c0ceaf8e4820ea9af689101c

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5683ba2612c39094a2e8453d40349768a3da6673376786651481d6f553ff7b50
MD5 fbdb57655181675c832725cc1387841c
BLAKE2b-256 ce1d3f32a8fd8b0d0c6f952f030ac90fceb318204c19de33b1cbc4cccee51a03

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 dd4616621d062882db677de5c64b1b0f6efbcaed9fd284b61e7ba4b16ab24d7a
MD5 f892623ff77496d4cfb995b44b7192e4
BLAKE2b-256 20b6d3287bdb2f1954d5739337035a424b6ec012bc6fed0af476c92309cec001

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp311-cp311-win_arm64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 16c5a1d2c8726149b5a0e6fe95095ffc172d4012ece5dee9b5beeef708fc0284
MD5 4b8a663cf424fcd1a831bcf31f5f1252
BLAKE2b-256 432a7a461713fd3ff474bd12420b8e402c248b7821f295031f2ac632c0949740

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e680e27e58b840c105fa09a3bb1d91706038c5c8d7b7bf09c2e5ecbd1b05ad7f
MD5 28acd4d7b16c1b84d49e1fd4ce7286e6
BLAKE2b-256 2ef5dfa78dc72e47dfe1ada7b37fedcb338454750470358a6dfcfdfda35fa337

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 05480f731fcd7c5d05389081f84198f3b8117f4560227185bc462cccb5c79181
MD5 698fe74e47b7032125d60b0972282bd8
BLAKE2b-256 cf0f890e1e5d6c9f773fb5f5903ca8f75425b1c0cec8f71c1322f481f26a0138

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp311-cp311-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp311-cp311-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 59eb7b1839f269262456347b6fe2bb88a8be56b32d87fab946483746e1f18a07
MD5 aa92d4872d3ccb146bf1a99f36cb04f2
BLAKE2b-256 33b7886f5ceb83cfefe52d14b4df7da034deecddf714b4ff2c75d98ee35469cd

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5968a1e5421719af9eb7ccee4c540bfb18b1fc95d30d9a48571d0aaeb159a1ae
MD5 4d5ddff0f180720f5df3b51e6ca471da
BLAKE2b-256 8bd47279d072c0255d07c541326f6058effb1b08190f49695bf2c22aae666878

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6a07f57f991e379959c0f4a1b9ea35d875876433b7f45c6d8fe6b718e58834bc
MD5 c95b324c541e7ae976b991fba520399f
BLAKE2b-256 d59c09cd808743338db170915deb35fa020b792d583238afe55f27c011f91c3c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 92bf788e6936fc52b57ccaaa78ecdaeac81872eebbfc45b6fe16ae18b85709bd
MD5 7da5b205269a95f6b08e31807d0052d8
BLAKE2b-256 6b569eedccfd1cfdaf6553d527bed0b2b5572550567a5786a8beb098027a3e5e

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp310-cp310-win_arm64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 52e06a833fad735485cad5c1f8fe40e2b586261b2856806b5d6923b0b5a3c971
MD5 93b10203e6af7253674fb93619d0337e
BLAKE2b-256 059052de34f2f032e3de957c953fd1d4a9025175622714e5023ba4d6a9a96ece

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 889edd2dbf61f4d2fe77c2e8e5608476903d1911d2ed00f9911354eff23f2423
MD5 31ccd17b89aed215b3adb6c029f8fcc6
BLAKE2b-256 8d06b9bdedfdcbf2fb5ba55252f1a5ff5e8e02ae204fe392f7b4f5babbc14a2a

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 e7b4ee8b15539d6f789857faefe7d3eef81755f7b17f60903798524e4f321a5c
MD5 0e7d91159a3f6596588ba5d1b9754157
BLAKE2b-256 6dd257421216b31920eb942bd8a81cead5e9b42dfd433e15d682cd7e156b6f84

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp310-cp310-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp310-cp310-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 35a6ef931448632efe1c83eb2ac3c37c53b3c080a5432bc6ff1858944a603a2d
MD5 ea7f921ea2307df6fabc692c57a38ff0
BLAKE2b-256 0376587579abcf3bab2b5a9b89ee28e78bef3df3198d724a4980b0875f69586b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 663c14cd471913aabecb17ddb52b3b254a65dcaba26ccfea408c52c75cc3862c
MD5 e8e2fcc3ae46ded5b6d4ae196d792844
BLAKE2b-256 6a036c0bf810a5df7876caaf11f5b113e7ffd4b2fa9767d360489c6fdcefe8e5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 257130b65b7b0f122ce1ed62942867ca9789e56a68109682796cc85c9770c74a
MD5 d1c6d1ceaace8f0b6bf37060a7c98c8d
BLAKE2b-256 ad0abcd4592a85896a4281bb8ec5dd034ce12d82bb26b6e73e73b3c435377db1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9a66886f45b04cee1ff0492e9f5e25d430d8aa3eb63e63c4ebc620945caa11b9
MD5 7f2ddc438f9ea78342a9da21f6c2d657
BLAKE2b-256 e1038738c457ca04aed97f79781827b20862e78262da7ccc8062bcc6d6e857e2

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp39-cp39-win_arm64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp39-cp39-win_arm64.whl
Algorithm Hash digest
SHA256 26b329c27e42e092f412faa5ff5bf6e1c4286a8e1709e474b640d356d1d0ae07
MD5 096d61c710a2caa7d8e1ec7f582a3528
BLAKE2b-256 685e234e5e8f16d18599dd77ec30c0b54cf9db95fd32b33ac9b6ad6db99fac7a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5ecb969dd07390b593893dbc45fc361d9b1f2cb3abd5dc7ff68afb0803f71b29
MD5 b88c5acf637f1055845590ed5320811b
BLAKE2b-256 70162686981b8902041b9f6d99357c129a66ec879234ec331303f1e088236ffc

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 fa750afead393671f6c6e40e22d8fd197157f9fa5ee1fa4aba325bbe86c0de1b
MD5 2a887ea4596c1fbc7081f3e2b2158dc1
BLAKE2b-256 a002aa83fee9181223d95701fbc7459be62d6c8b7f9c45b3e40753a6569e5420

See more details on using hashes here.

Provenance

File details

Details for the file pycocotools-2.0.8-cp39-cp39-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp39-cp39-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 a7029806ceea48379ee2f33cc33d79bbaf64b627df444641f123a00f70e8609a
MD5 ca3fbcf0c4f7f751db6aba5dd15856e1
BLAKE2b-256 a2a0fed56e74a8afc6841c6aeeb4f1a3e11a9806ce4cadd0ff5b6f0003ef8cd3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7aba650cc2e0472cc773a994f196c24937c8da1be87e02e72c180c8144aea11f
MD5 de467119fbede5b370038fb66dc0811a
BLAKE2b-256 40dfde1d7912d17ae8c1d55b343494b83870ac191b326f3b5bb910a56965b016

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6b53d36452ec0f1069d94a311aea051a36e8c7f8f63411db372e0ac89e826149
MD5 48b6a88829c4c405fcf889116cdb8b0e
BLAKE2b-256 d4c78720b6fba6b1af73f59a750f88c6437e3510ab7405825c12b17c738d8fe4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pycocotools-2.0.8-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2b432353a20ce9dd44d85d093c4520fa941cd6cd8a5346443f2056eb0cbdae2b
MD5 2c56378d5af598e6f726942536e74e8e
BLAKE2b-256 2b499ce7e9c06dcf88c494a1bd69858500a07cfbfb4f2fad5be9c7c5ff4fe99d

See more details on using hashes here.

Provenance

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