Skip to main content

blazing fast cross-matching

Project description

fastxm

For cross-matching astronomical catalogs. Like np.intersect1d but faster.

Installation

From PyPI:

pip install fastxm

From source (requires maturin):

git clone https://github.com/al-jshen/fastxm
cd fastxm
maturin build --release
pip install target/release/<path to wheel>

Example usage

from fastxm import intersect_1d

catalog_1 = ...
catalog_2 = ...

match_ix_1, match_ix_2 = intersect_1d(catalog_1['common_id'], catalog_2['common_id'], parallel=True)

Tests/Benchmarks

This requires pytest and pytest-benchmark.

git clone https://github.com/al-jshen/fastxm
cd fastxm
maturin develop
pytest

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

fastxm-0.1.5.tar.gz (10.3 kB view details)

Uploaded Source

Built Distributions

fastxm-0.1.5-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (308.9 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

fastxm-0.1.5-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (308.7 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

fastxm-0.1.5-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (311.2 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

fastxm-0.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (308.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

fastxm-0.1.5-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (561.6 kB view details)

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

fastxm-0.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (308.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

fastxm-0.1.5-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (561.6 kB view details)

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

fastxm-0.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (309.1 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

fastxm-0.1.5-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (562.2 kB view details)

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

fastxm-0.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (309.0 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

fastxm-0.1.5-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (561.9 kB view details)

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

fastxm-0.1.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (309.0 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

fastxm-0.1.5-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (562.0 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

File details

Details for the file fastxm-0.1.5.tar.gz.

File metadata

  • Download URL: fastxm-0.1.5.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for fastxm-0.1.5.tar.gz
Algorithm Hash digest
SHA256 6b810844827feb6b51665682f07e10df07fbd5aa3d2efb60436c884f7ecbc916
MD5 88f74de41988981a53cb1010b9b95272
BLAKE2b-256 5d03e889351b0d132c8ae6c2c73891ba4c9bdaf62b2be853a3c35cc2837bfcae

See more details on using hashes here.

File details

Details for the file fastxm-0.1.5-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastxm-0.1.5-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 86e97222b0dcdc81cddb288ffe7f7e9db12e5798d8711545c8d4796f9c348742
MD5 58bf9851ac17189e89a6525490fd3124
BLAKE2b-256 99f10127c6de29263c71601fbc1429007484c40bad6e236a182c32a9ab7f6313

See more details on using hashes here.

File details

Details for the file fastxm-0.1.5-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastxm-0.1.5-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6be5d0ea3a9e7d9354898ff67dc1d454600e2985ccaf21321857fe66c041979f
MD5 079d5286b89788a9d1ad099e5541fdc1
BLAKE2b-256 ac8f5ce64e93713f87e739a11022671ccbd653331f0e8a4fa79c5491ce4cb008

See more details on using hashes here.

File details

Details for the file fastxm-0.1.5-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastxm-0.1.5-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7dfdbb74b286d16a4d929f37f5ab2fa6f7b1b45b5b6353babf9b973d9943a059
MD5 3a5e5d2014a34093868623fd5966288f
BLAKE2b-256 2618cbfbc4efe76a067d67198f1a8bd1932717f22bdac40ff7ccd34d4e8342b4

See more details on using hashes here.

File details

Details for the file fastxm-0.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastxm-0.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1cc5e741eda0378840268a19c3b48a584174986975037a71ea768b6835b9bb29
MD5 6953f0781da76c26e93eac9e867d4ba1
BLAKE2b-256 3d9bd5e5c6f8af537860ab27a04be292674cfa8c1dc8db01dbc575714f7380ad

See more details on using hashes here.

File details

Details for the file fastxm-0.1.5-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for fastxm-0.1.5-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b62c76f507a0c7ff2d2a3a89a040e5c9310bde5f3490a66e59828a11c1500f84
MD5 f78139fefe5ee67cd826143881fd3e10
BLAKE2b-256 3a1ee56177c71b8e50df48cd413aab605429b14c6367672690bf3f19161d5993

See more details on using hashes here.

File details

Details for the file fastxm-0.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastxm-0.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ecb316a9ce3f9b1fdcb978eaa6c96bd4e021cfd26a69e7ed21a7dd4a35b83901
MD5 471ffe2cbdb5e4df39085482ae4b4f3a
BLAKE2b-256 7c2c3f515651ff01539fc7e7c6c251b110fc8698982f1171fb8e998d5d90008a

See more details on using hashes here.

File details

Details for the file fastxm-0.1.5-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for fastxm-0.1.5-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9005002cc8c0f0b9787d39f2cb2a1e2451a57fa613c6fedbececea9cc90ec5ff
MD5 cae9bdcd9d368d0e20cff0785814daa5
BLAKE2b-256 72fcc6db0fad325d5a01858335df5e6ab7db529a4ed378cfc15cfd1854597375

See more details on using hashes here.

File details

Details for the file fastxm-0.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastxm-0.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4b1932baaa9b54939b0ea1bc03a5a9c4c735d3404dba8669ec4f091787b9aeb2
MD5 329c1dbc62658cd5f6d1beb528afb85a
BLAKE2b-256 63d02cdf96b97370baf6895c45a18b2c60ab2c5d850cfa250a35f126b1965442

See more details on using hashes here.

File details

Details for the file fastxm-0.1.5-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for fastxm-0.1.5-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c738e871a54799f2b3957ec652d1cc52e40275318f4d59d0b00969ab8abad43e
MD5 5d102881b8567bb2c0c2a3c2c3b100e3
BLAKE2b-256 5365f3306f722cde78ce1f1a77ffb3421ce79bae9f1e7e96ea501babde234879

See more details on using hashes here.

File details

Details for the file fastxm-0.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastxm-0.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 59417931cc730d72e7a1ecde60f3e7478523f77a7c50ffcbc5d1e8956b964b65
MD5 8bfe8cb4234db03569c9080152a8dfe9
BLAKE2b-256 67d33f3e3bbb337603512a7c276b9da02e3de30258189632bafc5224f33e6728

See more details on using hashes here.

File details

Details for the file fastxm-0.1.5-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for fastxm-0.1.5-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 1a0c2231e2c788c81eb49b9100ed9b92e112a8249c5705698dc4a4175bf22852
MD5 983cf871e64f2595934391b4b666a2c7
BLAKE2b-256 547a678a94bb4819eed9ebccc7045d81f3044bd72c4c614f210d5642a7c8b456

See more details on using hashes here.

File details

Details for the file fastxm-0.1.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastxm-0.1.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd43a5b46313292bc3a6fb74c783b56dcb4239841acbc7bb6118b22f33a5f0be
MD5 83e1b416ce4b2c3819d95ff6bf30576d
BLAKE2b-256 85a34d9403668c2a85f1d693b1145cc8d0b9b61f7ccc19c9543508cbd175c9c8

See more details on using hashes here.

File details

Details for the file fastxm-0.1.5-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for fastxm-0.1.5-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a05a0414f59739e2614bf3722b4bbb5cec99c4de0120083e25e6cf6a72e7efb8
MD5 cd88fe135237a1dc94ef683e0c9226d6
BLAKE2b-256 764f3225fc0c1b16a4aa3db89f1c02b67c74fac445e3482eb0599be41298d277

See more details on using hashes here.

Supported by

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