PySAR 2.5.0__py3-none-any.whl
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.
- docs/conf.py +53 -0
- pySAR/__init__.py +28 -0
- pySAR/descriptors.py +2893 -0
- pySAR/encoding.py +986 -0
- pySAR/evaluate.py +231 -0
- pySAR/globals_.py +21 -0
- pySAR/model.py +559 -0
- pySAR/plots.py +92 -0
- pySAR/py.typed +0 -0
- pySAR/pyDSP.py +582 -0
- pySAR/pySAR.py +962 -0
- pySAR/utils.py +283 -0
- pysar-2.5.0.dist-info/METADATA +740 -0
- pysar-2.5.0.dist-info/RECORD +17 -0
- pysar-2.5.0.dist-info/WHEEL +5 -0
- pysar-2.5.0.dist-info/licenses/LICENSE +21 -0
- pysar-2.5.0.dist-info/top_level.txt +2 -0
docs/conf.py
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Configuration file for the Sphinx documentation builder.
|
|
2
|
+
#
|
|
3
|
+
# For the full list of built-in configuration values, see the documentation:
|
|
4
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
5
|
+
|
|
6
|
+
import os
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
# Make pySAR importable without installing it
|
|
10
|
+
sys.path.insert(0, os.path.abspath('..'))
|
|
11
|
+
|
|
12
|
+
# -- Project information -----------------------------------------------------
|
|
13
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
|
14
|
+
|
|
15
|
+
project = 'pySAR'
|
|
16
|
+
copyright = '2026, AJ McKenna'
|
|
17
|
+
author = 'AJ McKenna'
|
|
18
|
+
release = '2.5.0'
|
|
19
|
+
|
|
20
|
+
# -- General configuration ---------------------------------------------------
|
|
21
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
22
|
+
|
|
23
|
+
extensions = [
|
|
24
|
+
'sphinx.ext.autodoc',
|
|
25
|
+
'sphinx.ext.napoleon',
|
|
26
|
+
'sphinx_autodoc_typehints',
|
|
27
|
+
'sphinx_autodoc_defaultargs',
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
# Mock heavy C-extension dependencies so RTD doesn't need to compile them
|
|
31
|
+
autodoc_mock_imports = [
|
|
32
|
+
'numpy',
|
|
33
|
+
'pandas',
|
|
34
|
+
'scipy',
|
|
35
|
+
'sklearn',
|
|
36
|
+
'matplotlib',
|
|
37
|
+
'seaborn',
|
|
38
|
+
'tqdm',
|
|
39
|
+
'delayed',
|
|
40
|
+
'aaindex',
|
|
41
|
+
'protpy',
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
templates_path = ['_templates']
|
|
45
|
+
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# -- Options for HTML output -------------------------------------------------
|
|
50
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
51
|
+
|
|
52
|
+
# html_theme = 'alabaster'
|
|
53
|
+
html_theme = 'sphinx_rtd_theme'
|
pySAR/__init__.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
""" pySAR software metadata. """
|
|
2
|
+
__name__ = 'pySAR'
|
|
3
|
+
__version__ = "2.5.0"
|
|
4
|
+
__description__ = 'A Python package used to analysis Sequence Activity Relationships (SARs) of protein sequences and their mutants using Machine Learning.'
|
|
5
|
+
__author__ = 'AJ McKenna: https://github.com/amckenna41'
|
|
6
|
+
__authorEmail__ = 'amckenna41@qub.ac.uk'
|
|
7
|
+
__maintainer__ = "AJ McKenna"
|
|
8
|
+
__license__ = 'MIT'
|
|
9
|
+
__url__ = 'https://github.com/amckenna41/pySAR'
|
|
10
|
+
__download_url__ = "https://github.com/amckenna41/pySAR/archive/refs/heads/main.zip"
|
|
11
|
+
__status__ = "Production"
|
|
12
|
+
__keywords__ = ["bioinformatics", "protein engineering", "python", "pypi", "machine learning", \
|
|
13
|
+
"directed evolution", "drug discovery", "sequence activity relationships", "SAR", "aaindex", "protpy", "protein descriptors"]
|
|
14
|
+
__test_suite__ = "tests"
|
|
15
|
+
|
|
16
|
+
__all__ = [
|
|
17
|
+
'__version__',
|
|
18
|
+
'__description__',
|
|
19
|
+
'__author__',
|
|
20
|
+
'__authorEmail__',
|
|
21
|
+
'__maintainer__',
|
|
22
|
+
'__license__',
|
|
23
|
+
'__url__',
|
|
24
|
+
'__download_url__',
|
|
25
|
+
'__status__',
|
|
26
|
+
'__keywords__',
|
|
27
|
+
'__test_suite__',
|
|
28
|
+
]
|