sylphy 0.1.2__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 (49) hide show
  1. sylphy-0.1.2/.gitignore +78 -0
  2. sylphy-0.1.2/LICENSE +674 -0
  3. sylphy-0.1.2/PKG-INFO +456 -0
  4. sylphy-0.1.2/README.md +387 -0
  5. sylphy-0.1.2/pyproject.toml +129 -0
  6. sylphy-0.1.2/sylphy/__init__.py +46 -0
  7. sylphy-0.1.2/sylphy/cli/__init__.py +0 -0
  8. sylphy-0.1.2/sylphy/cli/cache.py +439 -0
  9. sylphy-0.1.2/sylphy/cli/encoder_sequences.py +292 -0
  10. sylphy-0.1.2/sylphy/cli/get_embeddings.py +298 -0
  11. sylphy-0.1.2/sylphy/cli/main.py +58 -0
  12. sylphy-0.1.2/sylphy/constants/__init__.py +95 -0
  13. sylphy-0.1.2/sylphy/constants/cli_constants.py +61 -0
  14. sylphy-0.1.2/sylphy/constants/config_constants.py +54 -0
  15. sylphy-0.1.2/sylphy/constants/logging_constants.py +44 -0
  16. sylphy-0.1.2/sylphy/constants/tool_configs.py +94 -0
  17. sylphy-0.1.2/sylphy/constants/tool_constants.py +174 -0
  18. sylphy-0.1.2/sylphy/core/__init__.py +46 -0
  19. sylphy-0.1.2/sylphy/core/config.py +75 -0
  20. sylphy-0.1.2/sylphy/core/model_registry.py +378 -0
  21. sylphy-0.1.2/sylphy/core/model_spec.py +44 -0
  22. sylphy-0.1.2/sylphy/embedding_extractor/__init__.py +86 -0
  23. sylphy-0.1.2/sylphy/embedding_extractor/ankh2_based.py +126 -0
  24. sylphy-0.1.2/sylphy/embedding_extractor/bert_based.py +84 -0
  25. sylphy-0.1.2/sylphy/embedding_extractor/embedding_based.py +536 -0
  26. sylphy-0.1.2/sylphy/embedding_extractor/embedding_factory.py +155 -0
  27. sylphy-0.1.2/sylphy/embedding_extractor/esm_based.py +93 -0
  28. sylphy-0.1.2/sylphy/embedding_extractor/esmc_based.py +259 -0
  29. sylphy-0.1.2/sylphy/embedding_extractor/mistral_based.py +81 -0
  30. sylphy-0.1.2/sylphy/embedding_extractor/prot5_based.py +97 -0
  31. sylphy-0.1.2/sylphy/logging/__init__.py +19 -0
  32. sylphy-0.1.2/sylphy/logging/logging_config.py +425 -0
  33. sylphy-0.1.2/sylphy/misc/__init__.py +23 -0
  34. sylphy-0.1.2/sylphy/misc/utils_lib.py +517 -0
  35. sylphy-0.1.2/sylphy/reductions/__init__.py +31 -0
  36. sylphy-0.1.2/sylphy/reductions/factory.py +190 -0
  37. sylphy-0.1.2/sylphy/reductions/linear_reductions.py +143 -0
  38. sylphy-0.1.2/sylphy/reductions/non_linear_reductions.py +124 -0
  39. sylphy-0.1.2/sylphy/reductions/reduction_methods.py +150 -0
  40. sylphy-0.1.2/sylphy/sequence_encoder/__init__.py +28 -0
  41. sylphy-0.1.2/sylphy/sequence_encoder/base_encoder.py +180 -0
  42. sylphy-0.1.2/sylphy/sequence_encoder/factory.py +155 -0
  43. sylphy-0.1.2/sylphy/sequence_encoder/fft_encoder.py +114 -0
  44. sylphy-0.1.2/sylphy/sequence_encoder/frequency_encoder.py +68 -0
  45. sylphy-0.1.2/sylphy/sequence_encoder/kmers_encoder.py +79 -0
  46. sylphy-0.1.2/sylphy/sequence_encoder/one_hot_encoder.py +87 -0
  47. sylphy-0.1.2/sylphy/sequence_encoder/ordinal_encoder.py +80 -0
  48. sylphy-0.1.2/sylphy/sequence_encoder/physicochemical_encoder.py +137 -0
  49. sylphy-0.1.2/sylphy/types.py +8 -0
@@ -0,0 +1,78 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # Virtual environment
7
+ env/
8
+ venv/
9
+ .venv/
10
+
11
+ # Poetry virtualenv metadata
12
+ poetry.lock
13
+ # .python-version
14
+
15
+ # Distribution / packaging
16
+ build/
17
+ dist/
18
+ *.egg-info/
19
+ *.egg
20
+
21
+ # Installer logs
22
+ pip-log.txt
23
+ pip-delete-this-directory.txt
24
+
25
+ # Unit test / coverage reports
26
+ htmlcov/
27
+ .tox/
28
+ .nox/
29
+ .coverage
30
+ coverage.xml
31
+ *.cover
32
+ .cache
33
+ pytest_cache/
34
+ .pytest_cache/
35
+
36
+ # Jupyter Notebook checkpoints
37
+ .ipynb_checkpoints
38
+ *.ipynb~
39
+
40
+ # VSCode / PyCharm / editor configs
41
+ .vscode/
42
+ .idea/
43
+ *.sublime-project
44
+ *.sublime-workspace
45
+
46
+ # macOS & Linux artifacts
47
+ .DS_Store
48
+ Thumbs.db
49
+ ehthumbs.db
50
+ *.swp
51
+ *.bak
52
+ *~
53
+
54
+ # Logs and debug
55
+ *.log
56
+
57
+ # Generated data
58
+ data/
59
+ __tmp/
60
+ outputs/
61
+ plots/
62
+ *.h5
63
+ *.csv
64
+ *.tsv
65
+ *.pkl
66
+ *.npy
67
+ *.npz
68
+ *.pdb
69
+
70
+ # Secrets / keys / local config
71
+ .env
72
+ .env.*
73
+ *.secret
74
+ *.key
75
+
76
+ # Others
77
+ other/
78
+ results/