fastxm


Namefastxm JSON
Version 0.1.4 PyPI version JSON
download
home_page
Summaryblazing fast cross-matching
upload_time2023-02-07 22:30:21
maintainer
docs_urlNone
authorJeff Shen
requires_python>=3.7
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fastxm

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

### Installation

From `PyPI`:

```bash
pip install fastxm
```

From source:

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

### Example usage

```python
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`.

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


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "fastxm",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Jeff Shen",
    "author_email": "shenjeff@princeton.edu",
    "download_url": "https://files.pythonhosted.org/packages/49/74/3655a2ef0ae3cefcf9121f338900d8a93a33b7aa05487eab6afe6c99e262/fastxm-0.1.4.tar.gz",
    "platform": null,
    "description": "# fastxm\n\nFor cross-matching astronomical catalogs. Like `np.intersect1d` but faster. \n\n### Installation\n\nFrom `PyPI`:\n\n```bash\npip install fastxm\n```\n\nFrom source:\n\n```bash\ngit clone https://github.com/al-jshen/fastxm\ncd fastxm\nmaturin build --release\npip install target/release/<path to wheel>\n```\n\n### Example usage\n\n```python\nfrom fastxm import intersect_1d\n\ncatalog_1 = ...\ncatalog_2 = ...\n\nmatch_ix_1, match_ix_2 = intersect_1d(catalog_1['common_id'], catalog_2['common_id'], parallel=True)\n```\n\n### Tests/Benchmarks\n\nThis requires `pytest` and `pytest-benchmark`.\n\n```bash\ngit clone https://github.com/al-jshen/fastxm\ncd fastxm\nmaturin develop\npytest\n```\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "blazing fast cross-matching",
    "version": "0.1.4",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "78cced5f23ebc1ca66c4d85c294a49c2d4dc1a9808eeb55d515b0a1fe8431a18",
                "md5": "e93373664b43a497b0fcc58c2b1ad142",
                "sha256": "3366cf6bcfeb4f2b446717c4419d055bc79308f39fb3eda5db5fc4a5dcf0553f"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "e93373664b43a497b0fcc58c2b1ad142",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 555832,
            "upload_time": "2023-02-07T22:30:07",
            "upload_time_iso_8601": "2023-02-07T22:30:07.971749Z",
            "url": "https://files.pythonhosted.org/packages/78/cc/ed5f23ebc1ca66c4d85c294a49c2d4dc1a9808eeb55d515b0a1fe8431a18/fastxm-0.1.4-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "590587ffc09ca6bf7e0075acd65869e20de000bd893ddd0684bda31d613db2f5",
                "md5": "7b44cd029abb0b600be92e5eeeded09a",
                "sha256": "c69c2ebfe5d81bc7f9b6a40af58a3b2c455576c5040675b849d4c9465803fad6"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "7b44cd029abb0b600be92e5eeeded09a",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 305770,
            "upload_time": "2023-02-07T22:30:09",
            "upload_time_iso_8601": "2023-02-07T22:30:09.878020Z",
            "url": "https://files.pythonhosted.org/packages/59/05/87ffc09ca6bf7e0075acd65869e20de000bd893ddd0684bda31d613db2f5/fastxm-0.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4fe6c698cb71f116a165167cabf28dbaf4c5409ef463d239e563ecbb3600cd90",
                "md5": "ed5095f3749072d47f489bf7dd3a01a1",
                "sha256": "96fdcdba1dc88869dfde735661564bedfbc955098edcf6009514a6da78f23faa"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "ed5095f3749072d47f489bf7dd3a01a1",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 555829,
            "upload_time": "2023-02-07T22:30:12",
            "upload_time_iso_8601": "2023-02-07T22:30:12.138283Z",
            "url": "https://files.pythonhosted.org/packages/4f/e6/c698cb71f116a165167cabf28dbaf4c5409ef463d239e563ecbb3600cd90/fastxm-0.1.4-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7ff4931d4dc82a9474a8dac280f39aedeab9a6080379892487290cd7ed21f64a",
                "md5": "643e04da997c0fe9a30f16861bb6c92f",
                "sha256": "942c1cb33dfaa62ddd3965faee195705fe2d8ca50d63f9ce566227d79cda9b9d"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "643e04da997c0fe9a30f16861bb6c92f",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 305770,
            "upload_time": "2023-02-07T22:30:13",
            "upload_time_iso_8601": "2023-02-07T22:30:13.963145Z",
            "url": "https://files.pythonhosted.org/packages/7f/f4/931d4dc82a9474a8dac280f39aedeab9a6080379892487290cd7ed21f64a/fastxm-0.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d191e00f3ad98910d16d94521062dd75fc78c54ee5e2a0f275093748d53a377c",
                "md5": "8b2825e3d82e16d9c69fbc04db20914c",
                "sha256": "96d0db5be80ec3ebfd800d5a22d93a5d33820aec057af6e4a2aac5fbe95d37d4"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "8b2825e3d82e16d9c69fbc04db20914c",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 556245,
            "upload_time": "2023-02-07T22:29:56",
            "upload_time_iso_8601": "2023-02-07T22:29:56.355250Z",
            "url": "https://files.pythonhosted.org/packages/d1/91/e00f3ad98910d16d94521062dd75fc78c54ee5e2a0f275093748d53a377c/fastxm-0.1.4-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "10a807f1aefb2887a1d335c69b47ae8ccfda2f76be1d735496a93b3742509ec1",
                "md5": "7223d8ed0c8128d32ae19072d79097af",
                "sha256": "6e783b866fb41c7386f2d2603c48a915b4914a287a19b22490ac5dc549ccbf57"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "7223d8ed0c8128d32ae19072d79097af",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 306044,
            "upload_time": "2023-02-07T22:29:58",
            "upload_time_iso_8601": "2023-02-07T22:29:58.149684Z",
            "url": "https://files.pythonhosted.org/packages/10/a8/07f1aefb2887a1d335c69b47ae8ccfda2f76be1d735496a93b3742509ec1/fastxm-0.1.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6b0ffbd992ce8dea666f7b94a8d4b57f843e6f20327c014ac30e3582272a8a88",
                "md5": "df4e7ea55fcdb393c6337df8ff9e9cf5",
                "sha256": "37620f46eb2eec74d0ebf054a34f9546c7eb855214aff40a33c07348d3593f66"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "df4e7ea55fcdb393c6337df8ff9e9cf5",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 556247,
            "upload_time": "2023-02-07T22:30:00",
            "upload_time_iso_8601": "2023-02-07T22:30:00.271609Z",
            "url": "https://files.pythonhosted.org/packages/6b/0f/fbd992ce8dea666f7b94a8d4b57f843e6f20327c014ac30e3582272a8a88/fastxm-0.1.4-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b3104041bad5837a8e39f790a5f7fc9398a4c54730ebbef35d5829f349832420",
                "md5": "1ae66832f1942c350a38c347bcc51aee",
                "sha256": "7d8fb1454186791545703587f8ab32e322e1c77724ee22c1814498b0ec4476e4"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "1ae66832f1942c350a38c347bcc51aee",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 306055,
            "upload_time": "2023-02-07T22:30:01",
            "upload_time_iso_8601": "2023-02-07T22:30:01.924144Z",
            "url": "https://files.pythonhosted.org/packages/b3/10/4041bad5837a8e39f790a5f7fc9398a4c54730ebbef35d5829f349832420/fastxm-0.1.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db36b7f7e1c40ea7dc59075c4235af4ffe63a62df4c5728ee1520db0f001f099",
                "md5": "01ee2f35a5cac15407a9db9561ba7769",
                "sha256": "8f48fdf48f0a7c2f9acecc1d3b2faa21a1d32b8d2998565e33bb06342e33f202"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "01ee2f35a5cac15407a9db9561ba7769",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 556318,
            "upload_time": "2023-02-07T22:30:03",
            "upload_time_iso_8601": "2023-02-07T22:30:03.460529Z",
            "url": "https://files.pythonhosted.org/packages/db/36/b7f7e1c40ea7dc59075c4235af4ffe63a62df4c5728ee1520db0f001f099/fastxm-0.1.4-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9ea4a99cd48ca35b7b47525288710fb88ebe30c1f7acf6494a7a8125fa91277a",
                "md5": "2f2d1cd41ceff97bcb6daeddf69f1cc9",
                "sha256": "aeca5aaa65297a4f9d99c826580495d29482fd5cb074ad697231d7a6bbc65b51"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "2f2d1cd41ceff97bcb6daeddf69f1cc9",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 306009,
            "upload_time": "2023-02-07T22:30:05",
            "upload_time_iso_8601": "2023-02-07T22:30:05.797005Z",
            "url": "https://files.pythonhosted.org/packages/9e/a4/a99cd48ca35b7b47525288710fb88ebe30c1f7acf6494a7a8125fa91277a/fastxm-0.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eabc45968651a7bf097c5d24c328c5d40c2aae962957a603ee1ae7942227f1da",
                "md5": "b307371cdc542333f4d441db9eb52264",
                "sha256": "92c065e88d66b63d283ca338754548be59b96bf1fef01f6b54053ec660a27f35"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "b307371cdc542333f4d441db9eb52264",
            "packagetype": "bdist_wheel",
            "python_version": "pp37",
            "requires_python": ">=3.7",
            "size": 308388,
            "upload_time": "2023-02-07T22:30:15",
            "upload_time_iso_8601": "2023-02-07T22:30:15.684229Z",
            "url": "https://files.pythonhosted.org/packages/ea/bc/45968651a7bf097c5d24c328c5d40c2aae962957a603ee1ae7942227f1da/fastxm-0.1.4-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "223dd4c264094d6e0ebfd45af870a01417a4db3400fac13d0fff0b413d24f2c9",
                "md5": "6e5a46985087aa6318b8da82c0e3d792",
                "sha256": "690eb7559cdfbf83beba31c6557b5dcc617db52bc64ed12fe4e9a035071b45a7"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6e5a46985087aa6318b8da82c0e3d792",
            "packagetype": "bdist_wheel",
            "python_version": "pp38",
            "requires_python": ">=3.7",
            "size": 305738,
            "upload_time": "2023-02-07T22:30:17",
            "upload_time_iso_8601": "2023-02-07T22:30:17.709982Z",
            "url": "https://files.pythonhosted.org/packages/22/3d/d4c264094d6e0ebfd45af870a01417a4db3400fac13d0fff0b413d24f2c9/fastxm-0.1.4-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2b33863ccdf5410f8b1f024117d2e898c2b5729cc924549f1035250189cbc732",
                "md5": "b87d1bc7d76d48d38dfff30c96b3f046",
                "sha256": "3af4464b2a8215074e4245ca89214f618abcb66e6389d6f95093d16a72660f3b"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "b87d1bc7d76d48d38dfff30c96b3f046",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7",
            "size": 305818,
            "upload_time": "2023-02-07T22:30:19",
            "upload_time_iso_8601": "2023-02-07T22:30:19.266001Z",
            "url": "https://files.pythonhosted.org/packages/2b/33/863ccdf5410f8b1f024117d2e898c2b5729cc924549f1035250189cbc732/fastxm-0.1.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "49743655a2ef0ae3cefcf9121f338900d8a93a33b7aa05487eab6afe6c99e262",
                "md5": "823c2df96b88028801d6514cc3439fe8",
                "sha256": "54ee0a3dcfeac55f0dbc02b8b9ae639b2c2dddb469a2ed04eab199a38c237d16"
            },
            "downloads": -1,
            "filename": "fastxm-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "823c2df96b88028801d6514cc3439fe8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 10106,
            "upload_time": "2023-02-07T22:30:21",
            "upload_time_iso_8601": "2023-02-07T22:30:21.443759Z",
            "url": "https://files.pythonhosted.org/packages/49/74/3655a2ef0ae3cefcf9121f338900d8a93a33b7aa05487eab6afe6c99e262/fastxm-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-07 22:30:21",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "fastxm"
}
        
Elapsed time: 0.09902s