Python library for converting (and filtering) spectral data in various formats.
Supported spectral formats:
* ADAMS (read/write)
* ARFF row-wise (read/write)
* ASC (read/write)
* ASCII XY (read/write)
* CAL FOSS (read/write)
* CSV (read/write)
* DPT (read/write)
* MPS (read)
* NIR FOSS (read/write)
* Opus Bruker (read)
* Opus Ext Bruker (read)
* SPA Thermo Fisher (read)
Supported sample data formats:
* ADAMS report (read/write)
* CSV row-wise (read/write)
* JSON (read/write)
Examples can be found here:
https://github.com/waikato-datamining/spectral-data-converter-examples
Changelog
=========
0.0.3 (2025-07-15)
------------------
- requiring seppl>=0.2.20 now for improved help requests in `sdc-convert` tool
0.0.2 (2025-07-11)
------------------
- wai.spectralio-based readers now instantiate the wai.spectralio reader in the `initialize` method
- wai.spectralio-based writers now instantiate the wai.spectralio writer in the `initialize` method
- introduced `SpectralIOBased`, `SpectralIOReader` and `SpectralIOWriter` mixins to wai.spectralio-based
readers/writers for a cleaner class hierarchy
- requiring wai-spectralio>=0.0.5 now
- requiring seppl>=0.2.19 now
- added experimental support for direct read/write operations using file-like objects
- fixed initialization of sample ID and sample data prefix in `CSVSampleDataWriter`
- fixed initialization of None values of `OPUSExtReader`, aligning it with the command-line args
- added `from-zip` meta-reader for reading spectra and sample data from zip files
- added `to-zip` meta-writer for writing spectra and sample data to zip files
0.0.1 (2025-06-27)
------------------
- initial release
Raw data
{
"_id": null,
"home_page": "https://github.com/waikato-datamining/spectral-data-converter",
"name": "spectral-data-converter",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Peter Reutemann",
"author_email": "fracpete@waikato.ac.nz",
"download_url": "https://files.pythonhosted.org/packages/17/65/6ef7d9050885fd885951c9c7cc0061af25c94d9e27e97b1364056824afa5/spectral_data_converter-0.0.3.tar.gz",
"platform": null,
"description": "Python library for converting (and filtering) spectral data in various formats.\n\nSupported spectral formats:\n\n* ADAMS (read/write)\n* ARFF row-wise (read/write)\n* ASC (read/write)\n* ASCII XY (read/write)\n* CAL FOSS (read/write)\n* CSV (read/write)\n* DPT (read/write)\n* MPS (read)\n* NIR FOSS (read/write)\n* Opus Bruker (read)\n* Opus Ext Bruker (read)\n* SPA Thermo Fisher (read)\n\nSupported sample data formats:\n\n* ADAMS report (read/write)\n* CSV row-wise (read/write)\n* JSON (read/write)\n\nExamples can be found here:\n\nhttps://github.com/waikato-datamining/spectral-data-converter-examples\n\n\nChangelog\n=========\n\n0.0.3 (2025-07-15)\n------------------\n\n- requiring seppl>=0.2.20 now for improved help requests in `sdc-convert` tool\n\n\n0.0.2 (2025-07-11)\n------------------\n\n- wai.spectralio-based readers now instantiate the wai.spectralio reader in the `initialize` method\n- wai.spectralio-based writers now instantiate the wai.spectralio writer in the `initialize` method\n- introduced `SpectralIOBased`, `SpectralIOReader` and `SpectralIOWriter` mixins to wai.spectralio-based\n readers/writers for a cleaner class hierarchy\n- requiring wai-spectralio>=0.0.5 now\n- requiring seppl>=0.2.19 now\n- added experimental support for direct read/write operations using file-like objects\n- fixed initialization of sample ID and sample data prefix in `CSVSampleDataWriter`\n- fixed initialization of None values of `OPUSExtReader`, aligning it with the command-line args\n- added `from-zip` meta-reader for reading spectra and sample data from zip files\n- added `to-zip` meta-writer for writing spectra and sample data to zip files\n\n\n0.0.1 (2025-06-27)\n------------------\n\n- initial release\n\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Python3 library for converting (and filtering) spectral data in various formats.",
"version": "0.0.3",
"project_urls": {
"Homepage": "https://github.com/waikato-datamining/spectral-data-converter"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "17656ef7d9050885fd885951c9c7cc0061af25c94d9e27e97b1364056824afa5",
"md5": "d128e3fc85f55aa7b320d061d02fb2af",
"sha256": "fac1bb5e28f958b7c0730a3f16910e150a5bf69c33738bcd235cfc0d970f9b05"
},
"downloads": -1,
"filename": "spectral_data_converter-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "d128e3fc85f55aa7b320d061d02fb2af",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 69806,
"upload_time": "2025-07-15T03:37:10",
"upload_time_iso_8601": "2025-07-15T03:37:10.667370Z",
"url": "https://files.pythonhosted.org/packages/17/65/6ef7d9050885fd885951c9c7cc0061af25c94d9e27e97b1364056824afa5/spectral_data_converter-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-15 03:37:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "waikato-datamining",
"github_project": "spectral-data-converter",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "spectral-data-converter"
}