hddflyzer 0.1.5__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 (93) hide show
  1. hddflyzer-0.1.5/.gitignore +91 -0
  2. hddflyzer-0.1.5/CHANGELOG.md +255 -0
  3. hddflyzer-0.1.5/CITATION.cff +33 -0
  4. hddflyzer-0.1.5/CODE_OF_CONDUCT.md +46 -0
  5. hddflyzer-0.1.5/CONTRIBUTING.md +55 -0
  6. hddflyzer-0.1.5/COPYING +674 -0
  7. hddflyzer-0.1.5/COPYING.LESSER +165 -0
  8. hddflyzer-0.1.5/LICENSE +8 -0
  9. hddflyzer-0.1.5/PKG-INFO +696 -0
  10. hddflyzer-0.1.5/README.md +652 -0
  11. hddflyzer-0.1.5/ROADMAP.md +506 -0
  12. hddflyzer-0.1.5/environment.yml +12 -0
  13. hddflyzer-0.1.5/hddflyzer/__init__.py +25 -0
  14. hddflyzer-0.1.5/hddflyzer/chem/__init__.py +105 -0
  15. hddflyzer-0.1.5/hddflyzer/chem/feature_curation.py +212 -0
  16. hddflyzer-0.1.5/hddflyzer/chem/feature_engineering.py +736 -0
  17. hddflyzer-0.1.5/hddflyzer/chem/npclassifier.py +327 -0
  18. hddflyzer-0.1.5/hddflyzer/chem/pruning.py +218 -0
  19. hddflyzer-0.1.5/hddflyzer/chem/reference_catalog.py +69 -0
  20. hddflyzer-0.1.5/hddflyzer/chem/stats.py +356 -0
  21. hddflyzer-0.1.5/hddflyzer/chem/tanimoto.py +272 -0
  22. hddflyzer-0.1.5/hddflyzer/chem/tanimoto_sampling.py +291 -0
  23. hddflyzer-0.1.5/hddflyzer/cli.py +422 -0
  24. hddflyzer-0.1.5/hddflyzer/config/__init__.py +124 -0
  25. hddflyzer-0.1.5/hddflyzer/config/descriptor_config.json +179 -0
  26. hddflyzer-0.1.5/hddflyzer/config/settings.py +91 -0
  27. hddflyzer-0.1.5/hddflyzer/data/__init__.py +25 -0
  28. hddflyzer-0.1.5/hddflyzer/data/registry.py +226 -0
  29. hddflyzer-0.1.5/hddflyzer/dimred/__init__.py +37 -0
  30. hddflyzer-0.1.5/hddflyzer/dimred/pca.py +294 -0
  31. hddflyzer-0.1.5/hddflyzer/dimred/pca_joint.py +221 -0
  32. hddflyzer-0.1.5/hddflyzer/dimred/pca_utils.py +42 -0
  33. hddflyzer-0.1.5/hddflyzer/dimred/tsne.py +664 -0
  34. hddflyzer-0.1.5/hddflyzer/dimred/umap.py +690 -0
  35. hddflyzer-0.1.5/hddflyzer/io/__init__.py +36 -0
  36. hddflyzer-0.1.5/hddflyzer/io/paths.py +7 -0
  37. hddflyzer-0.1.5/hddflyzer/io/readers.py +205 -0
  38. hddflyzer-0.1.5/hddflyzer/io/writers.py +249 -0
  39. hddflyzer-0.1.5/hddflyzer/pipeline/__init__.py +21 -0
  40. hddflyzer-0.1.5/hddflyzer/pipeline/contracts.py +79 -0
  41. hddflyzer-0.1.5/hddflyzer/pipeline/orchestrator.py +232 -0
  42. hddflyzer-0.1.5/hddflyzer/pipeline/stages.py +140 -0
  43. hddflyzer-0.1.5/hddflyzer/results/__init__.py +36 -0
  44. hddflyzer-0.1.5/hddflyzer/results/artifacts.py +283 -0
  45. hddflyzer-0.1.5/hddflyzer/results/workflow_run.py +602 -0
  46. hddflyzer-0.1.5/hddflyzer/science/__init__.py +47 -0
  47. hddflyzer-0.1.5/hddflyzer/science/metrics.py +650 -0
  48. hddflyzer-0.1.5/hddflyzer/science/spaces.py +423 -0
  49. hddflyzer-0.1.5/hddflyzer/utils/__init__.py +33 -0
  50. hddflyzer-0.1.5/hddflyzer/utils/columns.py +37 -0
  51. hddflyzer-0.1.5/hddflyzer/utils/descriptors.py +228 -0
  52. hddflyzer-0.1.5/hddflyzer/utils/naming.py +33 -0
  53. hddflyzer-0.1.5/hddflyzer/version.py +3 -0
  54. hddflyzer-0.1.5/hddflyzer/viz/__init__.py +48 -0
  55. hddflyzer-0.1.5/hddflyzer/viz/colors.py +61 -0
  56. hddflyzer-0.1.5/hddflyzer/viz/correlations.py +194 -0
  57. hddflyzer-0.1.5/hddflyzer/viz/distributions.py +354 -0
  58. hddflyzer-0.1.5/hddflyzer/viz/inputs.py +134 -0
  59. hddflyzer-0.1.5/hddflyzer/viz/npclassifier_plots.py +328 -0
  60. hddflyzer-0.1.5/hddflyzer/viz/pca_plots.py +298 -0
  61. hddflyzer-0.1.5/hddflyzer/viz/similarity.py +309 -0
  62. hddflyzer-0.1.5/hddflyzer/viz/tsne_plots.py +415 -0
  63. hddflyzer-0.1.5/hddflyzer/viz/umap_plots.py +387 -0
  64. hddflyzer-0.1.5/pyproject.toml +130 -0
  65. hddflyzer-0.1.5/tests/__init__.py +0 -0
  66. hddflyzer-0.1.5/tests/test_chem_api.py +47 -0
  67. hddflyzer-0.1.5/tests/test_chem_feature_curation.py +38 -0
  68. hddflyzer-0.1.5/tests/test_chem_feature_engineering.py +52 -0
  69. hddflyzer-0.1.5/tests/test_chem_pruning.py +121 -0
  70. hddflyzer-0.1.5/tests/test_chem_reference_catalog.py +27 -0
  71. hddflyzer-0.1.5/tests/test_chem_stats.py +76 -0
  72. hddflyzer-0.1.5/tests/test_chem_tanimoto.py +80 -0
  73. hddflyzer-0.1.5/tests/test_chem_tanimoto_sampling.py +126 -0
  74. hddflyzer-0.1.5/tests/test_cli.py +105 -0
  75. hddflyzer-0.1.5/tests/test_config.py +124 -0
  76. hddflyzer-0.1.5/tests/test_data.py +112 -0
  77. hddflyzer-0.1.5/tests/test_dimred_pca.py +39 -0
  78. hddflyzer-0.1.5/tests/test_dimred_pca_joint.py +30 -0
  79. hddflyzer-0.1.5/tests/test_dimred_tsne.py +118 -0
  80. hddflyzer-0.1.5/tests/test_dimred_umap.py +84 -0
  81. hddflyzer-0.1.5/tests/test_io.py +275 -0
  82. hddflyzer-0.1.5/tests/test_pipeline.py +550 -0
  83. hddflyzer-0.1.5/tests/test_results_api.py +36 -0
  84. hddflyzer-0.1.5/tests/test_results_artifact_loading.py +207 -0
  85. hddflyzer-0.1.5/tests/test_results_workflow_run.py +497 -0
  86. hddflyzer-0.1.5/tests/test_science_api.py +37 -0
  87. hddflyzer-0.1.5/tests/test_science_metrics.py +669 -0
  88. hddflyzer-0.1.5/tests/test_science_spaces.py +382 -0
  89. hddflyzer-0.1.5/tests/test_utils.py +173 -0
  90. hddflyzer-0.1.5/tests/test_viz.py +73 -0
  91. hddflyzer-0.1.5/tests/test_viz_api.py +61 -0
  92. hddflyzer-0.1.5/tests/test_viz_colors.py +32 -0
  93. hddflyzer-0.1.5/tests/test_viz_inputs.py +256 -0
@@ -0,0 +1,91 @@
1
+ # ============================================================
2
+ # Python
3
+ # ============================================================
4
+ __pycache__/
5
+ build/
6
+ dist/
7
+ pycache/
8
+ .eggs/
9
+ *.egg
10
+ *.egg-info/
11
+ *.py[cod]
12
+ *$py.class
13
+ *.so
14
+ *.whl
15
+
16
+
17
+ # ============================================================
18
+ # Virtual environments
19
+ # ============================================================
20
+ venv/
21
+ env/
22
+ .env/
23
+ .env
24
+ .env.*
25
+ .conda/
26
+ .venv/
27
+
28
+ # ============================================================
29
+ # Hatch
30
+ # ============================================================
31
+ .hatch/
32
+
33
+ # ============================================================
34
+ # IDE / editors
35
+ # ============================================================
36
+ .vscode/
37
+ .idea/
38
+ *.swp
39
+ *.swo
40
+ .DS_Store
41
+ Thumbs.db
42
+
43
+ # ============================================================
44
+ # Jupyter
45
+ # ============================================================
46
+ .ipynb_checkpoints/
47
+ *.ipynb
48
+
49
+ # ============================================================
50
+ # Testing / coverage
51
+ # ============================================================
52
+ htmlcov/
53
+ .pytest_cache/
54
+ .coverage
55
+ coverage.xml
56
+ .mypy_cache/
57
+ .ruff_cache/
58
+
59
+ # ============================================================
60
+ # HDDFlyzer runtime outputs
61
+ # (generated by the pipeline — not part of the package)
62
+ # ============================================================
63
+ /results/
64
+
65
+ # ============================================================
66
+ # MKDocs
67
+ # ============================================================
68
+ /site/
69
+
70
+
71
+ # ============================================================
72
+ # Large binary files (anywhere)
73
+ # ============================================================
74
+ *.npz
75
+ *.pkl
76
+ *.npy
77
+
78
+ # ============================================================
79
+ # Misc
80
+ # ============================================================
81
+ *.log
82
+ *.tmp
83
+ *.bak
84
+
85
+
86
+ # ============================================================
87
+ # Manuals and commands (not part of the package)
88
+ # ============================================================
89
+ __manual.md
90
+ __commands.txt
91
+ __roadmap.md
@@ -0,0 +1,255 @@
1
+ # Changelog
2
+
3
+ All notable changes to HDDFlyzer will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ---
9
+
10
+ ## [0.1.5] - 2026-06-15
11
+
12
+ ### Added
13
+
14
+ - Added preparation for publishing HDDFlyzer to PyPI.
15
+ - Added the manual `publish-to-pypi.yml` workflow using PyPI Trusted
16
+ Publishing.
17
+
18
+ ### Changed
19
+
20
+ - Updated project metadata to `0.1.5`.
21
+ - Updated `environment.yml` to install `hddflyzer==0.1.5`.
22
+ - Updated CI to validate Python 3.11 and 3.12 with `twine check`.
23
+ - Prepared the release workflow for a single build-and-publish path after the
24
+ release tag and manual workflow dispatch are in place.
25
+
26
+ ### Validation
27
+
28
+ - Validated the package on Python 3.11 and 3.12 before publication.
29
+ - Validated wheel and sdist builds, `twine check`, and wheel-based smoke
30
+ installation.
31
+ - PyPI publication is prepared for this cycle but must still be triggered
32
+ through the manual trusted-publishing workflow.
33
+
34
+ ---
35
+
36
+ ## [0.1.4] - 2026-06-13
37
+
38
+ ### Added
39
+
40
+ - Added a GitHub Actions documentation workflow for MkDocs / GitHub Pages
41
+ validation.
42
+
43
+ ### Changed
44
+
45
+ - Updated the internal HDDFlyzer version to `0.1.4`.
46
+ - Separated documentation dependencies through the `[docs]` optional dependency
47
+ group.
48
+ - Added a preventive MkDocs version bound with `mkdocs>=1.6,<2.0`.
49
+
50
+ ### Documentation
51
+
52
+ - Validated the documentation site with `mkdocs build --strict`.
53
+ - Prepared the `v0.1.4` cycle for documentation web / GitHub Pages readiness
54
+ without publishing PyPI in this cycle.
55
+
56
+ ---
57
+
58
+ ## [0.1.3] - 2026-06-11
59
+
60
+ ### Added
61
+
62
+ - Added minimal GitHub Actions CI for HDDFlyzer with local validation steps for
63
+ tests, import smoke, CLI smoke, and package build.
64
+
65
+ ### Changed
66
+
67
+ - Updated the internal HDDFlyzer version to `0.1.3`.
68
+
69
+ ---
70
+
71
+ ## [0.1.2] - 2026-06-10
72
+
73
+ ### Added
74
+
75
+ - Added global CLI version reporting with `hddflyzer --version`.
76
+ - Added the short CLI version flag `hddflyzer -V`.
77
+
78
+ ### Changed
79
+
80
+ - Updated the internal HDDFlyzer version to `0.1.2`.
81
+
82
+ ### Packaging
83
+
84
+ - Validated local editable installation with `python -m pip install -e .`.
85
+ - Validated local wheel and sdist builds with `python -m build`.
86
+ - Confirmed that `hddflyzer/config/descriptor_config.json` is included in both
87
+ the wheel and sdist artifacts.
88
+ - Kept PyPI publication deferred to a later release cycle.
89
+
90
+ ---
91
+
92
+ ## [0.1.1] - 2026-06-10
93
+
94
+ ### Changed
95
+
96
+ - Reworked the project documentation site around clearer page identities:
97
+ `Usage` now focuses on running HDDFlyzer and understanding generated outputs,
98
+ while `API Overview and Reference` separates guided Python examples from the
99
+ auto-generated API reference.
100
+ - Refined the Home page narrative to better describe the motivation for
101
+ HDDFlyzer, the dataset-first result model, descriptor-space provenance, and
102
+ representative molecular features.
103
+ - Updated the documentation visual identity with a teal/deep-petroleum palette,
104
+ warmer admonitions, a single-color header, balanced dark-mode contrast, and
105
+ more consistent footer spacing.
106
+ - Improved the Changelog page rendering and presentation through MkDocs snippet
107
+ support and focused changelog styling.
108
+
109
+ ### Added
110
+
111
+ - Added Home-page examples for descriptor-space outputs using documentation
112
+ assets from `docs/assets/`.
113
+ - Added footer social links for the HDDFlyzer GitHub repository and the
114
+ NanoBiostructures Research Group website.
115
+ - Added a pre-stable documentation notice that states HDDFlyzer is currently in
116
+ Alpha-stage development.
117
+
118
+ ### Fixed
119
+
120
+ - Fixed the documentation Changelog page so it renders entries from
121
+ `CHANGELOG.md` in the project documentation site.
122
+ - Corrected the API navigation label from `API Overview` to
123
+ `API Reference`, then refined the page title to
124
+ `API Overview and Reference` to match its combined guide/reference role.
125
+
126
+ ---
127
+
128
+ ## [0.1.0] - 2026-06-08
129
+
130
+ ### Added
131
+
132
+ - Added a CLI-first workflow for local cheminformatics analysis with `hddflyzer`
133
+ as the user-facing command-line entry point.
134
+ - Added a dataset-first results layout under `results/<tag>/` so each molecular
135
+ collection keeps its generated registry, annotations, chemistry outputs,
136
+ dimensionality-reduction outputs, figures, metadata, and summaries together.
137
+ - Added molecule-registry preparation from local input collections.
138
+ - Added natural-product class annotation outputs.
139
+ - Added Tanimoto similarity workflows, including similarity matrix output,
140
+ molecule ID alignment files, sampling outputs, and metadata.
141
+ - Added molecular descriptor feature generation, feature curation, correlation
142
+ analysis, and correlation-based pruning outputs.
143
+ - Added dimensionality-reduction workflows for PCA, t-SNE, and UMAP across
144
+ descriptor, Tanimoto, and pruned-feature spaces where supported.
145
+ - Added visualization commands for natural-product classes, similarity outputs,
146
+ descriptor correlations, PCA, t-SNE, and UMAP projections.
147
+ - Added `manifest.json` and `workflow_summary.md` as run-level indexes for
148
+ generated outputs, operation metadata, current outputs, output categories, and
149
+ workflow-contract reconstruction.
150
+ - Added the programmatic pipeline contracts `run_pipeline()`, `run_workflow()`,
151
+ and `execute_workflow()`.
152
+ - Added `WorkflowExecution` for programmatic workflow execution summaries,
153
+ including stage results, failure tracking, and optional reconstructed run
154
+ access.
155
+ - Added the results API with `WorkflowRun`, `ResultArtifact`, `LoadedArtifact`,
156
+ `load_workflow_run()`, and `load_artifact()`.
157
+ - Added semantic artifact classification for outputs such as molecule
158
+ registries, descriptor tables, Tanimoto matrices, projection coordinates,
159
+ figures, metadata files, and workflow summaries.
160
+ - Added artifact selection and loading helpers through `run.artifacts(...)`,
161
+ `run.artifact(...)`, and `run.load_artifact(...)`.
162
+ - Added the optional `required` artifact filter to disambiguate matching outputs
163
+ by path fragment.
164
+ - Added visualization input resolution through `VizInputs` and
165
+ `resolve_viz_inputs()`.
166
+ - Added support for using reconstructed result objects as visualization inputs,
167
+ including `plot_hddf_scatters(LoadedArtifact)` for loaded descriptor-table
168
+ artifacts.
169
+ - Added scientific result views over existing outputs:
170
+ `DescriptorSpace`, `SimilaritySpace`, and `ProjectionSpace`.
171
+ - Added `WorkflowRun` scientific accessors:
172
+ `run.descriptor_space(...)`, `run.similarity_space(...)`, and
173
+ `run.projection_space(...)`.
174
+ - Added molecular-identity utilities for comparing and aligning scientific
175
+ spaces, including `shared_molecule_ids(...)`, `has_aligned_molecule_ids(...)`,
176
+ and `align_spaces(...)`.
177
+ - Added scientific analysis helpers over reconstructed artifacts, including:
178
+ `similarity_projection_correlation(...)`,
179
+ `similarity_projection_neighbor_overlap(...)`,
180
+ `descriptor_projection_correlations(...)`,
181
+ `projection_neighborhood_preservation(...)`, and
182
+ `compare_descriptor_groups(...)`.
183
+
184
+ ### Changed
185
+
186
+ - Consolidated the CLI around the programmatic workflow engine so
187
+ `hddflyzer pipeline run` uses `execute_workflow()` while preserving existing
188
+ exit-code behavior.
189
+ - Preserved distinct execution contracts:
190
+ - `run_pipeline(...)` returns `list[StageResult]`;
191
+ - `run_workflow(...)` returns a reconstructed `WorkflowRun`;
192
+ - `execute_workflow(...)` returns `WorkflowExecution`.
193
+ - Extended the run manifest with a workflow-contract block that describes the
194
+ canonical `registry -> chem -> dimred -> viz -> metadata/results` workflow.
195
+ - Added grouped output categories while preserving the existing flat
196
+ `current_outputs` list for compatibility.
197
+ - Refined the README to present HDDFlyzer as a local, traceable molecular
198
+ descriptor-space workflow tool rather than a collection of unrelated scripts.
199
+ - Clarified that “HDDFlyzer” is a project name/brand: `HDD` refers to
200
+ high-dimensional descriptors, while `Flyzer` is a stylized name for exploring
201
+ and analyzing molecular descriptor spaces.
202
+
203
+ ### Security
204
+
205
+ - Blocked pickle loading by default in public artifact and dataframe loaders.
206
+ - Required explicit `allow_pickle=True` for trusted local pickle files.
207
+ - Added run-tag validation to reject empty tags, absolute paths, path traversal,
208
+ and path separators.
209
+ - Added containment checks so reconstructed artifacts must resolve inside their
210
+ corresponding `results/<tag>/` directory.
211
+ - Added manifest-update checks that reject registered output files outside the
212
+ expected run directory.
213
+ - Made matrix loading use non-pickle NumPy loading by default.
214
+
215
+ ### Documentation
216
+
217
+ - Documented the traceable results model based on `results/<tag>/`,
218
+ `manifest.json`, `workflow_summary.md`, artifact semantics, and reconstructed
219
+ runs.
220
+ - Documented scientific result views and analysis helpers as operations over
221
+ already generated artifacts.
222
+ - Documented that the scientific API does not recalculate descriptors,
223
+ similarities, or projections, and does not perform automatic clustering,
224
+ enrichment, or chemical interpretation.
225
+ - Documented local safety expectations for pickle files, path validation, and
226
+ untrusted manifests.
227
+
228
+ ### Tests
229
+
230
+ - Added and expanded tests for CLI routing, configuration, IO, manifest writing,
231
+ pipeline execution contracts, results reconstruction, artifact loading,
232
+ visualization inputs, public API exports, scientific spaces, alignment, and
233
+ scientific metrics.
234
+ - Added tests for defensive path handling, tag validation, artifact containment,
235
+ and pickle-blocking behavior.
236
+
237
+ ### Notes
238
+
239
+ - HDDFlyzer is not yet a complete drug-discovery platform, docking workflow,
240
+ automatic chemical-interpretation system, or automatic enrichment/clustering
241
+ tool.
242
+ - Current workflows focus on local molecular descriptor spaces, similarity
243
+ matrices, dimensionality reduction, visualization, result reconstruction, and
244
+ lightweight scientific analysis over existing outputs.
245
+ - Future conformer-generation and 3D descriptor workflows are planned but are
246
+ not part of the current workflow contract.
247
+
248
+ ---
249
+
250
+ [0.1.5]: https://github.com/NanoBiostructuresRG/hddflyzer/compare/v0.1.4...v0.1.5
251
+ [0.1.4]: https://github.com/NanoBiostructuresRG/hddflyzer/compare/v0.1.3...v0.1.4
252
+ [0.1.3]: https://github.com/NanoBiostructuresRG/hddflyzer/compare/v0.1.2...v0.1.3
253
+ [0.1.2]: https://github.com/NanoBiostructuresRG/hddflyzer/compare/v0.1.1...v0.1.2
254
+ [0.1.1]: https://github.com/NanoBiostructuresRG/hddflyzer/compare/v0.1.0...v0.1.1
255
+ [0.1.0]: https://github.com/NanoBiostructuresRG/hddflyzer/releases/tag/v0.1.0
@@ -0,0 +1,33 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use this software, please cite it as below."
3
+ type: software
4
+ title: "HDDFlyzer: High-Dimensional Descriptor-based Feature Space Analyzer"
5
+ version: "0.1.5"
6
+ date-released: "2026-06-14"
7
+ authors:
8
+ - family-names: "Contreras-Torres"
9
+ given-names: "Flavio F."
10
+ orcid: "https://orcid.org/0000-0003-2375-131X"
11
+ affiliation: "Tecnologico de Monterrey"
12
+ - family-names: "Saldivar-González"
13
+ given-names: "Fernanda I."
14
+ orcid: "https://orcid.org/0000-0002-0435-8662"
15
+ affiliation: "Tecnologico de Monterrey"
16
+ repository-code: "https://github.com/NanoBiostructuresRG/hddflyzer"
17
+ license: "LGPL-3.0-or-later"
18
+ abstract: >-
19
+ HDDFlyzer is a pre-stable development prototype for a CLI-first cheminformatics
20
+ toolkit with a Python API for reproducible,
21
+ traceable molecular descriptor-space workflows.
22
+ It generates descriptor, similarity, projection, and
23
+ visualization outputs from compound collections, stores them with metadata,
24
+ and supports later reconstruction, inspection, and analysis of completed
25
+ runs.
26
+ keywords:
27
+ - cheminformatics
28
+ - high-dimensional data analysis
29
+ - molecular descriptors
30
+ - data-space analysis
31
+ - molecular annotation
32
+ - RDKit
33
+ - machine learning
@@ -0,0 +1,46 @@
1
+ # Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as contributors and maintainers pledge to make participation in **HDDFlyzer**
6
+ and our community a harassment-free experience for everyone, regardless of age,
7
+ body size, disability, ethnicity, gender identity and expression, level of experience,
8
+ nationality, personal appearance, race, religion, or sexual identity and orientation.
9
+
10
+ ## Our Standards
11
+
12
+ Examples of behavior that contributes to a positive environment:
13
+
14
+ - Using welcoming and inclusive language
15
+ - Being respectful of differing viewpoints and experiences
16
+ - Gracefully accepting constructive criticism
17
+ - Focusing on what is best for the community
18
+ - Showing empathy towards other community members
19
+
20
+ Examples of unacceptable behavior:
21
+
22
+ - The use of sexualized language or imagery
23
+ - Trolling, insulting or derogatory comments, and personal or political attacks
24
+ - Public or private harassment
25
+ - Publishing others' private information without explicit permission
26
+ - Other conduct which could reasonably be considered inappropriate in a professional setting
27
+
28
+ ## Our Responsibilities
29
+
30
+ Project maintainers are responsible for clarifying the standards of acceptable
31
+ behavior and are expected to take appropriate and fair corrective action in
32
+ response to any instances of unacceptable behavior.
33
+
34
+ ## Enforcement
35
+
36
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
37
+ reported privately by email to Flavio F. Contreras-Torres, the project
38
+ maintainer, at <contreras.flavio@tec.mx>. Please do not use public GitHub
39
+ issues for sensitive conduct reports.
40
+
41
+ Conduct reports are received by the project maintainer and will be reviewed and
42
+ investigated promptly, fairly, and with appropriate confidentiality.
43
+
44
+ ## Attribution
45
+
46
+ This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1. For the full text, see [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html).
@@ -0,0 +1,55 @@
1
+ # Contributing to HDDFlyzer
2
+
3
+ Thank you for your interest in contributing to HDDFlyzer!
4
+ This project is maintained by the [NanoBiostructures Research Group](https://nanobiostructuresrg.github.io) at Tecnológico de Monterrey.
5
+
6
+ ## How to contribute
7
+
8
+ ### Reporting bugs
9
+ Open an issue on [GitHub Issues](https://github.com/NanoBiostructuresRG/hddflyzer/issues) with:
10
+ - A clear description of the problem
11
+ - A minimal reproducible example
12
+ - Your environment details (OS, Python version, RDKit version)
13
+
14
+ ### Suggesting features
15
+ Open an issue with the `enhancement` label describing:
16
+ - The use case
17
+ - Why it would be useful beyond your specific workflow
18
+
19
+ ### Submitting a pull request
20
+ 1. Fork the repository
21
+ 2. Create a branch from `dev/v0.1.0` during this readiness cycle:
22
+ `git switch -c dev/your-feature`
23
+ 3. Make your changes
24
+ 4. Run the test suite: `pytest tests/`
25
+ 5. Push your branch and open a pull request against `dev/v0.1.0`
26
+
27
+ Pull requests should pass CI before merge. User-facing changes should include
28
+ appropriate documentation and changelog updates.
29
+
30
+ ## Development setup
31
+
32
+ ```bash
33
+ git clone https://github.com/NanoBiostructuresRG/hddflyzer.git
34
+ cd hddflyzer
35
+ conda env create -f environment.yml
36
+ conda activate hddflyzer_env
37
+ pip install -e ".[dev]"
38
+ ```
39
+
40
+ ## Code style
41
+ This project follows [PEP 8](https://peps.python.org/pep-0008/). Please run `ruff` or `flake8` before submitting.
42
+
43
+ ## Documentation and changelog
44
+ Update the README, documentation, examples, or API reference when behavior,
45
+ interfaces, commands, or examples change. Add an entry to `CHANGELOG.md` for
46
+ user-facing changes.
47
+
48
+ ## Scientific and cheminformatics changes
49
+ For changes that affect SMILES standardization or cheminformatics assumptions,
50
+ explain or cite the relevant assumptions when appropriate. Add or update tests
51
+ and examples for changed standardization behavior, document RDKit-dependent
52
+ behavior when relevant, and preserve reproducibility of the workflow.
53
+
54
+ ## Questions
55
+ Open an issue or contact the maintainer via the repository.