protpy 1.3.0__tar.gz → 1.4.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 (33) hide show
  1. {protpy-1.3.0/protpy.egg-info → protpy-1.4.1}/PKG-INFO +3 -1
  2. {protpy-1.3.0 → protpy-1.4.1}/README.md +1 -0
  3. {protpy-1.3.0 → protpy-1.4.1}/docs/conf.py +1 -1
  4. {protpy-1.3.0 → protpy-1.4.1}/protpy/__init__.py +4 -3
  5. protpy-1.4.1/protpy/encode.py +624 -0
  6. {protpy-1.3.0 → protpy-1.4.1/protpy.egg-info}/PKG-INFO +3 -1
  7. {protpy-1.3.0 → protpy-1.4.1}/protpy.egg-info/SOURCES.txt +2 -0
  8. {protpy-1.3.0 → protpy-1.4.1}/protpy.egg-info/requires.txt +1 -0
  9. {protpy-1.3.0 → protpy-1.4.1}/pyproject.toml +2 -1
  10. protpy-1.4.1/tests/test_encode.py +947 -0
  11. {protpy-1.3.0 → protpy-1.4.1}/tests/test_protpy.py +42 -42
  12. {protpy-1.3.0 → protpy-1.4.1}/tests/test_utils.py +3 -3
  13. {protpy-1.3.0 → protpy-1.4.1}/LICENSE +0 -0
  14. {protpy-1.3.0 → protpy-1.4.1}/MANIFEST.in +0 -0
  15. {protpy-1.3.0 → protpy-1.4.1}/protpy/_constants.py +0 -0
  16. {protpy-1.3.0 → protpy-1.4.1}/protpy/autocorrelation.py +0 -0
  17. {protpy-1.3.0 → protpy-1.4.1}/protpy/composition.py +0 -0
  18. {protpy-1.3.0 → protpy-1.4.1}/protpy/conjoint_triad.py +0 -0
  19. {protpy-1.3.0 → protpy-1.4.1}/protpy/ctd.py +0 -0
  20. {protpy-1.3.0 → protpy-1.4.1}/protpy/data/README.md +0 -0
  21. {protpy-1.3.0 → protpy-1.4.1}/protpy/data/grantham-physicochemical-distance-matrix.json +0 -0
  22. {protpy-1.3.0 → protpy-1.4.1}/protpy/data/schneider-wrede-physicochemical-distance-matrix.json +0 -0
  23. {protpy-1.3.0 → protpy-1.4.1}/protpy/sequence_order.py +0 -0
  24. {protpy-1.3.0 → protpy-1.4.1}/protpy/utils.py +0 -0
  25. {protpy-1.3.0 → protpy-1.4.1}/protpy.egg-info/dependency_links.txt +0 -0
  26. {protpy-1.3.0 → protpy-1.4.1}/protpy.egg-info/top_level.txt +0 -0
  27. {protpy-1.3.0 → protpy-1.4.1}/setup.cfg +0 -0
  28. {protpy-1.3.0 → protpy-1.4.1}/tests/__init__.py +0 -0
  29. {protpy-1.3.0 → protpy-1.4.1}/tests/test_autocorrelation.py +0 -0
  30. {protpy-1.3.0 → protpy-1.4.1}/tests/test_composition.py +0 -0
  31. {protpy-1.3.0 → protpy-1.4.1}/tests/test_conjoint_triad.py +0 -0
  32. {protpy-1.3.0 → protpy-1.4.1}/tests/test_ctd.py +0 -0
  33. {protpy-1.3.0 → protpy-1.4.1}/tests/test_sequence_order.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: protpy
3
- Version: 1.3.0
3
+ Version: 1.4.1
4
4
  Summary: Python package for generating various biochemical, physicochemical and structural descriptors/features of protein sequences.
5
5
  Author-email: AJ McKenna <amckenna41@qub.ac.uk>
6
6
  Maintainer-email: AJ McKenna <amckenna41@qub.ac.uk>
@@ -35,6 +35,7 @@ License-File: LICENSE
35
35
  Requires-Dist: aaindex>=1.2.0
36
36
  Requires-Dist: numpy>=2.4.4
37
37
  Requires-Dist: pandas>=3.0.2
38
+ Requires-Dist: tqdm>=4.0.0
38
39
  Requires-Dist: varname>=0.15.1
39
40
  Provides-Extra: test
40
41
  Requires-Dist: pytest; extra == "test"
@@ -54,6 +55,7 @@ Dynamic: license-file
54
55
  [![pytest](https://github.com/amckenna41/protpy/workflows/Building%20and%20Testing/badge.svg)](https://github.com/amckenna41/protpy/actions?query=workflowBuilding%20and%20Testing)
55
56
  [![Platforms](https://img.shields.io/badge/platforms-linux%2C%20macOS%2C%20Windows-green)](https://pypi.org/project/protpy/)
56
57
  [![PythonV](https://img.shields.io/pypi/pyversions/protpy?logo=2)](https://pypi.org/project/protpy/)
58
+ [![Documentation Status](https://readthedocs.org/projects/protpy/badge/?version=latest)](https://protpy.readthedocs.io/en/latest/?badge=latest)
57
59
  [![codecov](https://codecov.io/gh/amckenna41/protPy/graph/badge.svg?token=H508M9J13W)](https://codecov.io/gh/amckenna41/protPy)
58
60
  [![License: MIT](https://img.shields.io/badge/License-MIT-red.svg)](https://opensource.org/licenses/MIT)
59
61
  [![Issues](https://img.shields.io/github/issues/amckenna41/protpy)](https://github.com/amckenna41/protpy/issues)
@@ -6,6 +6,7 @@
6
6
  [![pytest](https://github.com/amckenna41/protpy/workflows/Building%20and%20Testing/badge.svg)](https://github.com/amckenna41/protpy/actions?query=workflowBuilding%20and%20Testing)
7
7
  [![Platforms](https://img.shields.io/badge/platforms-linux%2C%20macOS%2C%20Windows-green)](https://pypi.org/project/protpy/)
8
8
  [![PythonV](https://img.shields.io/pypi/pyversions/protpy?logo=2)](https://pypi.org/project/protpy/)
9
+ [![Documentation Status](https://readthedocs.org/projects/protpy/badge/?version=latest)](https://protpy.readthedocs.io/en/latest/?badge=latest)
9
10
  [![codecov](https://codecov.io/gh/amckenna41/protPy/graph/badge.svg?token=H508M9J13W)](https://codecov.io/gh/amckenna41/protPy)
10
11
  [![License: MIT](https://img.shields.io/badge/License-MIT-red.svg)](https://opensource.org/licenses/MIT)
11
12
  [![Issues](https://img.shields.io/github/issues/amckenna41/protpy)](https://github.com/amckenna41/protpy/issues)
@@ -13,7 +13,7 @@ sys.path.insert(0, os.path.abspath('..'))
13
13
  project = 'protpy'
14
14
  copyright = '2026, AJ McKenna'
15
15
  author = 'AJ McKenna'
16
- release = '1.3.0'
16
+ release = '1.4.1'
17
17
 
18
18
  # -- General configuration ---------------------------------------------------
19
19
  # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
@@ -4,6 +4,7 @@ from .conjoint_triad import *
4
4
  from .ctd import *
5
5
  from .sequence_order import *
6
6
  from .utils import get_descriptor_info, list_descriptors, print_descriptor_info
7
+ from .encode import all_descriptors, encode_dataset, read_sequences_from_file
7
8
 
8
9
  #canonical amino acids available in the package
9
10
  amino_acids = ["A", "C", "D", "E", "F", "G", "H", "I", "K", "L", "M", "N", "P",
@@ -11,7 +12,7 @@ amino_acids = ["A", "C", "D", "E", "F", "G", "H", "I", "K", "L", "M", "N", "P",
11
12
 
12
13
  #protPy package metadata
13
14
  __name__ = 'protpy'
14
- __version__ = "1.3.0"
15
+ __version__ = "1.4.1"
15
16
  __description__ = "Python package for generating various biochemical, physicochemical and structural descriptors/features of protein sequences."
16
17
  __author__ = 'AJ McKenna: https://github.com/amckenna41'
17
18
  __authorEmail__ = 'amckenna41@qub.ac.uk'
@@ -25,8 +26,8 @@ __keywords__ = ["bioinformatics", "protein engineering", "python", "pypi", "mach
25
26
  "structural descriptors", "pySAR"]
26
27
  __test_suite__ = "tests"
27
28
 
28
- #list of all available descriptors in protPy
29
- all_descriptors = ["amino_acid_composition", "dipeptide_composition", "tripeptide_composition",
29
+ #list of all available descriptor names in protPy
30
+ descriptor_names = ["amino_acid_composition", "dipeptide_composition", "tripeptide_composition",
30
31
  "gravy", "aromaticity", "instability_index", "isoelectric_point", "molecular_weight",
31
32
  "charge_distribution", "hydrophobic_polar_charged_composition", "secondary_structure_propensity",
32
33
  "kmer_composition", "reduced_alphabet_composition", "motif_composition",