libflowcam


Namelibflowcam JSON
Version 0.5 PyPI version JSON
download
home_pageNone
SummaryA Python module for interacting with IFCB data.
upload_time2025-08-19 14:53:47
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseLGPL-3.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # libflowcam
An optimised, native Python library for working with FlowCam data. Implements lazy-loading wherever possible and maintains open file pointers for speedy access. Returns standard Pillow image objects for further processing.

## Example
```python
from libflowcam import ROIReader

# Represents a typical sample density
sample1 = ROIReader("testdata/flowcam_polina_pontoon_0907_r2/flowcam_polina_pontoon_0907_r2.csv")
print(str(len(sample1.rois)) + " ROIs") # Should be 6268 ROIs
for roi_index in [10, 100, 1000]:
    sample1.rois[roi_index].image.save("testout/flowcam_polina_pontoon_0907_r2_" + str(roi_index) + ".png")

# A very dense sample, this is a cruel test
sample2 = ROIReader("testdata/flowcam_polina_pontoon_0707_r1/flowcam_polina_pontoon_0707_r1.csv")
print(str(len(sample2.rois)) + " ROIs") # Should be 137015 ROIs
for roi_index in [10, 100, 1000, 10000, 100000]:
    sample2.rois[roi_index].image.save("testout/flowcam_polina_pontoon_0707_r1_" + str(roi_index) + ".png")
```

## Note
This library has been built with no internal knowledge of the FlowCam software, and the data output format was reverse engineered soley from output data. It would therefore be highly appreciated if users could contribute data that breaks the library in order to better accomodate for all use cases.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "libflowcam",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Alex Baldwin <contact@alexbaldwin.dev>",
    "download_url": "https://files.pythonhosted.org/packages/05/27/ec12b756a043920bc6ceab51d8c0369d230c180e4eb1d9d413516e0ab79e/libflowcam-0.5.tar.gz",
    "platform": null,
    "description": "# libflowcam\nAn optimised, native Python library for working with FlowCam data. Implements lazy-loading wherever possible and maintains open file pointers for speedy access. Returns standard Pillow image objects for further processing.\n\n## Example\n```python\nfrom libflowcam import ROIReader\n\n# Represents a typical sample density\nsample1 = ROIReader(\"testdata/flowcam_polina_pontoon_0907_r2/flowcam_polina_pontoon_0907_r2.csv\")\nprint(str(len(sample1.rois)) + \" ROIs\") # Should be 6268 ROIs\nfor roi_index in [10, 100, 1000]:\n    sample1.rois[roi_index].image.save(\"testout/flowcam_polina_pontoon_0907_r2_\" + str(roi_index) + \".png\")\n\n# A very dense sample, this is a cruel test\nsample2 = ROIReader(\"testdata/flowcam_polina_pontoon_0707_r1/flowcam_polina_pontoon_0707_r1.csv\")\nprint(str(len(sample2.rois)) + \" ROIs\") # Should be 137015 ROIs\nfor roi_index in [10, 100, 1000, 10000, 100000]:\n    sample2.rois[roi_index].image.save(\"testout/flowcam_polina_pontoon_0707_r1_\" + str(roi_index) + \".png\")\n```\n\n## Note\nThis library has been built with no internal knowledge of the FlowCam software, and the data output format was reverse engineered soley from output data. It would therefore be highly appreciated if users could contribute data that breaks the library in order to better accomodate for all use cases.\n",
    "bugtrack_url": null,
    "license": "LGPL-3.0",
    "summary": "A Python module for interacting with IFCB data.",
    "version": "0.5",
    "project_urls": {
        "Homepage": "https://github.com/NOC-OI/libflowcam",
        "Issues": "https://github.com/NOC-OI/libflowcam/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "afe098c50650d7732008dff3a836bbed7cb12feb86478f7d0c36ca92b0e5729d",
                "md5": "10911977c83ce1abb5e82aa03db887f9",
                "sha256": "2abc2e4c6cc26acf326c8c40bf8554d2ad96bca93acc7d536dd27c68e4053441"
            },
            "downloads": -1,
            "filename": "libflowcam-0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "10911977c83ce1abb5e82aa03db887f9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 10462,
            "upload_time": "2025-08-19T14:53:46",
            "upload_time_iso_8601": "2025-08-19T14:53:46.314453Z",
            "url": "https://files.pythonhosted.org/packages/af/e0/98c50650d7732008dff3a836bbed7cb12feb86478f7d0c36ca92b0e5729d/libflowcam-0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0527ec12b756a043920bc6ceab51d8c0369d230c180e4eb1d9d413516e0ab79e",
                "md5": "6e343763edf642a772d032a25103b296",
                "sha256": "82cc9fee089036a6486f3d7768b2af18dd4a1ee87981bc56528fb83c303c0ff7"
            },
            "downloads": -1,
            "filename": "libflowcam-0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "6e343763edf642a772d032a25103b296",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 12792,
            "upload_time": "2025-08-19T14:53:47",
            "upload_time_iso_8601": "2025-08-19T14:53:47.254402Z",
            "url": "https://files.pythonhosted.org/packages/05/27/ec12b756a043920bc6ceab51d8c0369d230c180e4eb1d9d413516e0ab79e/libflowcam-0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-19 14:53:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "NOC-OI",
    "github_project": "libflowcam",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "libflowcam"
}
        
Elapsed time: 0.48157s