pyASDReader 1.2.0__tar.gz → 1.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/CHANGELOG.md +95 -0
  2. pyasdreader-1.2.1/CITATION.cff +22 -0
  3. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/PKG-INFO +10 -11
  4. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/README.md +9 -10
  5. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/pyASDReader.egg-info/SOURCES.txt +1 -0
  6. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/.pre-commit-config.yaml +0 -0
  7. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/LICENSE +0 -0
  8. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/MANIFEST.in +0 -0
  9. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/VERSION_MANAGEMENT.md +0 -0
  10. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/examples/README.md +0 -0
  11. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/examples/basic_usage.py +0 -0
  12. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/pyproject.toml +0 -0
  13. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/scripts/publish.sh +0 -0
  14. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/setup.cfg +0 -0
  15. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/src/__init__.py +0 -0
  16. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/src/_version.py +0 -0
  17. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/src/asd_file_reader.py +0 -0
  18. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/src/constant.py +0 -0
  19. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/src/file_attributes.py +0 -0
  20. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/src/logger_setup.py +0 -0
  21. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/__init__.py +0 -0
  22. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v6sample/v6sample00000.asd +0 -0
  23. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v6sample/v6sample00001.asd +0 -0
  24. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v6sample/v6sample00002.asd +0 -0
  25. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v7sample/v7sample00000.asd +0 -0
  26. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v7sample/v7sample00001.asd +0 -0
  27. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v7sample/v7sample00002.asd +0 -0
  28. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v7sample/v7sample00003.asd +0 -0
  29. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v7sample/v7sample00004.asd +0 -0
  30. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v7sample/v7sample00005.asd +0 -0
  31. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v7sample_field_spectroscopy/44231B009-1-FW300000.asd +0 -0
  32. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v7sample_field_spectroscopy/44231B009-1-FW3R00000.asd +0 -0
  33. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v7sample_field_spectroscopy/44231B174-1-FF300000.asd +0 -0
  34. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v8sample/v8sample00001.asd +0 -0
  35. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/sample_data/v8sample/v8sample00002.asd +0 -0
  36. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/test_asd_file_reader.py +0 -0
  37. {pyasdreader-1.2.0 → pyasdreader-1.2.1}/tests/test_data.py +0 -0
@@ -13,6 +13,101 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
13
13
 
14
14
  ## [Unreleased]
15
15
 
16
+ ## [1.2.1] - 2025-10-05
17
+
18
+ ### Added
19
+ - ✨ **CITATION.cff** - Academic citation file for proper software citation
20
+ - Includes author information with ORCID placeholder
21
+ - Comprehensive metadata (abstract, keywords, repository info)
22
+ - MIT license specification
23
+ - Version and release date tracking
24
+ - 📤 CITATION.cff now included in GitHub releases
25
+ - 🔄 Automatic CITATION.cff version and date updates during release
26
+ - 📊 Codecov integration for code coverage reporting
27
+ - Automatic coverage upload after test runs
28
+ - Per-platform and per-Python-version coverage tracking
29
+ - Coverage badges support
30
+
31
+ ### Changed
32
+ - 🚀 Enhanced CI/CD workflows with performance improvements:
33
+ - Upgraded `actions/setup-python` from v4 to v5
34
+ - Added pip caching to all workflows for faster builds
35
+ - Streamlined cache configuration (removed redundant cache steps)
36
+ - Improved cache key structure using pyproject.toml
37
+ - 🧪 Improved test workflow (`python-package.yml`):
38
+ - Better pip caching strategy
39
+ - Enhanced coverage reporting with Codecov
40
+ - More efficient dependency caching
41
+ - 📦 Enhanced PyPI publishing workflow:
42
+ - Added CITATION.cff to release assets
43
+ - Automatic citation file updates on tag releases
44
+ - Improved release notes generation
45
+ - 📚 Updated README.md with better formatting and organization
46
+
47
+ ### Fixed
48
+ - 🔧 Fixed package metadata verification using `importlib.metadata` instead of manual version checking
49
+ - More accurate and reliable version detection
50
+ - Better compatibility with different Python versions
51
+ - Improved error handling in CI/CD pipelines
52
+
53
+ ### Technical Improvements
54
+ - Reduced workflow execution time through better caching
55
+ - Enhanced CI/CD reliability with updated actions
56
+ - Improved maintainability of GitHub Actions workflows
57
+ - Better separation of concerns in workflow steps
58
+ - More robust release automation
59
+
60
+ ## [1.2.0] - 2025-10-05
61
+
62
+ ### Changed
63
+ - 🔄 **Package renamed** from `pyASD` to `pyASDReader` across all configuration files
64
+ - 📦 Updated package configuration in pyproject.toml with improved metadata
65
+ - 🏗️ **Major code structure refactoring** for improved readability and maintainability
66
+ - 📚 Significantly enhanced README.md with comprehensive documentation
67
+ - 🔧 Modernized dependency management with expanded dev tools
68
+ - 🧪 Improved CI/CD workflows for better reliability and accuracy
69
+ - 📝 Updated all GitHub Actions workflows to use correct branch references (main)
70
+ - 🎯 Enhanced pre-commit configuration for better code quality
71
+ - 🚀 Improved publish scripts with better error handling
72
+
73
+ ### Added
74
+ - ✨ **CITATION.cff** - Formal citation support for academic use
75
+ - 📚 **VERSION_MANAGEMENT.md** - Comprehensive version management documentation
76
+ - 📝 **examples/README.md** - Detailed examples documentation
77
+ - 📝 **examples/basic_usage.py** - Practical usage examples
78
+ - 🛠️ Enhanced development dependencies:
79
+ - Added `black>=21.0.0` for code formatting
80
+ - Added `isort>=5.0.0` for import sorting
81
+ - Added `build>=0.7.0` for package building
82
+ - Added `twine>=3.0.0` for PyPI publishing
83
+ - Added `pre-commit>=2.15.0` for git hooks
84
+ - Added `tox>=3.20.0` for testing automation
85
+ - 🎨 Added maintainers field to project metadata
86
+ - 📦 Added "all" optional dependencies group for complete installation
87
+ - 🔗 Enhanced project URLs with Source and Issues links
88
+ - 📄 Improved README content-type specification in pyproject.toml
89
+ - ✅ Enhanced package metadata verification using importlib.metadata
90
+ - 🔍 Improved CI workflows with better testing and validation
91
+
92
+ ### Removed
93
+ - ❌ **Deleted requirements.txt** (consolidated into pyproject.toml)
94
+ - ❌ **Deleted requirements-dev.txt** (consolidated into pyproject.toml)
95
+ - ❌ **Deleted setup.py** (fully migrated to pyproject.toml)
96
+
97
+ ### Fixed
98
+ - 🔧 Fixed package metadata verification in CI/CD workflows
99
+ - ✅ Corrected test file naming convention (test_ASD_File_Reader.py → test_asd_file_reader.py)
100
+ - 🔗 Updated all repository URLs from pyASD to pyASDReader
101
+ - 📝 Fixed MANIFEST.in to properly include package data
102
+ - 🐛 Improved error handling in asd_file_reader.py
103
+
104
+ ### Technical Improvements
105
+ - Centralized all dependencies in pyproject.toml optional-dependencies
106
+ - Improved package structure with proper namespace configuration
107
+ - Enhanced setuptools_scm integration for version management
108
+ - Better test coverage configuration targeting pyASDReader module
109
+ - Streamlined build and publish workflows
110
+
16
111
  ## [1.1.0] - 2025-10-05
17
112
 
18
113
  ### Fixed
@@ -0,0 +1,22 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use this software, please cite it as below."
3
+ type: software
4
+ title: "pyASDReader: A Python Library for ASD Spectral File Reading"
5
+ authors:
6
+ - family-names: Cao
7
+ given-names: Kai
8
+ email: caokai_cgs@163.com
9
+ orcid: https://orcid.org/0000-0000-0000-0000
10
+ repository-code: "https://github.com/KaiTastic/pyASDReader"
11
+ url: "https://github.com/KaiTastic/pyASDReader"
12
+ abstract: "A Python library for reading and parsing all versions (v1-v8) of ASD (Analytical Spectral Devices) binary spectral files from various instruments including FieldSpec, LabSpec, and TerraSpec spectroradiometers."
13
+ keywords:
14
+ - ASD
15
+ - spectral files
16
+ - spectroradiometer
17
+ - remote sensing
18
+ - hyperspectral
19
+ - FieldSpec
20
+ license: MIT
21
+ version: 1.0.0
22
+ date-released: 2025-03-12
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyASDReader
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: A Python library for reading and parsing all versions of ASD binary spectral files
5
5
  Author-email: Kai Cao <caokai_cgs@163.com>
6
6
  Maintainer-email: Kai Cao <caokai_cgs@163.com>
@@ -435,7 +435,7 @@ Comprehensive export capabilities beyond the standard ASCII format:
435
435
 
436
436
  - 📋 **GitHub Issues**: [Report bugs or request features](https://github.com/KaiTastic/pyASDReader/issues)
437
437
  - 📧 **Email**: `caokai_cgs@163.com` for direct support
438
- - 🔒 **Security**: Report vulnerabilities via our [Security Policy](SECURITY.md)
438
+ - 🔒 **Security**: Report vulnerabilities via the [Security Policy](SECURITY.md)
439
439
 
440
440
  ### Community Guidelines
441
441
 
@@ -446,20 +446,25 @@ Comprehensive export capabilities beyond the standard ASCII format:
446
446
 
447
447
  ## Citation
448
448
 
449
- If you use pyASDReader in your research, please cite:
449
+ If you use pyASDReader in your research, please cite it using the information from t he [CITATION.cff](CITATION.cff) file.
450
450
 
451
+ GitHub provides a "Cite this repository" button in the sidebar that automatically generates citations in multiple formats.
452
+
453
+ **BibTeX format**:
451
454
  ```bibtex
452
455
  @software{cao2025pyasdreader,
453
456
  author = {Cao, Kai},
454
457
  title = {pyASDReader: A Python Library for ASD Spectral File Reading},
455
458
  year = {2025},
456
459
  url = {https://github.com/KaiTastic/pyASDReader},
457
- version = {1.0.0}
460
+ version = {see CITATION.cff for latest version}
458
461
  }
459
462
  ```
460
463
 
461
464
  **Plain text citation**:
462
- > Cao, Kai. (2025). pyASDReader: A Python Library for ASD Spectral File Reading. https://github.com/KaiTastic/pyASDReader
465
+ > Cao, Kai. (2025). pyASDReader: A Python Library for ASD Spectral File Reading. Available at: https://github.com/KaiTastic/pyASDReader
466
+
467
+ For the most up-to-date version number and citation details, please refer to the [CITATION.cff](CITATION.cff) file or use GitHub's citation feature.
463
468
 
464
469
  ## 📖 References
465
470
 
@@ -476,12 +481,6 @@ If you use pyASDReader in your research, please cite:
476
481
 
477
482
  This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for complete details.
478
483
 
479
- ### Built With
480
-
481
- - [NumPy](https://numpy.org/) - Numerical computing library
482
- - [Python](https://python.org/) - Programming language
483
- - [pytest](https://pytest.org/) - Testing framework
484
-
485
484
  ---
486
485
 
487
486
  <div align="center">
@@ -352,7 +352,7 @@ Comprehensive export capabilities beyond the standard ASCII format:
352
352
 
353
353
  - 📋 **GitHub Issues**: [Report bugs or request features](https://github.com/KaiTastic/pyASDReader/issues)
354
354
  - 📧 **Email**: `caokai_cgs@163.com` for direct support
355
- - 🔒 **Security**: Report vulnerabilities via our [Security Policy](SECURITY.md)
355
+ - 🔒 **Security**: Report vulnerabilities via the [Security Policy](SECURITY.md)
356
356
 
357
357
  ### Community Guidelines
358
358
 
@@ -363,20 +363,25 @@ Comprehensive export capabilities beyond the standard ASCII format:
363
363
 
364
364
  ## Citation
365
365
 
366
- If you use pyASDReader in your research, please cite:
366
+ If you use pyASDReader in your research, please cite it using the information from t he [CITATION.cff](CITATION.cff) file.
367
367
 
368
+ GitHub provides a "Cite this repository" button in the sidebar that automatically generates citations in multiple formats.
369
+
370
+ **BibTeX format**:
368
371
  ```bibtex
369
372
  @software{cao2025pyasdreader,
370
373
  author = {Cao, Kai},
371
374
  title = {pyASDReader: A Python Library for ASD Spectral File Reading},
372
375
  year = {2025},
373
376
  url = {https://github.com/KaiTastic/pyASDReader},
374
- version = {1.0.0}
377
+ version = {see CITATION.cff for latest version}
375
378
  }
376
379
  ```
377
380
 
378
381
  **Plain text citation**:
379
- > Cao, Kai. (2025). pyASDReader: A Python Library for ASD Spectral File Reading. https://github.com/KaiTastic/pyASDReader
382
+ > Cao, Kai. (2025). pyASDReader: A Python Library for ASD Spectral File Reading. Available at: https://github.com/KaiTastic/pyASDReader
383
+
384
+ For the most up-to-date version number and citation details, please refer to the [CITATION.cff](CITATION.cff) file or use GitHub's citation feature.
380
385
 
381
386
  ## 📖 References
382
387
 
@@ -393,12 +398,6 @@ If you use pyASDReader in your research, please cite:
393
398
 
394
399
  This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for complete details.
395
400
 
396
- ### Built With
397
-
398
- - [NumPy](https://numpy.org/) - Numerical computing library
399
- - [Python](https://python.org/) - Programming language
400
- - [pytest](https://pytest.org/) - Testing framework
401
-
402
401
  ---
403
402
 
404
403
  <div align="center">
@@ -1,5 +1,6 @@
1
1
  .pre-commit-config.yaml
2
2
  CHANGELOG.md
3
+ CITATION.cff
3
4
  LICENSE
4
5
  MANIFEST.in
5
6
  README.md
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes