Skip to main content

python parser for ds9 region files

Project description

pyregion is a python module to parse ds9 region files. It also supports ciao region files.

Installation: pip install pyregion

Lead developer: Jae-Joon Lee ([@leejjoon](http://github.com/leejjoon))

FEATURES

  • ds9 and ciao region files.

  • (physical, wcs) coordinate conversion to the image coordinate.

  • convert regions to matplotlib patches.

  • convert regions to spatial filter (i.e., generate mask images)

LICENSE

All files are under MIT License. See LICENSE.

Status

https://travis-ci.org/astropy/pyregion.svg?branch=master https://coveralls.io/repos/astropy/pyregion/badge.svg?branch=master

New regions package

See also the in-development regions package at https://github.com/astropy/regions a new astronomy package for regions based on Astropy.

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

pyregion-2.3.0.tar.gz (1.0 MB view details)

Uploaded Source

Built Distributions

pyregion-2.3.0-cp313-cp313-win_amd64.whl (227.2 kB view details)

Uploaded CPython 3.13 Windows x86-64

pyregion-2.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (542.8 kB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

pyregion-2.3.0-cp313-cp313-macosx_11_0_arm64.whl (225.2 kB view details)

Uploaded CPython 3.13 macOS 11.0+ ARM64

pyregion-2.3.0-cp313-cp313-macosx_10_13_x86_64.whl (231.9 kB view details)

Uploaded CPython 3.13 macOS 10.13+ x86-64

pyregion-2.3.0-cp312-cp312-win_amd64.whl (227.4 kB view details)

Uploaded CPython 3.12 Windows x86-64

pyregion-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (545.1 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pyregion-2.3.0-cp312-cp312-macosx_11_0_arm64.whl (225.8 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pyregion-2.3.0-cp312-cp312-macosx_10_9_x86_64.whl (232.3 kB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

pyregion-2.3.0-cp311-cp311-win_amd64.whl (227.7 kB view details)

Uploaded CPython 3.11 Windows x86-64

pyregion-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (534.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pyregion-2.3.0-cp311-cp311-macosx_11_0_arm64.whl (224.9 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pyregion-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl (231.6 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pyregion-2.3.0-cp310-cp310-win_amd64.whl (226.9 kB view details)

Uploaded CPython 3.10 Windows x86-64

pyregion-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (503.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pyregion-2.3.0-cp310-cp310-macosx_11_0_arm64.whl (224.8 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pyregion-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl (231.0 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

File details

Details for the file pyregion-2.3.0.tar.gz.

File metadata

  • Download URL: pyregion-2.3.0.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyregion-2.3.0.tar.gz
Algorithm Hash digest
SHA256 e8498711421173239689de523bb465245f5551a18a181cb4956d87f9c7464925
MD5 da51ec143f5bf07785eddcff0552c780
BLAKE2b-256 412626a259b2847f295198cb8e0946df337e95f0ce191d3fc17164dc74f586b5

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pyregion-2.3.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 227.2 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyregion-2.3.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4b92f1895364659c4ddef38af0ce775105d95515e6dd950429d54bd6c76383eb
MD5 d467aef34d498d4d164b24375b44f179
BLAKE2b-256 f3c1fda41cd7a84469df78ac04bf947a71b21ce5c2daeb34a6e0921836cd53ef

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyregion-2.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4c4f2b52c3dccd3efd98e2141f959918a6d04ad5220bcf8beb9e016e96bb0faa
MD5 98fb021c32ae7dfad7fce41c41ab7a7b
BLAKE2b-256 aa08cd91aa862a137245a2c314754ec0e070e312efa0e818862b5e6d1640458c

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyregion-2.3.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 847c47d0a73492bbe00c86822d991f110de3703f96f986e4c218f26c8b556d51
MD5 51d905e26612e38c30a2e7185558870e
BLAKE2b-256 4dd0ca2acd40ef29057b53160d8e692fea4e55afeccee72fa7e3ada02451db08

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pyregion-2.3.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a99c5c25bfa60dfb5c0e8e0d5a958fcf14d606921a1ed2675e160fa24a807b8c
MD5 20f7868617e12d20ca2c02cd3e193df7
BLAKE2b-256 b344ac74520eed239f1d8c23b223b5d52b07d6b1efb277330f22668fd19c65a1

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pyregion-2.3.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 227.4 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyregion-2.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5d1f0b29d48b7a8600197ff7a36e0bab12b2cf06a0053c9d842f3168527f543c
MD5 343563d9336b738606a1fbaa748a23c0
BLAKE2b-256 69f6169186ba85b38eba04f455e814e8fe464411205ce7bf421647a779649d79

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyregion-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f24e18c9ead8bc3d469fcab121a3f2e81e31096a36414ea09e88ece779db049a
MD5 b501ad5097e0b1c20f4431e550b1006e
BLAKE2b-256 8149d0fc25767d55136add80f4c38ce11c75c0aa167edb3209768089fbb34b19

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyregion-2.3.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8bf839e2a6db4860e14143ee729bbe3ece64761e227ab3116045a68d3a4b3985
MD5 3201e28d181e3c0b02f277c071ff1d06
BLAKE2b-256 33445b522b637072df0436ddffe9f7047a2e23c66bc8bf1c959393c51ae484a6

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyregion-2.3.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 98ad7ecfff8aff055a6eac4be6e3f2cb59aae8e481e64d41e81ecce56624f724
MD5 ba207924f38251ad86e616a408d572bb
BLAKE2b-256 fa0422f0e6fd62fd65b1fc9ae8dcf5383a6c36b1732934feb75828bcd8ff0318

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pyregion-2.3.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 227.7 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyregion-2.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b110c779fa80fa035fd529e7f31ba1649931e4d01bc33314d478e09ad32cfb80
MD5 a4299f58b9ca2e6a06b9c133e5283e55
BLAKE2b-256 3d02f3467ebcb5ac7546c7ebdead8845c36b4e1d02538cf57e712addce621293

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyregion-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d607a874cb0ed21853379cbdd26318ce3ae4e7d520f11726b99319b0409ffd18
MD5 07b11e4d12475021d60aafd76f77f47b
BLAKE2b-256 82a70e1953eb2031a7d6f7fcc26868550d716ba8ea0483b0c299f558d6d1b204

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyregion-2.3.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b815f2ed72ad0983941e7790f2122bd9f9ecd0ec2b996d95773a0df9b8b45d9e
MD5 ae342415fe33fa25fd05db04f9177fa4
BLAKE2b-256 34ef0f9e3cfebba0d8486d11510799bc0f25b813efcbe07375580fb2646f98c8

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyregion-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 45e6d2748e8ec3d626e3952e889253878e23b3939ff3625dc933e2b827f7d286
MD5 40cd2d781a15c358d5a780736fe057a9
BLAKE2b-256 232c68bf85316980d7b9aac4fb07ee1a39826463de9f43e3819c1a7841a4c9cd

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyregion-2.3.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 226.9 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyregion-2.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 895522d5c168d98b9b4b96d4d83bd93c3e955fe294ae01b1d19c2be599858f3f
MD5 75041fa26053530200924bdcf37a0ac6
BLAKE2b-256 9f2317bd24b3e5609de879301715af4677478b4c6f7f27172b910d99bf765c3e

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyregion-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f80b86a721db7dffebba0b2e620dba79e6237d85eafc333a76e6749f031f1469
MD5 d27354adf87b91e7003cac3d0e4585ba
BLAKE2b-256 bb1d536e7e08bd61a4bfa4c03f78ba82289a218fe4ced05269939d956d33b4dd

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyregion-2.3.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ee838b70eb35af051a1e9392ab03b326f10e49420a0ea9b906005e25225dea7
MD5 c7bae70d086313c724b226305e6ceb6e
BLAKE2b-256 c8b03a41a5be676113ccf1e754962fef37530e995dddf1f23921ffdcce9cfb1e

See more details on using hashes here.

File details

Details for the file pyregion-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyregion-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9bc0679c07b43ddc6ff699b27815d99f9d56bb4eff3d45ad7e5f2b0c3dcd4286
MD5 ad84bde006ee53b06aaea36c8b6d2149
BLAKE2b-256 1ca8fde97b7786b75a4d4bbd75e50b1b047443b041e3790967ab87cf4a3329cf

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