Skip to main content

python parser for ds9 region files

Project description

stregion

DO NOT USE THIS PACKAGE IN YOUR PROJECT

This is a frozen fork of pyregion. This repository's codebase is permanently stuck in 2013. This repository will never be updated and therefore is not useful except where required by old projects under https://github.com/spacetelescope that rely on any patches made here long ago.

We have rebranded this software as stregion for the sole purpose of avoiding conflicts with the existing pyregion package on PyPI.

If you stumbled upon this package by mistake, go ahead and check out one of the following projects instead:


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

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 (see exception below) are under MIT License. See LICENSE.

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

stregion-1.1.8.tar.gz (1.0 MB view details)

Uploaded Source

Built Distributions

stregion-1.1.8-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

stregion-1.1.8-cp312-cp312-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

stregion-1.1.8-cp312-cp312-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

stregion-1.1.8-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

stregion-1.1.8-cp311-cp311-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

stregion-1.1.8-cp311-cp311-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

stregion-1.1.8-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

stregion-1.1.8-cp310-cp310-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

stregion-1.1.8-cp310-cp310-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

stregion-1.1.8-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

stregion-1.1.8-cp39-cp39-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

stregion-1.1.8-cp39-cp39-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

stregion-1.1.8-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

stregion-1.1.8-cp38-cp38-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

stregion-1.1.8-cp38-cp38-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

stregion-1.1.8-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

stregion-1.1.8-cp37-cp37m-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

Details for the file stregion-1.1.8.tar.gz.

File metadata

  • Download URL: stregion-1.1.8.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for stregion-1.1.8.tar.gz
Algorithm Hash digest
SHA256 3cc24a4412ef063a3b479e8a72cdda59785dad3aff427b350847e36f1e083174
MD5 3a515d1b8a3405ac99e3ee90df985814
BLAKE2b-256 e3a5b9409e4fca83f22af895da9cdc0918190ca2b584cef5f2da1984aa277470

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3b18df0a84c1304f64a054a9e496179323af4316da38969268d98ab285533dde
MD5 244a569485f671fda77b52767946e459
BLAKE2b-256 43d2da246e1980a6e2f7a86a1ab3a030207223e03029ceab6721fb298932ceda

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 62ab7767592eeb797be456cefbbd6d7eb070b3868d15f860b277c003fbe3073b
MD5 5b940953c43a87697013335a649a084c
BLAKE2b-256 a6ed640410e0447584b37691eee77514f1cea019ef4e4501439842aaffd35b34

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a6d2857379c02d14dc3998c0708fe5e98abd098717050329bdeacc40b0941b44
MD5 20e27a055820a499f8708cc7ef7f2adb
BLAKE2b-256 6dcbae003f487d9a3a4427a8a314b890c809d09d69f8b84d90f729f6a36b149d

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fe86f8635f19df8e1471dd66106320e62fe64574a837963b94bf5a4806ae46f2
MD5 7f59e76dbea0db98d50e99e059012832
BLAKE2b-256 3963aae4b9a146b9367a0ffd07b50e0a7bc852a39877501199b7023148238814

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 629d11cd6addbeaff73d3900aa805944f8ea310a6fbb3eb7aada7bc47901bbc4
MD5 1bc14bf5c1319cc0a1aaf1129d415939
BLAKE2b-256 3def053b0399e5f9c1d4e1994335015fd189736df315966b695bb15a56abe8e4

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ab300d4cd9733d39fb6b5b7f836cf5140f656f81f6bf1e9e69a500502789deb2
MD5 958de0ceefd8b48bcec5e8bea19f1805
BLAKE2b-256 d80a6112370b645dbcc24088048d78870edbfd051a7c6067376635eef10add9d

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 871688ec971893ffde9aab25dc4cc8196011577f0c3872235cdc8af07d192534
MD5 646271e865f9b8667f545ca341380aeb
BLAKE2b-256 84255f0412afdf45ec3f1f0d537deeb1369f811baf177cf0c2c1f348415d9436

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 af0035acb3c719bdfe479455ffeeaa2a5fec4d0a98068ce5cdb0f3d9e3e9f3f9
MD5 8a81f444256daa851239d49f07da17c8
BLAKE2b-256 9ee5b84cfc8bbf1ff2f4b891986059f81c6eca6b08eee0e3ca1d1298daad0254

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c6273d674e1316a128989ba00b93a92df165a1ac02136ed25b2cd80cf7ffc97d
MD5 f1d80c3a431e2b38b006d479717df177
BLAKE2b-256 daf9767d854eca5baece1ba929d083077f4d0f762d616b180ab9050511776325

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 713a07e4f332340d987729532b268500e43fa024cfe8a330ef780d5b17300f96
MD5 0fde69a3237dd00e38a3a389f2704ef2
BLAKE2b-256 312f957208d80da7b9d76f442c9c9c1e0cb0bc487320f5337987956ea4df32fd

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6d6ba8fa6f3d5b2c1dd0f3f71cd2f493adf8dda455ba1c32ba3461973cc4a486
MD5 1049d8e06e6da23154a95fefc5d918a6
BLAKE2b-256 e7b9dbb3f5f51437a509a4759c4bf7b7d826ade552a5c8e99d65b078e2df375e

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cee823135f4c015b448f8a77dd60039b53416fab12508c7658972b693411866b
MD5 b18b4d6cd41dac3ce3427094951adaba
BLAKE2b-256 2342049fd3a517929228477fafcfb91efa22ba82db98670b779f17223ffaa4ec

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 389e16a4906ce996ec117d784239a300d56424434091abf16e7e15270de8ff80
MD5 359dc120ed89b0f39e9295f6c821ecdc
BLAKE2b-256 4a4cabe3ca26ece2e3dd68b564bded539c4c9d375b9ffb1b107ac1e380e8a8d0

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7822d92ad9e13a9bf9d5f5bf86398c513b515650d4a4e379c6a84fa480e16b93
MD5 197d71aab164f5c86c81058a9e365a5c
BLAKE2b-256 e695cf65f2fe0bb248b745942ddd7181039bfc237d80aec77383b79cefad2a0b

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2c18b6520b1834732d7eccd7098f5238921d847d13ba6fac68c57ebefa407f2a
MD5 7e289ce04300d53372f029bfc284bd92
BLAKE2b-256 9b467218c19dd757c744b33b6e9c0d3a167f23fb2f3d05eaa92ad6deabcce3a8

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 10191a1cccdb59e168ea9187d32369c69204072af3d0af1635366b067bff95fb
MD5 3f54260bf3ae93ab79576c8c79835ad1
BLAKE2b-256 32ae3ac97956ed2a0069bbd65963e975baa02c6b9664ddab49dad38bbb6b90d4

See more details on using hashes here.

File details

Details for the file stregion-1.1.8-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for stregion-1.1.8-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1a5a1d509e4c9e19bcacc4a4c2e01cf2cf84dee55b0789741443000352f23f16
MD5 0e1462245a60e8df3b58435fc7244c9f
BLAKE2b-256 2be1b723b6146288a2b6ef700412c04dbf92d8741e23c16e6d28148057316d9f

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